[ 
https://issues.apache.org/activemq/browse/CAMEL-2840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60217#action_60217
 ] 

Claus Ibsen commented on CAMEL-2840:
------------------------------------

All you have to do is

{code}
from("activemq:queue:Q1?selector=myType='TEST'").to("activemq:queue:Q2")
{code}


> Remove a particular message without being consumed Others in queue
> ------------------------------------------------------------------
>
>                 Key: CAMEL-2840
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2840
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-activemq
>         Environment: Windows XP SP3
>            Reporter: Vikas Gupta
>            Assignee: Claus Ibsen
>
> Remove/move a particular message from the queue without being consumed 
> others. 
> like after filtering, Queue should contain all other messages intact and 
> reordered. 
> As of now, route can filter out the required message to desired endpoint but 
> it drains out other messages as well for e.g.
> from("activemq:queue:Q1").filter(header("myType").isEqualTo("TEST")).to("activemq:queue:Q2")
> It successfully moves the messages to the required queue but after being 
> consumed all other messages. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to