[jboss-svn-commits] JBL Code SVN: r24167 - labs/jbossesb/workspace/skeagh/examples/jms-routing.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Mon Dec 1 06:55:00 EST 2008
Author: tfennelly
Date: 2008-12-01 06:55:00 -0500 (Mon, 01 Dec 2008)
New Revision: 24167
Modified:
labs/jbossesb/workspace/skeagh/examples/jms-routing/README.TXT
Log:
https://jira.jboss.org/jira/browse/JBESB-2182
Modified: labs/jbossesb/workspace/skeagh/examples/jms-routing/README.TXT
===================================================================
--- labs/jbossesb/workspace/skeagh/examples/jms-routing/README.TXT 2008-12-01 10:59:38 UTC (rev 24166)
+++ labs/jbossesb/workspace/skeagh/examples/jms-routing/README.TXT 2008-12-01 11:55:00 UTC (rev 24167)
@@ -2,6 +2,21 @@
===================
This example illustrates simple JMS Inbound and Outbound Routing.
+ The example is composed of a number of parts:
+ * A JMS Client. This send a JMS message (captured from stdin) to a JMS Queue that is being
+ listened to by a JmsInboundRouter configured on the ESB. Execute in step #7 below.
+ * An ESB Server instance deployed in an Apache Felix OSGi container. This contains the ESB
+ components, as well as an ESB deployment instance (see src/main/resources/jboss-esb.xml).
+ This part of the example is in the "esb" folder and started in step #6 below.
+ * A JMS message "consumer" application which is routed to by the ESB through a
+ JmsOutboundRouter. This is started in step #3 below.
+
+ So the flow of the message is:
+ _________
+ | |
+ JMS Client --> JMS Queue <-- | ESB | --> JMS Queue <-- JMS Consumer App
+ |_________|
+
How to Run?
===========
Requirements:
@@ -9,19 +24,19 @@
2. Maven 2.x (http://maven.apache.org/download.html)
Running:
- 1. From the "jms-provider" directory run:
+ 1. From the "examples/util/jms-provider" directory run:
"mvn activemq:run"
This starts the JMS Provider.
2. Open a new console window ("Window 2")
3. From the "jms-consumer" directory run:
"mvn exec:java"
This starts a JMS Consumer that listens to the outbound routers queue.
- 6. Open a new console window ("Window 3")
- 7. From the "esb" directory run:
+ 4. Open a new console window ("Window 3")
+ 5. From the "esb" directory run:
"mvn pax:provision"
This will start JBossESB in OSGi container Felix.
- 4. Open a new console window ("Window 4")
- 5. From the "esb" directory run:
+ 6. Open a new console window ("Window 4")
+ 7. From the "esb" directory run:
"mvn exec:java"
Type something at the command line and hit return. The text typed will become the message payload.
This will post a JMS Message to the inbound routers queue.
More information about the jboss-svn-commits
mailing list