Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JMS Server embedded in Tomcat 5.5  RSS feed

 
Catalin Mihalache
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I need some help about embedding an open source JMS server in Tomcat.

My application is deployed on Apache Tomcat 5.5
I need to use JMS, but the JMS server must run in the same JVM as Tomcat.
I read about OpenJMS (it seams very easy to setup) but there is no info about how to start OpenJMS inside of Tomcat.

Please, help.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since OpenJms is a Java applictaion, there's got to be a "main" method somewhere inside of it through which it is started. Have a look at the source to find it, and then duplicate what it does in a thread in your web app.
 
Jianfeng Qian
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Catalin Mihalache:
Hello,

I need some help about embedding an open source JMS server in Tomcat.

My application is deployed on Apache Tomcat 5.5
I need to use JMS, but the JMS server must run in the same JVM as Tomcat.
I read about OpenJMS (it seams very easy to setup) but there is no info about how to start OpenJMS inside of Tomcat.

Please, help.


You cann't embed JMS server in Tomcat.
You need to write some code to load JMS server and Tomcat both
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!