Actually, I encourage you to take a look at the new camel component Rob
Davies wrote:

Apache Camel Broker Component for ActiveMQ 5.9
http://rajdavies.blogspot.com/2013/09/apache-camel-broker-component-for.html?spref=tw

You should be able to do this with camel+activemq quite nicely now.


On Fri, Sep 6, 2013 at 7:40 AM, Christian Posta
<christian.po...@gmail.com>wrote:

> Not directly within the composite filter.
> Camel would be perfect for this :)
>
>
> On Fri, Sep 6, 2013 at 7:30 AM, gmicky <michal.gu...@gmail.com> wrote:
>
>> Hi,
>> I have following configuration using amq 5.8 :
>>
>>       <compositeQueue name="MY.QUEUE">
>>             <forwardTo>
>>               <filteredDestination selector="odd = 'yes'" queue="FOO"/>
>>               <filteredDestination selector="i = 5" topic="BAR"/>
>>             </forwardTo>
>>         </compositeQueue>
>>
>> Filtering of the messages works great, but is it possible to redirect
>> messages that do not match filters to either DLQ queue or some custom
>> queue?
>> I do not want to lose messages that do not match.
>>
>> Please advise.
>>
>>
>>
>> --
>> View this message in context:
>> http://activemq.2283324.n4.nabble.com/Dlq-for-unmatching-filteredDestination-messages-tp4671256.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>
>
>
> --
> *Christian Posta*
> http://www.christianposta.com/blog
> twitter: @christianposta
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

Reply via email to