camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem.Jiang" <willem.ji...@gmail.com>
Subject Re: JMS Selector - Inconsitent
Date Fri, 02 Jul 2010 08:47:54 GMT

How did your start the route?
Did you set up the transaction option on your activemq component ?

Willem
----------------------------------
Apache Camel, Apache CXF committer
Open SOA http://www.fusesource.com
Blog http://willemjiang.blogspot.com
Tiwtter http://twitter.com/willemjiang 


VikasG wrote:
> 
> Hi,
> 
> 
> I wrote the following route to remove/consume a particular message from
> the queue when header               i.e. "sender" is equal to the provided
> value.  
> 
> from("activemq:queue:" + from +"?selector=sender='" + sender +
> "'").to("activemq:queue:Q4"); 
> 
> 
> Now, the issues are:
> 
>   1. Inconsistency while removing messages from queue like sometimes
> removes all or sometimes 2-3 out of 4 valid messages in queue.  
> 
>   2. Not forwarding messages to other specified queue i.e. Q4.
> 
> Am i missing something? Please guide.
> 
> -Vikas 
> 
> 
-- 
View this message in context: http://camel.465427.n5.nabble.com/JMS-Selector-Inconsitent-tp512311p512594.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message