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.
 
 
 
BEGIN:VCARD
VERSION:2.1
N:O'Reilly;Ronan
FN:Ronan O'Reilly
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20050601T105642Z
END:VCARD

Reply via email to