Package | Description |
---|---|
io.nats.client |
This is the Java client API for NATS, including classes and interfaces for interacting with the
NATS server.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AsyncSubscription
A client uses an
AsyncSubscription object to receive messages from a subject. |
interface |
SyncSubscription
A client uses an
SyncSubscription object to receive messages from a subject
synchronously. |
Modifier and Type | Method and Description |
---|---|
Subscription |
Message.getSubscription()
Returns the
Subscription object the message was received on. |
Subscription |
NATSException.getSubscription() |
Modifier and Type | Method and Description |
---|---|
void |
NATSException.setSubscription(Subscription sub) |
Constructor and Description |
---|
NATSException(Throwable ex,
Connection nc,
Subscription sub)
General-purpose NATS exception for asynchronous events.
|
Copyright © 2015–2016 Apcera, Inc.. All rights reserved.