[jboss-svn-commits] JBL Code SVN: r13977 - labs/jbossesb/trunk/product/samples/quickstarts/dynamic_router.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Thu Aug 2 22:40:07 EDT 2007
Author: ldimaggi at redhat.com
Date: 2007-08-02 22:40:06 -0400 (Thu, 02 Aug 2007)
New Revision: 13977
Modified:
labs/jbossesb/trunk/product/samples/quickstarts/dynamic_router/deployment.xml
labs/jbossesb/trunk/product/samples/quickstarts/dynamic_router/jboss-esb.xml
Log:
Modified to support running as quickstart test.
Modified: labs/jbossesb/trunk/product/samples/quickstarts/dynamic_router/deployment.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/dynamic_router/deployment.xml 2007-08-03 02:37:39 UTC (rev 13976)
+++ labs/jbossesb/trunk/product/samples/quickstarts/dynamic_router/deployment.xml 2007-08-03 02:40:06 UTC (rev 13977)
@@ -1,4 +1,5 @@
<jbossesb-deployment>
<depends>jboss.esb.quickstart.destination:service=Queue,name=qsdynamicrouter_Input_Request</depends>
<depends>jboss.esb.quickstart.destination:service=Queue,name=qsdynamicrouter_Control_Request</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=qsdynamicrouter_1_Request</depends>
</jbossesb-deployment>
Modified: labs/jbossesb/trunk/product/samples/quickstarts/dynamic_router/jboss-esb.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/dynamic_router/jboss-esb.xml 2007-08-03 02:37:39 UTC (rev 13976)
+++ labs/jbossesb/trunk/product/samples/quickstarts/dynamic_router/jboss-esb.xml 2007-08-03 02:40:06 UTC (rev 13977)
@@ -12,6 +12,10 @@
<jms-message-filter dest-type="QUEUE" dest-name="queue/C" />
</jms-bus>
+ <jms-bus busid="dynamicrouterChannelout1">
+ <jms-message-filter dest-type="QUEUE" dest-name="queue/D" />
+ </jms-bus>
+
<jms-bus busid="dynamicrouterInputChannel">
<jms-message-filter dest-type="QUEUE" dest-name="queue/qsdynamicrouter_Input_Request" />
</jms-bus>
@@ -20,7 +24,10 @@
<jms-message-filter dest-type="QUEUE" dest-name="queue/qsdynamicrouter_Control_Request" />
</jms-bus>
-
+ <jms-bus busid="dynamicrouterOutputChannel1">
+ <jms-message-filter dest-type="QUEUE" dest-name="queue/qsdynamicrouter_1_Request" />
+ </jms-bus>
+
<!-- Note that only queues that are listened to (input) require jms-provider
definitions. jms-provider definitions are not required for these queues as
the quickstart only notifies the queues (output): queue/qsdynamicrouter_3_Request,
@@ -31,6 +38,17 @@
<services>
+ <!-- This service is used for unit tests only -->
+ <service category="outgoingCategory1" name="outgoingService1" description="outgoing service">
+ <listeners>
+ <jms-listener name="out1" busidref="dynamicrouterOutputChannel1" maxThreads="1" is-gateway="true"/>
+ <jms-listener name="native3" busidref="dynamicrouterChannelout1" maxThreads="1" />
+ </listeners>
+ <actions>
+ <action name="outaction1" class="org.jboss.soa.esb.actions.SystemPrintln" />
+ </actions>
+ </service>
+
<service category="incomingCategory1" name="incomingService" description="incoming service">
<listeners>
<jms-listener name="incoming-Gateway" busidref="dynamicrouterInputChannel" maxThreads="1" is-gateway="true" />
@@ -39,7 +57,7 @@
<actions>
<action name="action1"
class="org.jboss.soa.esb.samples.quickstart.dynamicRouter.MyDynamicRouterAction"
- process="processMessage" />
+ process="processMessage" />
</actions>
</service>
@@ -51,7 +69,7 @@
<actions>
<action name="action2"
class="org.jboss.soa.esb.samples.quickstart.dynamicRouter.MyControlAction"
- process="processControlMessage" />
+ process="processControlMessage" />
</actions>
</service>
More information about the jboss-svn-commits
mailing list