You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by cuizhaohua <cu...@163.com> on 2013/04/26 06:31:29 UTC

I want to create two queues with the same name?

hi, all:

I am not very good at English. Sorry for something I cann't describe clean.

I  install activeMq now ,  and  I want to create two queues with the same
name on one machine.

how can I ?

Thinks for reply.

cuizhaohua.



--
View this message in context: http://activemq.2283324.n4.nabble.com/I-want-to-create-two-queues-with-the-same-name-tp4666233.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: I want to create two queues with the same name?

Posted by sfx810 <sf...@gmail.com>.
Hi,
In my little experience, I think you can only create one named queue i-e
names should be unique.

Thanks,
Kaz.



--
View this message in context: http://activemq.2283324.n4.nabble.com/I-want-to-create-two-queues-with-the-same-name-tp4666233p4666246.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: I want to create two queues with the same name?

Posted by cuizhaohua <cu...@163.com>.
Hi:

Thank you for your reply,  it means that I can build two or more broker  on
one machine.
but how can I build  two or more borker.   copy   conf/activemq.xml  with
more broker  element.  

Best regards

Tom 



--
View this message in context: http://activemq.2283324.n4.nabble.com/I-want-to-create-two-queues-with-the-same-name-tp4666233p4666273.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: I want to create two queues with the same name?

Posted by cuizhaohua <cu...@163.com>.
Hi:

Thank you for your reply,  it means that I can build two or more broker  on
one machine.
but how can I build  two or more borker.   Edit  conf/activemq.xml  with
more <broker></broker> element.  

Best regards

Tom




--
View this message in context: http://activemq.2283324.n4.nabble.com/I-want-to-create-two-queues-with-the-same-name-tp4666233p4666267.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: I want to create two queues with the same name?

Posted by mikmela <mi...@yahoo.com>.
I believe, queue name is unique only in the scope of broker instance, but
nothing prevent you from running 2 broker instances (not sharing the same
message store, of course) on the same machine.




--
View this message in context: http://activemq.2283324.n4.nabble.com/I-want-to-create-two-queues-with-the-same-name-tp4666233p4666260.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.