Re: [Spam: 5.0] Two brokers when embedding in Jboss

2007-03-15 Thread Jan Arend Jansen
; >> > System.out.println("Received message"); >> >> > System.out.println(""); >> >> >} >> >> > } >> >> > >> >> > Whenever this bean

Re: [Spam: 5.0] Two brokers when embedding in Jboss

2007-03-14 Thread Hiram Chirino
>> > be started). The activemq 'list' tool gives the following result: >> > >> > ACTIVEMQ_HOME: D:\Java >> > BrokerName = localhost >> > >> > BrokerName = embedded >> > >> > Although the configuration works, it

Re: [Spam: 5.0] Two brokers when embedding in Jboss

2007-03-14 Thread Jan Arend Jansen
t;> > >> > BrokerName = embedded >> > >> > Although the configuration works, it bothers me that there are two >> brokers >> > active instead of oneis this how it is supposed to be? >> >> Sounds like this issue... >> http://activemq.apache.org/the-vm-transport-starts-a-broker-before-my-configured-broker-starts.html >> >> switch your RAR configuration to use tcp:// will avoid the >> vm://localhost broker being auto-started. > > Or use vm://theNameOfTheBroker from your activemq.xml file > > -- > > James > --- > http://radio.weblogs.com/0112098/ > > -- View this message in context: http://www.nabble.com/Two-brokers-when-embedding-in-Jboss-tf3385705s2354.html#a9483325 Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: [Spam: 5.0] Two brokers when embedding in Jboss

2007-03-14 Thread facboy
> BrokerName = localhost > > BrokerName = embedded > > Although the configuration works, it bothers me that there are two brokers > active instead of oneis this how it is supposed to be? > > Cheers, > Jan Arend > > > -- View this message in context: http://www.nabble.com/Two-brokers-when-embedding-in-Jboss-tf3385705s2354.html#a9477149 Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Two brokers when embedding in Jboss

2007-03-14 Thread James Strachan
On 3/14/07, James Strachan <[EMAIL PROTECTED]> wrote: On 3/11/07, Jan Arend Jansen <[EMAIL PROTECTED]> wrote: > > Hi, > > I've embedded activemq 4.1.0 into jboss 4.0.5 by using the RAR. I've > modified the ra.xml to start an embedded broker. I use EJB3, like so: > > @MessageDriven( >

Re: Two brokers when embedding in Jboss

2007-03-14 Thread James Strachan
On 3/11/07, Jan Arend Jansen <[EMAIL PROTECTED]> wrote: Hi, I've embedded activemq 4.1.0 into jboss 4.0.5 by using the RAR. I've modified the ra.xml to start an embedded broker. I use EJB3, like so: @MessageDriven( name="jms/EventListener", activationConfig =

Two brokers when embedding in Jboss

2007-03-11 Thread Jan Arend Jansen
bedded Although the configuration works, it bothers me that there are two brokers active instead of oneis this how it is supposed to be? Cheers, Jan Arend -- View this message in context: http://www.nabble.com/Two-brokers-when-embedding-in-Jboss-tf3385705s2354.html#a9424234 Sent from the ActiveMQ - User mailing list archive at Nabble.com.