camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "s.marjanovic" <>
Subject Re: Netty component and acknowledgement message
Date Mon, 08 Jun 2015 09:19:51 GMT
Hello Claus,

Thanks for the suggestion, setting the exchange pattern to InOut helped with
the timeout issue. Great tip allaround, wasn't aware of the possibility to
explicitly influence the MEP type of the exchange, thanks.

Got another problem though, I'm putting the acknowledgement messages I
mentioned into Out part of the exchange (exchange.getOut().setBody("ACK") 
in myRoutePolicy.onExchangeDone()) expecting that is the proper way to make
a route send a response for the incoming messages. Partly, I think it's
working. These do appear in the logs:

Route2 log:
Channel: [id: 0x9c1f061a, / => /] writing body:

Route1 log:
Channel: [id: 0xb32b3cf5, / => localhost/]
received body: Nak

Looking at this, I see that netty endpoint from Route 1 received body "Nak".

But the "Nak" message also ends up on "myQueue" which is wrong for my
usecase. How can I make it stop getting routed to "myQueue" and keep the
rest of the behavior?


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message