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 ?





Reply via email to