synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From u...@apache.org
Subject svn commit: r614475 - in /webservices/synapse/branches/1.1.1: repository/conf/ repository/conf/sample/ repository/conf/sample/resources/misc/client/ repository/conf/sample/resources/misc/server/ src/site/resources/
Date Wed, 23 Jan 2008 10:03:01 GMT
Author: upul
Date: Wed Jan 23 02:02:58 2008
New Revision: 614475

URL: http://svn.apache.org/viewvc?rev=614475&view=rev
Log:
updated samples and docs - giving jms destination type is required

Modified:
    webservices/synapse/branches/1.1.1/repository/conf/axis2.xml
    webservices/synapse/branches/1.1.1/repository/conf/sample/resources/misc/client/axis2.xml
    webservices/synapse/branches/1.1.1/repository/conf/sample/resources/misc/server/axis2.xml
    webservices/synapse/branches/1.1.1/repository/conf/sample/synapse_sample_251.xml
    webservices/synapse/branches/1.1.1/src/site/resources/Synapse_Configuration_Language.html
    webservices/synapse/branches/1.1.1/src/site/resources/Synapse_Samples.html

Modified: webservices/synapse/branches/1.1.1/repository/conf/axis2.xml
URL: http://svn.apache.org/viewvc/webservices/synapse/branches/1.1.1/repository/conf/axis2.xml?rev=614475&r1=614474&r2=614475&view=diff
==============================================================================
--- webservices/synapse/branches/1.1.1/repository/conf/axis2.xml (original)
+++ webservices/synapse/branches/1.1.1/repository/conf/axis2.xml Wed Jan 23 02:02:58 2008
@@ -174,18 +174,21 @@
         	<parameter name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter>
         	<parameter name="java.naming.provider.url">tcp://localhost:61616</parameter>
         	<parameter name="transport.jms.ConnectionFactoryJNDIName">TopicConnectionFactory</parameter>
+		<parameter name="transport.jms.ConnectionFactoryType" locked="false">topic</parameter>
         </parameter>
 
         <parameter name="myQueueConnectionFactory">
         	<parameter name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter>
         	<parameter name="java.naming.provider.url">tcp://localhost:61616</parameter>
         	<parameter name="transport.jms.ConnectionFactoryJNDIName">QueueConnectionFactory</parameter>
+		<parameter name="transport.jms.ConnectionFactoryType" locked="false">queue</parameter>
         </parameter>
 
         <parameter name="default">
         	<parameter name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter>
         	<parameter name="java.naming.provider.url">tcp://localhost:61616</parameter>
         	<parameter name="transport.jms.ConnectionFactoryJNDIName">QueueConnectionFactory</parameter>
+		<parameter name="transport.jms.ConnectionFactoryType" locked="false">queue</parameter>
         </parameter>
     </transportReceiver>-->
 

Modified: webservices/synapse/branches/1.1.1/repository/conf/sample/resources/misc/client/axis2.xml
URL: http://svn.apache.org/viewvc/webservices/synapse/branches/1.1.1/repository/conf/sample/resources/misc/client/axis2.xml?rev=614475&r1=614474&r2=614475&view=diff
==============================================================================
--- webservices/synapse/branches/1.1.1/repository/conf/sample/resources/misc/client/axis2.xml
(original)
+++ webservices/synapse/branches/1.1.1/repository/conf/sample/resources/misc/client/axis2.xml
Wed Jan 23 02:02:58 2008
@@ -172,18 +172,21 @@
         	<parameter name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter>
         	<parameter name="java.naming.provider.url">tcp://localhost:61616</parameter>
         	<parameter name="transport.jms.ConnectionFactoryJNDIName">TopicConnectionFactory</parameter>
+		<parameter name="transport.jms.ConnectionFactoryType" locked="false">topic</parameter>
         </parameter>
 
         <parameter name="myQueueConnectionFactory">
         	<parameter name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter>
         	<parameter name="java.naming.provider.url">tcp://localhost:61616</parameter>
         	<parameter name="transport.jms.ConnectionFactoryJNDIName">QueueConnectionFactory</parameter>
+		<parameter name="transport.jms.ConnectionFactoryType" locked="false">queue</parameter>
         </parameter>
 
         <parameter name="default">
         	<parameter name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter>
         	<parameter name="java.naming.provider.url">tcp://localhost:61616</parameter>
         	<parameter name="transport.jms.ConnectionFactoryJNDIName">QueueConnectionFactory</parameter>
+		<parameter name="transport.jms.ConnectionFactoryType" locked="false">queue</parameter>
         </parameter>
     </transportReceiver>-->
 

Modified: webservices/synapse/branches/1.1.1/repository/conf/sample/resources/misc/server/axis2.xml
URL: http://svn.apache.org/viewvc/webservices/synapse/branches/1.1.1/repository/conf/sample/resources/misc/server/axis2.xml?rev=614475&r1=614474&r2=614475&view=diff
==============================================================================
--- webservices/synapse/branches/1.1.1/repository/conf/sample/resources/misc/server/axis2.xml
(original)
+++ webservices/synapse/branches/1.1.1/repository/conf/sample/resources/misc/server/axis2.xml
Wed Jan 23 02:02:58 2008
@@ -174,18 +174,21 @@
         	<parameter name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter>
         	<parameter name="java.naming.provider.url">tcp://localhost:61616</parameter>
         	<parameter name="transport.jms.ConnectionFactoryJNDIName">TopicConnectionFactory</parameter>
+		<parameter name="transport.jms.ConnectionFactoryType" locked="false">topic</parameter>
         </parameter>
 
         <parameter name="myQueueConnectionFactory">
         	<parameter name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter>
         	<parameter name="java.naming.provider.url">tcp://localhost:61616</parameter>
         	<parameter name="transport.jms.ConnectionFactoryJNDIName">QueueConnectionFactory</parameter>
