Hi everyone,

I have a  from(mqtt).to(mqtt) route but i can't get it work. Here are my
route definitions:

        <camel:route id="orderRequestCreatorRoute"> 
                <camel:from uri="mqtt:cheese?subscribeTopicName=CP/#"/> 
                <camel:process ref="myProcessor"/>
                <camel:to uri="mqtt:cheese?publishTopicName=DP/Device1"/>
        </camel:route> 

This doesn't work, the processor prints a log message but i can't consume on
DP/Device1 topic. But when i replace the consumer by a file endpoint it
works : 

        <camel:route id="orderRequestCreatorRoute"> 
                <camel:from uri="file://inbox"/> 
                <camel:process ref="myProcessor"/>
                <camel:to uri="mqtt:cheese?publishTopicName=DP/Device1"/>
        </camel:route> 

Does someone has an idea about it?
Thanks in advance.

Cheers,
Kod



--
View this message in context: 
http://camel.465427.n5.nabble.com/Problem-with-mqtt-component-tp5729820.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to