You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by ve...@apache.org on 2009/04/13 23:45:50 UTC

svn commit: r764628 - /webservices/commons/trunk/modules/transport/src/site/apt/jms.apt

Author: veithen
Date: Mon Apr 13 21:45:50 2009
New Revision: 764628

URL: http://svn.apache.org/viewvc?rev=764628&view=rev
Log:
Corrected the JMS documentation: a JMS endpoint URI can explicitly refer to a connection factory definition in axis2.xml.

Modified:
    webservices/commons/trunk/modules/transport/src/site/apt/jms.apt

Modified: webservices/commons/trunk/modules/transport/src/site/apt/jms.apt
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/transport/src/site/apt/jms.apt?rev=764628&r1=764627&r2=764628&view=diff
==============================================================================
--- webservices/commons/trunk/modules/transport/src/site/apt/jms.apt (original)
+++ webservices/commons/trunk/modules/transport/src/site/apt/jms.apt Mon Apr 13 21:45:50 2009
@@ -207,6 +207,10 @@
   <<<jms-dest>>> is the JNDI name of the destination to send the message to. The parameters are
   defined as follows:
 
+    [<<<transport.jms.ConnectionFactory>>> (Optional)]
+    The JMS connection factory definition (from <<<axis2.xml>>>) to be used to send messages to
+    the endpoint.
+    
     [<<<transport.jms.ConnectionFactoryJNDIName>>>]
     TODO
   
@@ -234,8 +238,12 @@
     [java.naming.security.credentials]
     TODO
   
-  The JMS sender will check if the transport configuration contains a connection factory compatible
-  with the settings specified in the endpoint URL. If a matching configuration is found, the
+  If no connection factory definition is explicitly specified using the
+  <<<transport.jms.ConnectionFactory>>> parameter, the JMS sender will check if the transport
+  configuration contains a connection factory compatible with the other settings specified in the
+  endpoint URL (<<<transport.jms.ConnectionFactoryJNDIName>>>, <<<java.naming.factory.initial>>>,
+  <<<java.naming.provider.url>>>, <<<java.naming.security.principal>>> and
+  <<<java.naming.security.credentials>>>). If a matching configuration is found, the
   sender will reuse the cached JMS objects related to that configuration. Otherwise it will
   execute the JNDI lookup and open a new connection. In that case the connection will be closed
   immediately after sending the message.