+		<parameter name="transport.jms.ConnectionFactoryType" locked="false">queue</parameter>
         </parameter>
 
         <parameter name="default">
         	<parameter name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter>
         	<parameter name="java.naming.provider.url">tcp://localhost:61616</parameter>
         	<parameter name="transport.jms.ConnectionFactoryJNDIName">QueueConnectionFactory</parameter>
+		<parameter name="transport.jms.ConnectionFactoryType" locked="false">queue</parameter>
         </parameter>
     </transportReceiver>-->
 

Modified: webservices/synapse/branches/1.1.1/repository/conf/sample/synapse_sample_251.xml
URL: http://svn.apache.org/viewvc/webservices/synapse/branches/1.1.1/repository/conf/sample/synapse_sample_251.xml?rev=614475&r1=614474&r2=614475&view=diff
==============================================================================
--- webservices/synapse/branches/1.1.1/repository/conf/sample/synapse_sample_251.xml (original)
+++ webservices/synapse/branches/1.1.1/repository/conf/sample/synapse_sample_251.xml Wed Jan
23 02:02:58 2008
@@ -23,7 +23,7 @@
     <proxy name="StockQuoteProxy" transports="http">
         <target>
             <endpoint>
-                <address uri="jms:/SimpleStockQuoteService?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&amp;java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&amp;java.naming.provider.url=tcp://localhost:61616"/>
+		    <address uri="jms:/SimpleStockQuoteService?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&amp;java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&amp;java.naming.provider.url=tcp://localhost:61616&amp;transport.jms.DestinationType=queue"/>
             </endpoint>
             <inSequence>
                 <property action="set" name="OUT_ONLY" value="true"/>

Modified: webservices/synapse/branches/1.1.1/src/site/resources/Synapse_Configuration_Language.html
URL: http://svn.apache.org/viewvc/webservices/synapse/branches/1.1.1/src/site/resources/Synapse_Configuration_Language.html?rev=614475&r1=614474&r2=614475&view=diff
==============================================================================
--- webservices/synapse/branches/1.1.1/src/site/resources/Synapse_Configuration_Language.html
(original)
+++ webservices/synapse/branches/1.1.1/src/site/resources/Synapse_Configuration_Language.html
Wed Jan 23 02:02:58 2008
@@ -694,15 +694,13 @@
       <td></td>
       <td>Optional</td>
       <td>transport.jms.Destination</td>
-      <td>The JMS destination name (Defaults to a Queue with the service
-      name)</td>
+      <td>The JMS destination name (Defaults to the service name)</td>
     </tr>
     <tr>
       <td></td>
       <td>Optional</td>
       <td>transport.jms.DestinationType</td>
-      <td>The JMS destination type. Accept values 'queue' or 'topic'
-        (default: queue)</td>
+      <td>The JMS destination type. Accept values 'queue' or 'topic'</td>
     </tr>
     <tr>
       <td></td>

Modified: webservices/synapse/branches/1.1.1/src/site/resources/Synapse_Samples.html
URL: http://svn.apache.org/viewvc/webservices/synapse/branches/1.1.1/src/site/resources/Synapse_Samples.html?rev=614475&r1=614474&r2=614475&view=diff
==============================================================================
--- webservices/synapse/branches/1.1.1/src/site/resources/Synapse_Samples.html (original)
+++ webservices/synapse/branches/1.1.1/src/site/resources/Synapse_Samples.html Wed Jan 23
02:02:58 2008
@@ -2527,7 +2527,7 @@
         &lt;target&gt;
             &lt;endpoint&gt;
                 &lt;address uri="jms:/SimpleStockQuoteService?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&amp;amp;
-                   java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&amp;amp;java.naming.provider.url=tcp://localhost:61616"/&gt;
+                   java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&amp;amp;java.naming.provider.url=tcp://localhost:61616&amp;transport.jms.DestinationType=queue"/&gt;
             &lt;/endpoint&gt;
             &lt;inSequence&gt;
                 &lt;property action="set" name="OUT_ONLY" value="true"/&gt;
@@ -2560,7 +2560,7 @@
 for the service is mentioned as below:</p>
 <pre>jms:/SimpleStockQuoteService?transport.jms.ConnectionFactoryJNDIName=
 QueueConnectionFactory&amp;java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&amp;
-java.naming.provider.url=tcp://localhost:61616</pre>
+java.naming.provider.url=tcp://localhost:61616&amp;transport.jms.DestinationType=queue</pre>
 
 <p>You may also notice that the simple stock quote proxy service exposed in
 Synapse is now available only in HTTP as we have specified transport for that
@@ -2826,7 +2826,7 @@
 the one way JMS message flowing through Synapse into the sample Axis2 server
 instance over http, and Axis2 acknowledging it with a http 202 Accepted
 response.</p>
-<pre>ant stockquote -Dmode=placeorder -Dtrpurl="jms:/JMStoHTTPStockQuoteProxy?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&amp;java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&amp;java.naming.provider.url=tcp://localhost:61616"</pre>
+<pre>ant stockquote -Dmode=placeorder -Dtrpurl="jms:/JMStoHTTPStockQuoteProxy?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&amp;java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&amp;java.naming.provider.url=tcp://localhost:61616&amp;transport.jms.DestinationType=queue"</pre>
 <pre>SimpleStockQuoteService :: Accepted order for : 7482 stocks of IBM at $ 169.27205579038733</pre>
 
 <p>The second example shows how Synapse could be made to respond with a http



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Mime
View raw message