Ecotone Lite
Installation
Configuration
$messagingSystem = EcotoneLite::bootstrap(
$listOfClassesToResolve,
$containerOrListOfClassInstances,
ServiceConfiguration::createWithDefaults()
->withEnvironment("prod")
->withLoadCatalog("src")
->withFailFast(false)
->withNamespaces(["App"])
->withDefaultSerializationMediaType("application/json")
->withDefaultErrorChannel("errorChannel")
->withConsumerMemoryLimit(512)
->withCacheDirectoryPath("/var/www/cache")
->withConnectionRetryTemplate(RetryTemplateBuilder::fixedBackOff(100))
->withServiceName("banking")
->withSkippedModulePackageNames(ModulePackageList::allPackages())
->withExtensionObjects([InMemoryRepositoryBuilder::createForAllStateStoredAggregates()]),
->withLicenceKey('ecotoneEnterpriseKey')
$configurationVariables,
$useCachedVersion
);
ServiceConfiguration
withEnvironment()
withLoadCatalog()
withFailFast()
withNamespaces()
withDefaultSerializationMediaType()
withDefaultErrorChannel()
withDefaultMemoryLimit()
withDefaultConnectionExceptionRetry()
serviceName()
withSkippedModulePackageNames()
withExtensionObjects()
withLicenceKey()
Last updated
Was this helpful?