THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Read messages from the MQTT broker installed on the same host as the Camel router:
Code Block | ||
---|---|---|
| ||
from("paho:some/queue"). to("mock:test"); |
Read messages from the remote MQTT broker:
Code Block | title | Car.java
---|
from("paho:some/queue?brokerUrl=tcp://iot.eclipse.org:1883"). to("mock:test"); |
Send message to the MQTT broker:
Code Block | title | Car.java
---|
from("direct:test"). to("paho:some/target/queue"); |
...