ActiveMQ comes with scripts that allow you to "create" new brokers
that all point to the same base installation.

./bin/activemq create </path/to/new/broker/brokerName>

if you keep the brokerName the same (and change the path) the brokers
would end up with the same name.
eg.

./bin/activemq create </opt/broker1/fooBroker>
./bin/activemq create </opt/broker2/fooBroker>
./bin/activemq create </opt/broker3/fooBroker>

But... why do you want all of the brokers to have the same name?

On Wed, Jan 22, 2014 at 1:00 AM, Torsten Mielke <tmie...@redhat.com> wrote:
> By default the broker name is hardcoded in your conf/activemq.xml.
>
> <broker xmlns="http://activemq.apache.org/schema/core"; brokerName=“localhost” 
> … >
>
> So the broker name should not change automatically when creating a new 
> installation.
> Does perhaps your auto installer change this name?
>
>
> Regards,
>
> Torsten Mielke
> tmielke.blogspot.com
>
>
>
> On 21 Jan 2014, at 23:55 pm, Chirag Pujara <chiragpuj...@gmail.com> wrote:
>
>> We have auto installer for activemq which creates multiple instance of
>> activemq. But when it create new instance it changes borker name. Is there
>> a way to new instance with same broker name.
>>
>> thanks,
>> chirag
>
>
>
>



-- 
Christian Posta
http://www.christianposta.com/blog
twitter: @christianposta

Reply via email to