Interface ReactiveMessagingConfiguration
@ConfigRoot(phase=BUILD_AND_RUN_TIME_FIXED)
@ConfigMapping(prefix="quarkus.messaging")
public interface ReactiveMessagingConfiguration
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionExecution mode for the Messaging signatures considered "blocking", defaults to "worker".static StringgetChannelIncomingPropertyName(String channelName, String attribute) static StringgetChannelOutgoingPropertyName(String channelName, String attribute) static StringgetChannelPropertyName(String channelName, String attribute, boolean incoming) booleanWhether Reactive Messaging metrics are published in case a metrics extension is present (default to false).static StringnormalizeChannelName(String name) Normalize the name of a given channel.booleanstrict()Enables or disables the strict validation mode.
-
Field Details
-
CHANNEL_INCOMING_PROPERTY
- See Also:
-
CHANNEL_OUTGOING_PROPERTY
- See Also:
-
-
Method Details
-
metricsEnabled
@WithName("metrics.enabled") @WithDefault("false") boolean metricsEnabled()Whether Reactive Messaging metrics are published in case a metrics extension is present (default to false). -
strict
@WithDefault("false") boolean strict()Enables or disables the strict validation mode. -
blockingSignaturesExecutionMode
@WithName("blocking.signatures.execution.mode") @WithDefault("worker") ReactiveMessagingConfiguration.ExecutionMode blockingSignaturesExecutionMode()Execution mode for the Messaging signatures considered "blocking", defaults to "worker". For the previous behaviour set to "event-loop". -
normalizeChannelName
Normalize the name of a given channel. Concatenate the channel name with double quotes when it contains dots.Otherwise, the SmallRye Reactive Messaging only considers the text up to the first occurrence of a dot as the channel name.
- Parameters:
name- the channel name.- Returns:
- normalized channel name.
-
getChannelIncomingPropertyName
-
getChannelOutgoingPropertyName
-
getChannelPropertyName
-