You can also declare them explicitly in your activemq.xml so that you
can, for example, disable destination creation by clients.

See http://activemq.apache.org/configure-startup-destinations.html

Regards,
Reynald


On Fri, Dec 17, 2010 at 1:06 PM, Stan Lewis <sle...@fusesource.com> wrote:
> 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_bhand...@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: sle...@fusesource.com
> Web: http://fusesource.com
> Twitter: gashcrumb
>

Reply via email to