-
1. Re: JBoss Messaging with Tomcat
timfox Oct 13, 2006 11:00 AM (in response to mr_aravinth)I am confused.
The message sender is the jms client, not the jms server.
Can you explain in more detail since I do not really understand what you are trying to do? -
2. Re: JBoss Messaging with Tomcat
mr_aravinth Oct 13, 2006 11:13 AM (in response to mr_aravinth)I wanted to configure the ConnectionFactory and the Destination in the Tomcat server so as the JMS provider would be the Tomcat.
The project need is, there may be multiple message subscribers and one message publisher. And the publisher component would be sitting in the Tomcat server. So I need to configure the ConnectionFactory and the Destination in the Tomcat server for which I need to equip the Tomcat server with a JMS provider. And I was wondering if I could use JBoss Messaging with Tomcat.
So far I couldn't find any support in this regard and the JBossMQ is completely gone, as I could find only 1 usefull page thru internet and that even is of no use for me. The JBossMQ Wiki.
Thanx,
Aravinth. -
3. Re: JBoss Messaging with Tomcat
timfox Oct 13, 2006 11:24 AM (in response to mr_aravinth)Sorry, I still don't understand :(
You want to make Tomcat into a jms provider?? That doesn't make a lot of sense to me. -
4. Re: JBoss Messaging with Tomcat
mr_aravinth Oct 13, 2006 12:56 PM (in response to mr_aravinth)Sorry for not making the point clear.
As like ActiveMQ which can be used to equip Tomcat with JMS, I need to used JBoss Messaging to equip Tomcat with JMS. Actually now we have decided to use JBoss instead of Tomcat because of some other reason and the problem is solved in another way. :-)
Thank you for your time. But still if you know how to configure JBoss Messaging in Tomcat let me know so that I can learn.
- Aravinth. -
5. Re: JBoss Messaging with Tomcat
timfox Oct 15, 2006 1:30 PM (in response to mr_aravinth)I still don't really understand what you mean "equip Tomcat with JMS", do you mean you want to do JMS operations from within a jsp or a servlet?
If so, then you can do this like you do from any other program.
Just lookup the ConnectionFactory and Destination objects from JNDI, and do your standard JMS operations on them.
This is just standard JMS and should be no different in Tomcat than any any other piece of code. -
6. Re: JBoss Messaging with Tomcat
sharono011 Oct 25, 2006 1:22 PM (in response to mr_aravinth)Timfox,
You said:
'Just lookup the ConnectionFactory and Destination objects from JNDI, and do your standard JMS operations on them.
This is just standard JMS and should be no different in Tomcat than any any other piece of code.'
Since I am new to jms I have no idea even how to start to do what you say. Could you point me in the right direction.
Thanks