On 1/22/07, miniman <[EMAIL PROTECTED]> 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.
Using vm://localhost will connect to the broker inside the same JVM (thats visible in the same class loader) whereas tcp:// will connect over TCP to a remote JVM. So when you say you can't see a queue/topic or can with an external consumer - are you referring to a separate broker running? Providing its the same broker you're talking about - vm or tcp will work the same. -- James ------- http://radio.weblogs.com/0112098/