You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by cjoy <fl...@126.com> on 2010/06/24 04:19:34 UTC
about BrokerURL
I found the url in a project which using ActiveMQ like this :
failover:(tcp://localhost:61616?daemon=true,tcp://localhost:61617?daemon=true)?randomize=false
what does the "daemon=true" option mean here? I checked the Documment, but
did not find the answer.
At first I thought that if this option is set, the connection thread will
become daemon, but in fact , it doesnt
work.
so what is it set for?
Thank U.
--
View this message in context: http://old.nabble.com/about-BrokerURL-tp28978361p28978361.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: about BrokerURL
Posted by cjoy <fl...@126.com>.
Thanks for your help !
my version is 5.2, I will try again on 5.3/5.4.
Thank you very much.
regards
rajdavies wrote:
>
> Actually what you are staying is correct - daemon=true would set the
> Transport thread to be a daemon thread. This works on 5.4/5.3
>
> cheers,
>
> Rob
>
> Rob Davies
> follow me: http://twitter.com/rajdavies
> I work here: http://fusesource.com
> My Blog: http://rajdavies.blogspot.com/
> I'm writing this: http://www.manning.com/snyder/
>
>
>
> On 24 Jun 2010, at 03:19, cjoy wrote:
>
>>
>> I found the url in a project which using ActiveMQ like this :
>> failover:(tcp://localhost:61616?daemon=true,tcp://localhost:61617?daemon=true)?randomize=false
>>
>> what does the "daemon=true" option mean here? I checked the Documment,
>> but
>> did not find the answer.
>>
>> At first I thought that if this option is set, the connection thread
>> will
>> become daemon, but in fact , it doesnt
>> work.
>>
>> so what is it set for?
>> Thank U.
>> --
>> View this message in context:
>> http://old.nabble.com/about-BrokerURL-tp28978361p28978361.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>
>
>
--
View this message in context: http://old.nabble.com/about-BrokerURL-tp28978361p28979430.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: about BrokerURL
Posted by Rob Davies <ra...@gmail.com>.
Actually what you are staying is correct - daemon=true would set the Transport thread to be a daemon thread. This works on 5.4/5.3
cheers,
Rob
Rob Davies
follow me: http://twitter.com/rajdavies
I work here: http://fusesource.com
My Blog: http://rajdavies.blogspot.com/
I'm writing this: http://www.manning.com/snyder/
On 24 Jun 2010, at 03:19, cjoy wrote:
>
> I found the url in a project which using ActiveMQ like this :
> failover:(tcp://localhost:61616?daemon=true,tcp://localhost:61617?daemon=true)?randomize=false
>
> what does the "daemon=true" option mean here? I checked the Documment, but
> did not find the answer.
>
> At first I thought that if this option is set, the connection thread will
> become daemon, but in fact , it doesnt
> work.
>
> so what is it set for?
> Thank U.
> --
> View this message in context: http://old.nabble.com/about-BrokerURL-tp28978361p28978361.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>