@ProviderType public interface MessageReceiverBuilder extends ReceiverPropertyConfiguration
| Modifier and Type | Method and Description |
|---|---|
MessageReceiverBuilder |
fromProperties(Properties configuration)
Enables property-based configuration and extended fine-tuning of the message publisher.
|
MessageReceiverBuilder |
withSubscriptions(TopicSubscription... subscriptions)
A
TopicSubscription can be added to the message receiver before the receiver is
started. |
MessageReceiverBuilder fromProperties(Properties configuration) throws IllegalArgumentException
ReceiverPropertyConfigurationNote: Callbacks cannot be configured using properties.
fromProperties in interface PropertyBasedConfigurationfromProperties in interface ReceiverPropertyConfigurationconfiguration - the properties to use to fine-tune the message receiverIllegalArgumentException - if invalid properties where specifiedMessageReceiverBuilder 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 addCopyright 2019-2022 Solace Corporation. All rights reserved.