Author: ruwan
Date: Mon Jun 15 15:01:20 2009
New Revision: 784802

URL: http://svn.apache.org/viewvc?rev=784802&view=rev
Log:
sample 253 client command needs to be updated to pick the queue connection 
factory

Modified:
    synapse/trunk/java/src/site/xdoc/Synapse_Samples.xml

Modified: synapse/trunk/java/src/site/xdoc/Synapse_Samples.xml
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/src/site/xdoc/Synapse_Samples.xml?rev=784802&r1=784801&r2=784802&view=diff
==============================================================================
--- synapse/trunk/java/src/site/xdoc/Synapse_Samples.xml (original)
+++ synapse/trunk/java/src/site/xdoc/Synapse_Samples.xml Mon Jun 15 15:01:20 
2009
@@ -2289,7 +2289,7 @@
 transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory\
 
&java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory\
 &java.naming.provider.url=tcp://localhost:61616\
-&amp;transport.jms.ContentTypeProperty=Content-Type&quot;</pre>
+&amp;transport.jms.ContentTypeProperty=Content-Type&amp;transport.jms.DestinationType=queue&quot;</pre>
 <pre xml:space="preserve">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 
202 Accepted response to a request received. The proxy service simply logs the 
message received and acknowledges it. On the Synapse console you could see the 
logged message, and if TCPMon was used at the client, you would see the 202 
Accepted response sent back to the client from Synapse </p>
 <pre xml:space="preserve">ant stockquote -Dmode=placeorder 
-Dtrpurl=http://localhost:8280/services/OneWayProxy</pre>


Reply via email to