@ProviderType public interface MessageReceiverBuilder extends ReceiverPropertyConfiguration
| Modifier and Type | Method and Description |
|---|---|
MessageReceiverBuilder |
fromProperties(Properties configuration)
Enables property-based configuration.
|
MessageReceiverBuilder |
withSubscriptions(TopicSubscription... subscriptions)
A
TopicSubscription can be added to the message receiver before the receiver is
started. |
MessageReceiverBuilder withSubscriptions(TopicSubscription... subscriptions)
TopicSubscription can be added to the message receiver before the receiver is
started. It is also possible to add topic subscriptions at later time before or after receiver
is started. When topic subscriptions are successfully added, the receiver is expected to
receive messages that are sent to the matching topic subscriptions.subscriptions - the list of topic subscriptions to addMessageReceiverBuilder fromProperties(Properties configuration) throws IllegalArgumentException
fromProperties in interface PropertyBasedConfigurationfromProperties in interface ReceiverPropertyConfigurationconfiguration - the properties (key of type String and value of type String) for configuration and fine-tuning. Common properties can be found
in SolaceProperties and its sub-interfaces. Refer the SolaceProperties.ReceiverProperties for the list of MessageReceiver properties
configurable through this MessageReceiverBuilderIllegalArgumentException - if invalid properties were specifiedCopyright 2019-2025 Solace Corporation. All rights reserved.