public interface Destination
| Modifier and Type | Interface and Description |
|---|---|
static class |
Destination.ListenOption |
static class |
Destination.MessageOpOption |
static class |
Destination.PublishOption |
static class |
Destination.ReceiveOption |
| Modifier and Type | Method and Description |
|---|---|
Listener |
listen(MessageHandler handler,
Codecs codecs,
Map<Destination.ListenOption,Object> options) |
String |
name() |
void |
publish(Object content,
Codec codec,
Map<Destination.MessageOpOption,Object> options) |
Message |
receive(Codecs codecs,
Map<Destination.MessageOpOption,Object> options) |
void |
stop() |
String name()
Listener listen(MessageHandler handler, Codecs codecs, Map<Destination.ListenOption,Object> options) throws Exception
Exceptionvoid publish(Object content, Codec codec, Map<Destination.MessageOpOption,Object> options) throws Exception
ExceptionMessage receive(Codecs codecs, Map<Destination.MessageOpOption,Object> options) throws Exception
ExceptionCopyright © 2015. All Rights Reserved.