camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Issue in publishTopicName in mqtt component
Date Mon, 12 Jan 2015 05:56:24 GMT
Hi

I logged a ticket to not forget about this
https://issues.apache.org/jira/browse/CAMEL-8228

On Sun, Dec 21, 2014 at 7:57 PM, Pontus Ullgren <ullgren@gmail.com> wrote:
> Just tested this usecase and I can indeed recreate it with the Camel 2.14.1.
> Have you opened a Jira for this issue already if not I can create one
> with a test case showing the issue.
>
> As a workaround you can add split the route into two with a seda queue
> between them.
>
> <camel:route>
> <camel:from
> uri="mqtt:foo?host=tcp://myhost:1883&subscribeTopicName=test/hello" />
> <camel:to uri="seda:publishToTest" />
> </came:route>
>
> <camel:route>
> <camel:from uri="seda:publishToTest" />
> <camel:to
> uri="mqtt:bar?host=tcp:/myhost:1883&publishTopicName=test1/test" />
> <camel:log message="Message processed" />
> </camel:route>
>
> On Thu, Dec 11, 2014 at 7:19 AM, Jinesh M.K <mkjinesh@gmail.com> wrote:
>> Hi,
>>
>> I have a spring DSL route definition
>>
>> <camel:route>
>> <camel:from
>> uri="mqtt:foo?host=tcp://myhost:1883&subscribeTopicName=test/hello" />
>> <camel:to
>> uri="mqtt:bar?host=tcp:/myhost:1883&publishTopicName=test1/test" />
>> <camel:log message="Message processed" />
>> </camel:route>
>>
>> here message is consumed from test/hello topic and publishing is happen in
>> the same consumed topic (publishTopicName is ignored). How to solve it?
>>
>> Thanks
>> --
>>
>> Jinesh M.K



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Mime
View raw message