Package org.chenile.mqtt.model
Annotation Interface ChenileMqtt
Annotate a class in a Chenile service controller to make it listen to MQ-TT topics.
This will bind the topic to an invocation of this service/operation. A good convention to follow is to use the form /chenile/serviceName/operationName as the name of the topic. This will be the default topic name if a topic is not explicitly specified.
When messages come to the topic, the service/operation is invoked.
Payload is the content of the message.
Headers are from UserProperty objects that are attached to the message.
This will bind the topic to an invocation of this service/operation. A good convention to follow is to use the form /chenile/serviceName/operationName as the name of the topic. This will be the default topic name if a topic is not explicitly specified.
When messages come to the topic, the service/operation is invoked.
Payload is the content of the message.
Headers are from UserProperty objects that are attached to the message.
-
Optional Element Summary