activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From archa <>
Subject How to setup multiple queues
Date Fri, 17 Dec 2010 05:48:31 GMT

I m using 'apache-activemq-5.1.0' and have one producer and one consumer in
my application.  The ActiveMq conf file has the following setting

            <!-- transportConnector name="openwire"
uri="tcp://localhost:61616" discoveryUri="multicast://default"/ -->
            <!-- transportConnector name="openwire"
uri="tcp://localhost:61616" /-->
			<transportConnector uri="tcp://localhost:61616"/>
            <transportConnector name="ssl" uri="ssl://localhost:61617"/>
            <transportConnector name="stomp" uri="stomp://localhost:61613"/>
            <transportConnector name="xmpp" uri="xmpp://localhost:61222"/>

When our consumer starts, the messageBroker it connects to is 

######## ActiveMQ Broker URL#########

Now I want 2 queues to be set and 2 consumers.. 
How do I setup 2 queues? Is there some mechanism by which I can start say 2
queues with different name or something on the same node. I want these to be
active when I start the consumer. Is it possible?

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message