You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by harpritt <ha...@hotmail.com> on 2008/10/28 12:22:50 UTC

Queues URIs and wildcards

...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.

Many Thanks 

As allways

Harpritt
-- 
View this message in context: http://www.nabble.com/Queues-URIs-and-wildcards-tp20205435s22882p20205435.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: Queues URIs and wildcards

Posted by harpritt <ha...@hotmail.com>.
That worked like a charm

Thank you 



James.Strachan wrote:
> 
> 2008/10/28 harpritt <ha...@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/
> 
> 

-- 
View this message in context: http://www.nabble.com/Queues-URIs-and-wildcards-tp20205435s22882p20209852.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: Queues URIs and wildcards

Posted by James Strachan <ja...@gmail.com>.
2008/10/28 harpritt <ha...@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/