Re: Turning off creating of embedded Active MQ broker by ConnectionFactory

2007-11-23 Thread Rob Davies
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,

Re: Turning off creating of embedded Active MQ broker by ConnectionFactory

2007-11-23 Thread Romantique
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 w

Re: Turning off creating of embedded Active MQ broker by ConnectionFactory

2007-11-16 Thread ttmdev
You can assign any specific xml configuration to your embedded broker via the 'xbean:' option. For example, the vm:// example below starts the embedded broker with the configuration specified in the foo.xml file, which btw needs to be in the broker's class path. vm://localbroker?brokerConfig=xbe