camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raul Kripalani <r...@evosent.com>
Subject Re: Send Message to a queue before start & end of a route starts prcoessing
Date Sun, 30 Aug 2015 22:42:15 GMT
BeforeConsumer means that the logic will be executed before the consumer
finishes, ie. when the route ends and before returning the response to the
caller if InOut and/or before executing the Exchange.done().

To capture the start of the route, you may want to look at interceptFrom.

Regards,
Raúl.
On 28 Aug 2015 14:50, "fxthomas" <felix.thomas@gmail.com> wrote:

> sorry it works , but not the way i want it to be.
>
> the Start message comes in the end of the queue just before the end message
> entry, ideally i thought it would be the first message in the queue , but
> its the second last .
>
> any workarounds ?
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Send-Message-to-a-queue-before-start-end-of-a-route-starts-prcoessing-tp5771056p5771061.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message