Package | Description |
---|---|
com.solace.messaging |
A root API package that contains interfaces and classes for developing Java applications using
Solace PubSub Messaging Java Client
|
com.solace.messaging.receiver |
A package that contains interfaces and classes to handle receiving messages.
|
com.solace.messaging.resources |
A package of interfaces to work with PubSub+ topics, queues, share names, and information about
received messages.
|
Modifier and Type | Method and Description |
---|---|
RequestReplyMessageReceiver |
RequestReplyMessageReceiverBuilder.build(TopicSubscription requestTopicSubscription)
Builds a request-reply message receiver with the specified topic subscription.
|
RequestReplyMessageReceiver |
RequestReplyMessageReceiverBuilder.build(TopicSubscription requestTopicSubscription,
ShareName shareName)
Builds a request-reply message receiver with a shared topic subscription and the shared name.
|
PersistentMessageReceiverBuilder |
PersistentMessageReceiverBuilder.withSubscriptions(TopicSubscription... subscriptions) |
MessageReceiverBuilder |
MessageReceiverBuilder.withSubscriptions(TopicSubscription... subscriptions)
A
TopicSubscription can be added to the message receiver before the receiver is
started. |
DirectMessageReceiverBuilder |
DirectMessageReceiverBuilder.withSubscriptions(TopicSubscription... subscriptions) |
Modifier and Type | Method and Description |
---|---|
void |
ReceiverSubscriptions.addSubscription(TopicSubscription anotherSubscription)
Subscribes to another message source on a broker to receive messages from.
|
void |
AsyncReceiverSubscriptions.addSubscriptionAsync(TopicSubscription topicSubscription,
AsyncReceiverSubscriptions.SubscriptionChangeListener listener)
Requests to subscribe asynchronously to a given topic subscription.
|
void |
AsyncReceiverSubscriptions.SubscriptionChangeListener.onSubscriptionChange(TopicSubscription topicSubscription,
AsyncReceiverSubscriptions.SubscriptionChangeListener.SubscriptionOperation change,
PubSubPlusClientException exception)
A callback method that executes when a subscription change occurs and the broker response is
processed.
|
void |
ReceiverSubscriptions.removeSubscription(TopicSubscription subscription)
Un-subscribes from a previously subscribed message source on a broker.
|
void |
AsyncReceiverSubscriptions.removeSubscriptionAsync(TopicSubscription topicSubscription,
AsyncReceiverSubscriptions.SubscriptionChangeListener listener)
Unsubscribe from a previously subscribed message source on a broker, so that no more messages
will be received from it.
|
Modifier and Type | Method and Description |
---|---|
static TopicSubscription |
TopicSubscription.of(String expression)
A factory method to create instances of a
TopicSubscription for the specified topic
expression. |
Copyright 2019-2024 Solace Corporation. All rights reserved.