Re: Embedding asynchronous openjms listeners into tomcat
Tim Anderson <[email protected]> Fri, 23 Jun 2006 11:01:37 +1000
| Newsgroups | gmane.comp.java.openjms.user |
|---|---|
| Message-ID | <[email protected]> |
David Robinson wrote: > 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 Typically you wouldn't do this. In a servlet environment, you'd normally use synchronous messaging with a short timeout for receives, rather than asynchronous messaging. What are you trying to do? -Tim Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642