activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <gary.tu...@gmail.com>
Subject Re: How to send a message to multiple destinations?
Date Wed, 14 Sep 2011 16:40:38 GMT
for consumers sure, not sure about producers, think they just work
with composite destinations, but you got to ask the computer

2011/9/14 SuoNayi <suonayi2006@163.com>:
> Hi all,it's said that we can send a message to multiple destinations using composite
destinations as following,
>
> Queue queue = session.createQueue("store.orders, store.products");
>
> this will send a message to queues store.orders and store.products.
>
> Could I send the message to multiple queues as following,
>
> Queue queue = session.createQueue("store.>");//wildcards
>
> Does this work ?



-- 
http://fusesource.com
http://blog.garytully.com

Mime
View raw message