geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "roreilly" <rorei...@pacemetrics.com>
Subject References to JMS Resources in Web.xml
Date Wed, 01 Jun 2005 10:56:42 GMT
Hi all,
from examples I have seen, when using a jms queue/topic you must add an entry to the application's
web.xml for the connection factory and for the resource (e.g Queue) :

<resource-ref>
    <res-ref-name>MyConnectionFactory</res-ref-name>
    <res-type>javax.jms.ConnectionFactory</res-type>
    <res-auth>Container</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
  </resource-ref>

  <message-destination-ref>
    <message-destination-ref-name>jms/MyJMSQueue</message-destination-ref-name>
    <message-destination-type>javax.jms.Queue</message-destination-type>
    <message-destination-usage>Consumes</message-destination-usage>
    <message-destination-link>MyQueue</message-destination-link>
  </message-destination-ref>

Is there a way around referencing these resources here, so that a new jms resource can be
made available to the app server, without altering the application's ear/war in this way?
Best Regards,
roreilly.



Mime
View raw message