activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Davies <rajdav...@gmail.com>
Subject Re: Turning off creating of embedded Active MQ broker by ConnectionFactory
Date Fri, 23 Nov 2007 14:05:42 GMT
There's a create property to do this for the VMTransport  (default is  
true)
e.g.
ConnectionFactory fac =  ActiveMQConnectionFactory("vm//localhost? 
create=false);


cheers,

Rob

http://open.iona.com/ -Enterprise Open Integration
http://rajdavies.blogspot.com/



On Nov 23, 2007, at 10:26 AM, Romantique wrote:

>
> Thanks Joe,
>
> as I understand from your response there is no way to turn this  
> feature off;
> So, if someone specify "vm://localbroker" in connection string then  
> broker
> will be always created and started as new instance of JMS Server if  
> it is
> not started yet, won't it? Actually, I am looking for the way to avoid
> starting of JMS Server in such a way. Starting and stopping of  
> broker in the
> context of our task should be controlled programmatically only.
> -- 
> View this message in context: http://www.nabble.com/Turning-off- 
> creating-of-embedded-Active-MQ-broker-by-ConnectionFactory- 
> tf4822658s2354.html#a13909797
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>


Mime
View raw message