camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jack <>
Subject conditional route without dequeuing all messages
Date Mon, 28 Apr 2014 17:42:08 GMT

I¹m looking for a way to divert messages to an alternative queue based on an
I was hoping to use the choice mechanism for this. Something like:

<simple>'10' &gt; ${in.body}</simple>
<to uri=³activemq:move.somewhere.else" />

The problem with this approach is that all the messages that aren¹t matched
by the condition will get dropped.

Does anyone know a way I can filter off messages and leave the remaining
messages on the queue to be consumed by something else?
I¹ve scoured the docs but can¹t find anything that I can see will work.

Thanks for any help in advance!

- Jack

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