Class InMemoryConnectorIncomingConfiguration
java.lang.Object
io.smallrye.reactive.messaging.memory.InMemoryConnectorCommonConfiguration
io.smallrye.reactive.messaging.memory.InMemoryConnectorIncomingConfiguration
Extract the incoming configuration for the
smallrye-in-memory
connector.-
Field Summary
Fields inherited from class io.smallrye.reactive.messaging.memory.InMemoryConnectorCommonConfiguration
config
-
Constructor Summary
ConstructorDescriptionInMemoryConnectorIncomingConfiguration
(org.eclipse.microprofile.config.Config config) Creates a new InMemoryConnectorIncomingConfiguration. -
Method Summary
Modifier and TypeMethodDescriptionGets the broadcast value from the configuration.Gets the run-on-vertx-context value from the configuration.void
validate()
Methods inherited from class io.smallrye.reactive.messaging.memory.InMemoryConnectorCommonConfiguration
config, getChannel, getFromAlias, getFromAliasWithDefaultValue
-
Constructor Details
-
InMemoryConnectorIncomingConfiguration
public InMemoryConnectorIncomingConfiguration(org.eclipse.microprofile.config.Config config) Creates a new InMemoryConnectorIncomingConfiguration.
-
-
Method Details
-
getRunOnVertxContext
Gets the run-on-vertx-context value from the configuration. Attribute Name: run-on-vertx-context Description: Whether messages are dispatched on the Vert.x context or not. Default Value: false- Returns:
- the run-on-vertx-context
-
getBroadcast
Gets the broadcast value from the configuration. Attribute Name: broadcast Description: Whether the messages are dispatched to multiple consumer Default Value: false- Returns:
- the broadcast
-
validate
public void validate()- Overrides:
validate
in classInMemoryConnectorCommonConfiguration
-