After you set the message listener, starting the connection should register your listener to the broker.

jxie wrote:
How do I make activemq to start a message listener (onMessage) automatically
afte it is started? Now I embedded ActiveMQ with Tomcat, I want to seperate
ActiveMQ from Tomcat so I can run one Tomcat instance and one ActiveMQ
instance in a multiple CPU machine.



James

Reply via email to