activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stan Lewis <sle...@fusesource.com>
Subject Re: How to setup multiple queues
Date Fri, 17 Dec 2010 12:06:14 GMT
Queues and topics are created on-demand, so when you launch your
consumers and specify the two different queue names the broker will go
ahead and create queues for them.

On Fri, Dec 17, 2010 at 12:48 AM, archa <archa_bhandare@persistent.co.in> wrote:
>
> 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.
>



-- 
Stan Lewis
FuseSource
Email: slewis@fusesource.com
Web: http://fusesource.com
Twitter: gashcrumb

Mime
View raw message