activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <christian.po...@gmail.com>
Subject Re: Create Activemq Instance
Date Wed, 22 Jan 2014 17:03:12 GMT
Makes sense. So follow what I said in my previous post if not using
your installer, but ultimately what torsten said is what you're
looking for... that is... you'll have to figure out what your
installer is doing.

On Wed, Jan 22, 2014 at 8:46 AM, Chirag Pujara <chiragpujara@gmail.com> wrote:
> I am trying to setup activemq with leveldb and thats what documentation is
> saying. Keep all broker name same in "Replicated LevelDB Store Properties"
> section in this link
> http://activemq.apache.org/replicated-leveldb-store.html
>
> Can I have diff. name for this type of setup.?
>
> thanks,
> chirag
>
>
> On Wed, Jan 22, 2014 at 9:11 AM, Christian Posta
> <christian.posta@gmail.com>wrote:
>
>> 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 <tmielke@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 <chiragpujara@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
>>



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

Mime
View raw message