| Package | Description |
|---|---|
| nats.client |
| Modifier and Type | Method and Description |
|---|---|
Registration |
Subscription.addMessageHandler(MessageHandler messageHandler)
Registers a
MessageHandler instance with this subscription that will be invoked every time the
subscription receives a message. |
Registration |
DefaultSubscription.addMessageHandler(MessageHandler messageHandler) |
Registration |
Nats.publish(String subject,
long period,
TimeUnit unit)
Publishes a message with an empty body to the specified subject on a recurring basis according to the specified
period.
|
Registration |
MockNats.publish(String subject,
long period,
TimeUnit unit) |
Registration |
Nats.publish(String subject,
String body,
long period,
TimeUnit unit)
Publishes a message with the provided body to the specified subject on a recurring basis according to the
specified period.
|
Registration |
MockNats.publish(String subject,
String body,
long period,
TimeUnit unit) |
Registration |
Nats.publish(String subject,
String body,
String replyTo,
long period,
TimeUnit unit)
Publishes a message with the provided body to the specified subject on a recurring basis according to the
specified period.
|
Registration |
MockNats.publish(String subject,
String body,
String replyTo,
long period,
TimeUnit unit) |
Copyright © 2015. All Rights Reserved.