I see a couple of possibilities:

1.  Missing slashes after the “:” in the mqtt route  I have a route that looks 
like this:

      fromF("mqtt://%s?%s", name, optionsStr)

2.  No filename specified for the file producer.  I haven’t used the file 
component, but unless you’re specifying something via a header, I think you 
need to specify a filename.



On September 17, 2015 at 6:05:56 AM, S-camel 
(s.mouh...@gmail.com<mailto:s.mouh...@gmail.com>) wrote:

At the moment I am deploying a route to consume MQTT messages from an
ActiveMQ broker.

from("mqtt:test?clientId=3&subscribeTopicNames=foo&host=tcp://localhost:1883")
.to("file:src/data").log("transfered to file");

Nothing is Dequeued and I also dont receive a file in src/data.

Does anyone out there know what the problem could be. I am really curious
whats going wrong here.

Thank you in advance.




--
View this message in context: 
http://camel.465427.n5.nabble.com/MQTT-Route-not-working-tp5771587.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to