activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From archa <archa_bhand...@persistent.co.in>
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

<transportConnectors>
            <!-- 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"/>
        </transportConnectors>

When our consumer starts, the messageBroker it connects to is 

######## ActiveMQ Broker URL#########
MSGBROKER=tcp://localhost:61616?wireFormat.maxInactivityDuration=0

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: http://activemq.2283324.n4.nabble.com/How-to-setup-multiple-queues-tp3092113p3092113.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message