[EMAIL PROTECTED] wrote:
Hi the list,
Well I complete a the Jndi-JMS-howto on my website, with the declaration
of some resources for the openjms server. And I had a problem.
To declare a Queue on a OpenJms server, I have to do something like this :
<Resource name="jms/myQueue" auth="Container"
type="org.exolab.jms.client.JmsQueue"
description="my Queue"
factory="org.exolab.jms.client.JmsDestinationFactory"
name="queue1" persistent="true" />
And it doesn't work, obviously :) The problem is the name attribute. It is
used by tomcat as the JNDI name in the tomcat Context, and by OpenJms
as the Queue name on the server.
The workaround is IMO to extend the object factory, and use a queueName
setter, or something. Be creative ;)
Rémy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]