You could try explicitly creating the broker yourself first, then you can explicitly close it down again when you're finished with it. See the java code example (then you call stop() when you're done with the broker)
http://incubator.apache.org/activemq/how-do-i-embed-a-broker-inside-a-connection.html On 7/6/06, Dipendra Pokhrel <[EMAIL PROTECTED]> wrote:
Since I am using active MQ as an embeded broker using VM transoport mode, I don't think it uses any network connection. In my case, the broker auto boots up when I try to create a connection using ActiveMQConnectionFactory - which is the default behaviour of ActiveMQ in VM transoport mode. When connection reaches '0', broker shutdowns itself, but it can not terminate 'ActiveMQ Schedular' thread. Is there any workaround with this issue? Thanks for the help
-- James ------- http://radio.weblogs.com/0112098/
