[jboss-svn-commits] JBL Code SVN: r24301 - in labs/jbossesb/workspace/skeagh/examples/jms-routing: esb/src/main/resources and 2 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Mon Dec 8 08:13:28 EST 2008


Author: beve
Date: 2008-12-08 08:13:28 -0500 (Mon, 08 Dec 2008)
New Revision: 24301

Modified:
   labs/jbossesb/workspace/skeagh/examples/jms-routing/esb/pom.xml
   labs/jbossesb/workspace/skeagh/examples/jms-routing/esb/src/main/resources/jboss-esb.xml
   labs/jbossesb/workspace/skeagh/examples/jms-routing/jms-client/pom.xml
   labs/jbossesb/workspace/skeagh/examples/jms-routing/jms-client/src/main/resources/jndi.properties
Log:
fixed the example.


Modified: labs/jbossesb/workspace/skeagh/examples/jms-routing/esb/pom.xml
===================================================================
--- labs/jbossesb/workspace/skeagh/examples/jms-routing/esb/pom.xml	2008-12-08 11:54:41 UTC (rev 24300)
+++ labs/jbossesb/workspace/skeagh/examples/jms-routing/esb/pom.xml	2008-12-08 13:13:28 UTC (rev 24301)
@@ -14,7 +14,7 @@
 	<packaging>bundle</packaging>
 
 	<properties>
-		<felix.log.level>4</felix.log.level><!-- 4=debug -->
+		<felix.log.level>1</felix.log.level><!-- 4=debug -->
         <org.jboss.esb.properties.dir>../</org.jboss.esb.properties.dir>
 	</properties>
 
@@ -95,7 +95,7 @@
                 <configuration>
                     <instructions>
                         <Export-Package>org.jboss.esb.examples.jmsrouter, org.apache.commons.logging</Export-Package> <!-- Exporting commons-logging because activemq needs it and there doesn't seem to be a bundled version available. -->
-                        <Import-Package>org.jboss.esb.jms.inbound, org.jboss.esb.jms.outbound, org.jboss.esb.api.routing, org.jboss.esb.jms.processors, org.jboss.esb.api.*, *;resolution:=optional</Import-Package> <!-- TODO: Replace global import with explicit package imports? -->
+                        <Import-Package>org.jboss.esb.jms.inbound, org.jboss.esb.jms.outbound, org.jboss.esb.api.routing, org.jboss.esb.jms.processors, org.jboss.esb.api.*, org.apache.activemq.jndi,*;resolution:=optional</Import-Package> <!-- TODO: Replace global import with explicit package imports? -->
                         <Embed-Dependency>log4j, commons-logging</Embed-Dependency>
                         <Embed-Transitive>true</Embed-Transitive>
                         <JBossESB-ConfigFile>/jboss-esb.xml</JBossESB-ConfigFile>

Modified: labs/jbossesb/workspace/skeagh/examples/jms-routing/esb/src/main/resources/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/skeagh/examples/jms-routing/esb/src/main/resources/jboss-esb.xml	2008-12-08 11:54:41 UTC (rev 24300)
+++ labs/jbossesb/workspace/skeagh/examples/jms-routing/esb/src/main/resources/jboss-esb.xml	2008-12-08 13:13:28 UTC (rev 24301)
@@ -5,18 +5,14 @@
 				<processors>
                     <processor class="org.jboss.esb.jms.processors.TextMessageExtractor"/>
                 </processors>
-                <property name="jmsDestination">jbossesb.TestQueue</property>
+                <property name="jmsDestination">dynamicQueues/jbossesb.TestQueue</property>
                 <property name="java.naming.provider.url">tcp://localhost:61717</property>
                 <property name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</property>
-                <!-- ActiveMQ queue definition -->
-                <property name="queue.jbossesb.TestQueue">jbossesb.TestQueue</property>
             </inRouter>
 			<outRouter name="outrouter" class="org.jboss.esb.jms.outbound.JmsOutboundRouter">
-                <property name="jmsDestination">jbossesb.TestOutQueue</property>
+                <property name="jmsDestination">dynamicQueues/jbossesb.TestOutQueue</property>
                 <property name="java.naming.provider.url">tcp://localhost:61717</property>
                 <property name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</property>
-                <!-- ActiveMQ queue definiation -->
-                <property name="queue.jbossesb.TestOutQueue">jbossesb.TestOutQueue</property>
             </outRouter>
         </service>
     </services>

Modified: labs/jbossesb/workspace/skeagh/examples/jms-routing/jms-client/pom.xml
===================================================================
--- labs/jbossesb/workspace/skeagh/examples/jms-routing/jms-client/pom.xml	2008-12-08 11:54:41 UTC (rev 24300)
+++ labs/jbossesb/workspace/skeagh/examples/jms-routing/jms-client/pom.xml	2008-12-08 13:13:28 UTC (rev 24301)
@@ -21,7 +21,7 @@
                     <executable>java</executable>
 					<mainClass>org.jboss.esb.examples.jmsrouter.JmsClient</mainClass>
                     <arguments>
-                        <argument>jbossesb.TestQueue</argument>
+                        <argument>dynamicQueues/jbossesb.TestQueue</argument>
                     </arguments>
                 </configuration>
             </plugin>

Modified: labs/jbossesb/workspace/skeagh/examples/jms-routing/jms-client/src/main/resources/jndi.properties
===================================================================
--- labs/jbossesb/workspace/skeagh/examples/jms-routing/jms-client/src/main/resources/jndi.properties	2008-12-08 11:54:41 UTC (rev 24300)
+++ labs/jbossesb/workspace/skeagh/examples/jms-routing/jms-client/src/main/resources/jndi.properties	2008-12-08 13:13:28 UTC (rev 24301)
@@ -4,8 +4,3 @@
 # use the following property to specify the JNDI name the connection factory
 # should appear as. 
 connectionFactoryNames = connectionFactory, ConnectionFactory, queueConnectionFactory, topicConnectionFactory
-
-# register some queues in JNDI using the form
-# queue.[jndiName] = [physicalName]
-queue.jbossesb.TestQueue=jbossesb.TestQueue
-




More information about the jboss-svn-commits mailing list