public interface MessagingService extends MessagingConstants
CAPABILITY_NAMESPACE, EVENTADMIN_ADAPTER, EVENTADMIN_ADAPTER_VERSION, PROP_BROKER, PROP_RPC_EXCHANGE, PROP_RPC_QUEUE, PROP_RPC_ROUTING_KEY| Modifier and Type | Method and Description |
|---|---|
void |
publish(java.lang.String topic,
java.nio.ByteBuffer content) |
void |
publish(java.lang.String topic,
java.nio.ByteBuffer content,
MessagingContext context) |
<any> |
subscribe(java.lang.String topic)
Subscribe the
PushStream to the given topic |
<any> |
subscribe(java.lang.String topic,
MessagingContext context)
Subscribe the
PushStream to the given topic with a certain quality of service |
<any> subscribe(java.lang.String topic)
throws java.lang.Exception
PushStream to the given topictopic - the MQTT topic to subscribePushStream instance for the given topicjava.lang.Exception - thrown on errors<any> subscribe(java.lang.String topic,
MessagingContext context)
throws java.lang.Exception
PushStream to the given topic with a certain quality of servicetopic - the message topic to subscribecontext - the optional properties in the contextPushStream instance for the given topicjava.lang.Exception - thrown on errorsvoid publish(java.lang.String topic,
java.nio.ByteBuffer content)
throws java.lang.Exception
java.lang.Exceptionvoid publish(java.lang.String topic,
java.nio.ByteBuffer content,
MessagingContext context)
throws java.lang.Exception
java.lang.ExceptionData In Motion Consulting (c) 2017