activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SuoNayi <suonayi2...@163.com>
Subject Reply:Re: How to send a message to multiple destinations?
Date Thu, 15 Sep 2011 13:54:36 GMT
Thanks Gary, you always give us very nice answer.
After test, for producers, it does not work and create a queue named store.> on the broker.


At 2011-09-15 00:40:38,"Gary Tully" <gary.tully@gmail.com> wrote:
>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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message