Embedding asynchronous openjms listeners into tomcat

"David Robinson" <[email protected]> Tue, 20 Jun 2006 08:28:52 +0100
Newsgroups gmane.comp.java.openjms.user
Message-ID <[email protected]>
Hi,

I'm looking at embedding open jms into the tomcat JVM and then
implementing an asycnchronous message listener.

I'm fine with the concept of using the contextListener to start a jms
server and with writing my actual message listener with the onMessage
method etc. However I'm not sure how to go about linking things
together so that the message listener will always be listening.

Can anyone give any suggestions/pointers on what I'm missing here.

Thanks
Dave Robinson