How do i tell if my producer is sending to the other broker and not the
embedded one, when i start my producer it is just publishing messages to
localhost 61616



Adrian Co wrote:
> 
> VM option starts an embedded broker. Most probably your consumer is 
> consuming from the embedded broker and your producer is publishing to 
> another broker. That's why you are not seeing the messages.
> 
> miniman wrote:
>> All i found an issue with the VM option and JBOSS integreation.
>>
>> When you enable the vm option in the ra.xml file in your jboss
>> installation
>> to say 
>>
>>         
>> <!--<config-property-value>tcp://localhost:61616</config-property-value>-->
>>          <config-property-value>vm://localhost</config-property-value>
>>
>> And then startup your activemq within jboss. When using a simple MDB to
>> listen to a queue or topic 
>> you are not able to see messages, but if you use an external consumer you
>> can. If you leave activemq inside jboss
>> and then change the option above to
>>
>>          <config-property-value>tcp://localhost:61616</config-property-value>
>>         <!-- <config-property-value>vm://localhost</config-property-value>-->
>>
>> It all works fine.  
>>
>> Bug maybe ?
>>
>>
>>
>>
>>   
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/BUG-in-JBOSS-ActiveMQ-Bridge-tf3058045.html#a8517039
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to