Have you tried these:

http://activemq.apache.org/composite-destinations.html
http://activemq.apache.org/wildcards.html

On Wed, Nov 20, 2013 at 2:56 AM, Steven Turner
<[email protected]> wrote:
> Hi,
> I have a requirement where I want to *subscribe to multiple activemq topics.
> What is the best way to do this?*
>
> I have tried using multiple DMLC but I get following error:
> org.springframework.jms.listener.DefaultMessageListenerContainer#refreshConnectionUntilSuccessful
> 875 WARN] - Could not refresh JMS Connection for destination
> 'topic://topic.foo' - retrying in 5000 ms. Cause: Setting clientID on a used
> Connection is not allowed
>
> Do i have to use different connection factories for different DMLC's?
> Is there any other way which avoids creating multiple DMLC's?
>
> Thanks,
> Steven
>
>
>
> --
> View this message in context: 
> http://activemq.2283324.n4.nabble.com/Subscribe-to-multiple-topics-tp4674684.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.



-- 
Christian Posta
http://www.christianposta.com/blog
twitter: @christianposta

Reply via email to