camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Queues URIs and wildcards
Date Tue, 28 Oct 2008 11:28:44 GMT
2008/10/28 harpritt <harpritt@hotmail.com>:
>
> ...sounds like a bad western.
>
> Hi
>
> is there a way to specify some kind of wildcard inside a JMS uri
>
> like  <from uri="activemq:OUT*"/>
>
> I would like all queues that start with OUT to be handled in a certain way,
> but i dont want to sppecify the full name from the get go.

ActiveMQ does support wildcards when consuming, so you can do

<from uri="activemq:OUT.*"/>

Though wildcards tend to be used within the dots of a name. e.g. OUT.*
would match OUT.Books and OUT.Orders but not OUT.Orders.Beer

For more detail see
http://activemq.apache.org/wildcards.html


-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://fusesource.com/

Mime
View raw message