camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sheikhisham <>
Subject Dynamic routing after Resequencing messages
Date Mon, 25 Jul 2016 07:24:19 GMT
I want to reorder a sequence of messages and dynamically route the messages
according to their order after resequencing. Say, first message after
resequencing should be routed to A, and others to route B.

I was able to reorder messages using resequencer, but how do I dynamically
route the first message alone to a particular route after resequencing? Any
help would be much appreciated.

        .resequence(header("priority")).batch().timeout(resequencerTimeout *

In above route, all messages out of resequencer flows to RouteA, but I want
first message alone to flow to RouteA and the rest to RouteB.

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

View raw message