tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject JNDI for JMS configuration question
Date Wed, 02 Oct 2002 18:54:44 GMT
I'm using tomcat 4.1.12-LE / jdk 1.4.1, and I'd like to send a JMS
message to a remote server.  

I have the parameters for the server, e.g. providerURL,
connectionFactory, queue name.  I'd like to configure these in my
web.xml, not server.xml, and use tomcat's InitialContext implementation
to lookup the remote JMS queue.  

Is this possible?

If so, configuration and code help would be appreciated.  Let's say my
resources are:
providerURL = http://myprovider:myport
connectionFactory = com.mypackage.MyConnectionFactory
JMS queue = com.mypackage.MyQueue

Thanks in advance,

Yoav Shapira
Millennium ChemInformatics

View raw message