| Modifier and Type | Method and Description |
|---|---|
SubscriptionOptions |
SubscriptionOptions.Builder.build()
Creates a
SubscriptionOptions instance based on the current configuration. |
SubscriptionOptions |
Subscription.getOptions()
Returns the
SubscriptionOptions object for this Subscription object. |
| Modifier and Type | Method and Description |
|---|---|
Subscription |
Connection.subscribe(String subject,
MessageHandler cb,
SubscriptionOptions opts)
Creates a
Subscription with interest in a given subject using the given
SubscriptionOptions, assigns the callback, and immediately starts receiving messages. |
Subscription |
Connection.subscribe(String subject,
String queue,
MessageHandler cb,
SubscriptionOptions opts)
Creates a
Subscription in the queue group specified by queue with interest in
a given subject, assigns the message callback, and immediately starts receiving messages. |
Copyright © 2016 Apcera, Inc.. All rights reserved.