Re: Active MQ broker is created even without config

2013-02-18 Thread newUser06
Thank you tabish121. I tried "vm://localhost?create=false" in my second application and that worked. I saw this information in VM transport documentation(http://activemq.apache.org/vm-transport-reference.html) earlier but the reason why did not try it earlier was because it said "Only supported i

Re: Active MQ broker is created even without config

2013-02-18 Thread newUser06
I tried the vm://localhost?create=false option but got the following exception Exception in thread "pool-3-thread-10" org.springframework.jms.UncategorizedJmsException: Uncategorized exception occured during JMS processing; nested exception is javax.jms.JMSException: Could not create Transport. R

Re: Active MQ broker is created even without config

2013-02-14 Thread newUser06
I started the First application (with broker @15:39) and waited a few minutes and then later started second application( @15:44) First application broker logs --- 2013-02-14 15:39:37,935 [main] IN

Re: Active MQ broker is created even without config

2013-02-14 Thread newUser06
Activemq.conf file used by the first app which was able to start the broker successfully http://www.springframework.org/schema/beans"; xmlns:amq="http://activemq.apache.org/schema/core"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://www.sprin

Re: Active MQ broker is created even without config

2013-02-14 Thread newUser06
Thanks for the information. I have ordered the way the applications start First application - starts the broker , creates connection to the same broker and starts listening to some queues Second application - creates connection to the same broker and starts listening to different queues Broke

Active MQ broker is created even without config

2013-02-13 Thread newUser06
Hi I have commented the broker configurations from application-context.xml but broker is created automatically. My app-context file has bean to create connection to the broker. I want the broker to be created by another application but that one fails because my first application already creates t

Multiple Brokers in same VM

2012-10-25 Thread newUser06
Hi, I am new to activeMQ and i am trying to setup 2 instances of activeMQ in the same VM using network of brokers using discovery. I am using spring to configure the brokers and they are 2 webapps on the same tomcat The following logs mentions that connection has been established. But the message