You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by gn...@apache.org on 2006/09/20 20:00:28 UTC
svn commit: r448280 - in
/incubator/servicemix/branches/servicemix-3.0/apache-servicemix/src/main/release/examples/loan-broker:
build.xml src/client/JMSClient.java
Author: gnodet
Date: Wed Sep 20 11:00:28 2006
New Revision: 448280
URL: http://svn.apache.org/viewvc?view=rev&rev=448280
Log:
SM-586: upgrade loan-broker demo to lingo 1.1 and use different return queues for each run
Modified:
incubator/servicemix/branches/servicemix-3.0/apache-servicemix/src/main/release/examples/loan-broker/build.xml
incubator/servicemix/branches/servicemix-3.0/apache-servicemix/src/main/release/examples/loan-broker/src/client/JMSClient.java
Modified: incubator/servicemix/branches/servicemix-3.0/apache-servicemix/src/main/release/examples/loan-broker/build.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/branches/servicemix-3.0/apache-servicemix/src/main/release/examples/loan-broker/build.xml?view=diff&rev=448280&r1=448279&r2=448280
==============================================================================
--- incubator/servicemix/branches/servicemix-3.0/apache-servicemix/src/main/release/examples/loan-broker/build.xml (original)
+++ incubator/servicemix/branches/servicemix-3.0/apache-servicemix/src/main/release/examples/loan-broker/build.xml Wed Sep 20 11:00:28 2006
@@ -39,8 +39,8 @@
<mkdir dir="${comp.build.dir}"/>
<mkdir dir="${client.build.dir}"/>
- <get src="http://repo.mergere.com/maven2/lingo/lingo/1.0/lingo-1.0.jar"
- dest="../../lib/optional/lingo-1.0.jar"
+ <get src="http://repo.mergere.com/maven2/lingo/lingo/1.1/lingo-1.1.jar"
+ dest="../../lib/optional/lingo-1.1.jar"
usetimestamp="true" />
<get src="http://repo.mergere.com/maven2/commons-pool/commons-pool/1.2/commons-pool-1.2.jar"
dest="../../lib/optional/commons-pool-1.2.jar"
Modified: incubator/servicemix/branches/servicemix-3.0/apache-servicemix/src/main/release/examples/loan-broker/src/client/JMSClient.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/branches/servicemix-3.0/apache-servicemix/src/main/release/examples/loan-broker/src/client/JMSClient.java?view=diff&rev=448280&r1=448279&r2=448280
==============================================================================
--- incubator/servicemix/branches/servicemix-3.0/apache-servicemix/src/main/release/examples/loan-broker/src/client/JMSClient.java (original)
+++ incubator/servicemix/branches/servicemix-3.0/apache-servicemix/src/main/release/examples/loan-broker/src/client/JMSClient.java Wed Sep 20 11:00:28 2006
@@ -25,6 +25,7 @@
import org.jencks.factory.TransactionManagerFactoryBean;
import org.jencks.factory.WorkManagerFactoryBean;
import org.logicblaze.lingo.jms.Requestor;
+import org.logicblaze.lingo.jms.JmsProducerConfig;
import org.logicblaze.lingo.jms.impl.MultiplexingRequestor;
import javax.jms.ConnectionFactory;
@@ -51,8 +52,8 @@
System.out.println("Connecting to JMS server.");
factory = new ActiveMQConnectionFactory("tcp://localhost:61616");
Destination inQueue = new ActiveMQQueue("demo.org.servicemix.source");
- Destination outQueue = new ActiveMQQueue("demo.org.servicemix.output");
- requestor = MultiplexingRequestor.newInstance(factory, inQueue, outQueue);
+ Destination outQueue = new ActiveMQQueue("demo.org.servicemix.output" + (int)(1000*Math.random()));
+ requestor = MultiplexingRequestor.newInstance(factory, new JmsProducerConfig(), inQueue, outQueue);
if (args.length == 0) {
new JMSClient().run();