activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Davies <rajdav...@gmail.com>
Subject Re: 2 small questions on wildcards usage.
Date Fri, 31 Jul 2009 07:53:18 GMT

On 31 Jul 2009, at 08:14, Eric-AWL wrote:

>
> Hi
>
> Are wildcards limited to a consumer usage, or can they be used by  
> producers
> ?
>
> I explain
>
> Site A : queue.A
> Site B : queue.B
>
> Is it possible to create producers for queue.A (only on site A),  
> queue.B
> (only on site B) and queue.* (the 2 sites) ?
>
> Is it possible to have   A.queue, B.queue, and consume or produce on
> "*.queue" ?
>
> Thank you for your answers
> Eric-AWL
> -- 
> View this message in context: http://www.nabble.com/2-small-questions-on-wildcards-usage.-tp24752155p24752155.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

ActiveMQ only supports wildcard subscriptions for Consumers. You can  
achieve the same for your case by publishing a message with a  
composite destination - see http://activemq.apache.org/composite-destinations.html
e.g. you can send a message with the destination - "queue.A,queueB"

cheers,

Rob

Rob Davies
I work here: http://fusesource.com
My Blog: http://rajdavies.blogspot.com/
I'm writing this: http://www.manning.com/snyder/





Mime
View raw message