[jboss-svn-commits] JBL Code SVN: r24154 - in labs/jbossesb/workspace/skeagh/examples: file-routing and 1 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Sun Nov 30 14:58:59 EST 2008
Author: tfennelly
Date: 2008-11-30 14:58:57 -0500 (Sun, 30 Nov 2008)
New Revision: 24154
Added:
labs/jbossesb/workspace/skeagh/examples/file-routing/
labs/jbossesb/workspace/skeagh/examples/file-routing/README.TXT
labs/jbossesb/workspace/skeagh/examples/file-routing/config.properties
labs/jbossesb/workspace/skeagh/examples/file-routing/pom.xml
labs/jbossesb/workspace/skeagh/examples/file-routing/run.bat
labs/jbossesb/workspace/skeagh/examples/file-routing/src/
labs/jbossesb/workspace/skeagh/examples/jms-routing/
labs/jbossesb/workspace/skeagh/examples/jms-routing/README.TXT
labs/jbossesb/workspace/skeagh/examples/jms-routing/esb/
labs/jbossesb/workspace/skeagh/examples/jms-routing/jms-consumer/
labs/jbossesb/workspace/skeagh/examples/jms-routing/jms-provider/
labs/jbossesb/workspace/skeagh/examples/jms-routing/pom.xml
labs/jbossesb/workspace/skeagh/examples/jms-routing/run.bat
Removed:
labs/jbossesb/workspace/skeagh/examples/file-router/
labs/jbossesb/workspace/skeagh/examples/file-routing/README.TXT
labs/jbossesb/workspace/skeagh/examples/file-routing/config.properties
labs/jbossesb/workspace/skeagh/examples/file-routing/pom.xml
labs/jbossesb/workspace/skeagh/examples/file-routing/run.bat
labs/jbossesb/workspace/skeagh/examples/file-routing/src/
labs/jbossesb/workspace/skeagh/examples/jms-router/
labs/jbossesb/workspace/skeagh/examples/jms-routing/README.TXT
labs/jbossesb/workspace/skeagh/examples/jms-routing/esb-jms-router/
labs/jbossesb/workspace/skeagh/examples/jms-routing/jms-consumer/
labs/jbossesb/workspace/skeagh/examples/jms-routing/jms-provider/
labs/jbossesb/workspace/skeagh/examples/jms-routing/pom.xml
labs/jbossesb/workspace/skeagh/examples/jms-routing/run.bat
Modified:
labs/jbossesb/workspace/skeagh/examples/pom.xml
Log:
https://jira.jboss.org/jira/browse/JBESB-2182
Copied: labs/jbossesb/workspace/skeagh/examples/file-routing (from rev 24152, labs/jbossesb/workspace/skeagh/examples/file-router)
Deleted: labs/jbossesb/workspace/skeagh/examples/file-routing/README.TXT
===================================================================
--- labs/jbossesb/workspace/skeagh/examples/file-router/README.TXT 2008-11-30 19:02:46 UTC (rev 24152)
+++ labs/jbossesb/workspace/skeagh/examples/file-routing/README.TXT 2008-11-30 19:58:57 UTC (rev 24154)
@@ -1,41 +0,0 @@
-About This Example:
-===================
- This example illustrates a simple JBossESB 5.0 File Router example.
-
-How to Run?
-===========
- Requirements:
- 1. JDK 1.5
- 2. Maven 2.x (http://maven.apache.org/download.html)
-
- Running:
- 1. Run "mvn activemq:run". This starts the JMS Provider.
- 2. Open a new console window ("Window 2")
- 3. Run "mvn clean install pax:provision". This starts the OSGi container (Felix) and deploys the ESB.
- 4. Open a new console window ("Window 3")
- 5. Copy src/text/resources/sample.txt to target/input. This file will be picked up by the the ESB.
- Switch back to "Window 2) and see the output from the Service.
- The processed file will now have moved to the specified outbound routers configured directory.
-
-Things to try
-=============
- JBossESB:
- * Try updating the schedule in src/main/resources/jboss-esb.xml.
-
- Felix:
- # Stop/Start bundle:
- At the felix commmand prompt ("Window 2"):
- >ps // will list all bundles
- >stop <id> // use the id of the JBoss ESB - Helloworld Example (5.0.0.SNAPSHOT)
- >start <id> // use the id of the JBoss ESB - Helloworld Example (5.0.0.SNAPSHOT)
- Notice how the esb undeploy and deploys the bundle.
-
- # Enable Felix logging:
- <properties>
- <felix.log.level>1</felix.log.level><!-- 4=debug -->
- </properties>
-
-
-
-
-
Copied: labs/jbossesb/workspace/skeagh/examples/file-routing/README.TXT (from rev 24153, labs/jbossesb/workspace/skeagh/examples/file-router/README.TXT)
===================================================================
--- labs/jbossesb/workspace/skeagh/examples/file-routing/README.TXT (rev 0)
+++ labs/jbossesb/workspace/skeagh/examples/file-routing/README.TXT 2008-11-30 19:58:57 UTC (rev 24154)
@@ -0,0 +1,41 @@
+About This Example:
+===================
+ This example illustrates a simple JBossESB 5.0 File Router example.
+
+How to Run?
+===========
+ Requirements:
+ 1. JDK 1.5
+ 2. Maven 2.x (http://maven.apache.org/download.html)
+
+ Running:
+ 1. Run "mvn activemq:run". This starts the JMS Provider.
+ 2. Open a new console window ("Window 2")
+ 3. Run "mvn clean install pax:provision". This starts the OSGi container (Felix) and deploys the ESB.
+ 4. Open a new console window ("Window 3")
+ 5. Copy src/text/resources/sample.txt to target/input. This file will be picked up by the the ESB.
+ Switch back to "Window 2) and see the output from the Service.
+ The processed file will now have moved to the specified outbound routers configured directory.
+
+Things to try
+=============
+ JBossESB:
+ * Try updating the schedule in src/main/resources/jboss-esb.xml.
+
+ Felix:
+ # Stop/Start bundle:
+ At the felix commmand prompt ("Window 2"):
+ >ps // will list all bundles
+ >stop <id> // use the id of the JBoss ESB - Helloworld Example (5.0.0.SNAPSHOT)
+ >start <id> // use the id of the JBoss ESB - Helloworld Example (5.0.0.SNAPSHOT)
+ Notice how the esb undeploy and deploys the bundle.
+
+ # Enable Felix logging:
+ <properties>
+ <felix.log.level>1</felix.log.level><!-- 4=debug -->
+ </properties>
+
+
+
+
+
Deleted: labs/jbossesb/workspace/skeagh/examples/file-routing/config.properties
===================================================================
--- labs/jbossesb/workspace/skeagh/examples/file-router/config.properties 2008-11-30 19:02:46 UTC (rev 24152)
+++ labs/jbossesb/workspace/skeagh/examples/file-routing/config.properties 2008-11-30 19:58:57 UTC (rev 24154)
@@ -1,485 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-#
-# Framework config properties.
-#
-org.osgi.framework.system.packages=org.osgi.framework; version=1.4.0, \
- org.osgi.service.packageadmin; version=1.2.0, \
- org.osgi.service.startlevel; version=1.1.0, \
- org.osgi.service.url; version=1.0.0, \
- org.osgi.util.tracker; version=1.3.3 \
- ${jre-${java.specification.version}}
-
-m2.path=${user.home}/.m2/repository
-apache.m2.path=${m2.path}/org/apache
-jbossesb.m2.path=${m2.path}/jboss/jbossesb
-
-#org.osgi.framework.bootdelegation=sun.*,com.sun.*
-#felix.cache.profile=foo
-felix.auto.start.1= \
- "file:${apache.m2.path}/felix/org.apache.felix.shell/1.0.2/org.apache.felix.shell-1.0.2.jar" \
- "file:${apache.m2.path}/felix/org.apache.felix.shell.tui/1.0.2/org.apache.felix.shell.tui-1.0.2.jar" \
- "file:${apache.m2.path}/geronimo/specs/geronimo-jms_1.1_spec/1.1.1/geronimo-jms_1.1_spec-1.1.1.jar" \
- "file:${jbossesb.m2.path}/jbossesb-api/5.0-SNAPSHOT/jbossesb-api-5.0-SNAPSHOT.jar" \
- "file:${jbossesb.m2.path}/jbossesb-osgi-runtime/5.0-SNAPSHOT/jbossesb-osgi-runtime-5.0-SNAPSHOT.jar" \
- "file:${jbossesb.m2.path}/jbossesb-routing-jms/5.0-SNAPSHOT/jbossesb-routing-jms-5.0-SNAPSHOT.jar" \
- "file:${jbossesb.m2.path}/jbossesb-examples-helloworld/5.0-SNAPSHOT/jbossesb-examples-helloworld-5.0-SNAPSHOT.jar"
-
-felix.log.level=1
-felix.startlevel.framework=1
-felix.startlevel.bundle=1
-#felix.service.urlhandlers=false
-
-#
-# Bundle config properties.
-#
-org.osgi.service.http.port=8080
-osgi.shell.telnet=on
-obr.repository.url=http://felix.apache.org/obr/releases.xml
-
-
-#
-# Java platform package export properties.
-#
-jre-1.3=, \
- javax.accessibility; \
- javax.naming; \
- javax.naming.directory; \
- javax.naming.event; \
- javax.naming.ldap; \
- javax.naming.spi; \
- javax.rmi; \
- javax.rmi.CORBA; \
- javax.sound.midi; \
- javax.sound.midi.spi; \
- javax.sound.sampled; \
- javax.sound.sampled.spi; \
- javax.swing; \
- javax.swing.border; \
- javax.swing.colorchooser; \
- javax.swing.event; \
- javax.swing.filechooser; \
- javax.swing.plaf; \
- javax.swing.plaf.basic; \
- javax.swing.plaf.metal; \
- javax.swing.plaf.multi; \
- javax.swing.table; \
- javax.swing.text; \
- javax.swing.text.html; \
- javax.swing.text.html.parser; \
- javax.swing.text.rtf; \
- javax.swing.tree; \
- javax.swing.undo; \
- javax.transaction; \
- org.omg.CORBA; \
- org.omg.CORBA_2_3; \
- org.omg.CORBA_2_3.portable; \
- org.omg.CORBA.DynAnyPackage; \
- org.omg.CORBA.ORBPackage; \
- org.omg.CORBA.portable; \
- org.omg.CORBA.TypeCodePackage; \
- org.omg.CosNaming; \
- org.omg.CosNaming.NamingContextPackage; \
- org.omg.SendingContext; \
- org.omg.stub.java.rmi; \
- version="1.3.0"
-
-jre-1.4=, \
- javax.accessibility; \
- javax.crypto; \
- javax.crypto.interfaces; \
- javax.crypto.spec; \
- javax.imageio; \
- javax.imageio.event; \
- javax.imageio.metadata; \
- javax.imageio.plugins.jpeg; \
- javax.imageio.spi; \
- javax.imageio.stream; \
- javax.naming; \
- javax.naming.directory; \
- javax.naming.event; \
- javax.naming.ldap; \
- javax.naming.spi; \
- javax.net; \
- javax.net.ssl; \
- javax.print; \
- javax.print.attribute; \
- javax.print.attribute.standard; \
- javax.print.event; \
- javax.rmi; \
- javax.rmi.CORBA; \
- javax.security.auth; \
- javax.security.auth.callback; \
- javax.security.auth.kerberos; \
- javax.security.auth.login; \
- javax.security.auth.spi; \
- javax.security.auth.x500; \
- javax.sound.midi; \
- javax.sound.midi.spi; \
- javax.sound.sampled; \
- javax.sound.sampled.spi; \
- javax.sql; \
- javax.swing; \
- javax.swing.border; \
- javax.swing.colorchooser; \
- javax.swing.event; \
- javax.swing.filechooser; \
- javax.swing.plaf; \
- javax.swing.plaf.basic; \
- javax.swing.plaf.metal; \
- javax.swing.plaf.multi; \
- javax.swing.table; \
- javax.swing.text; \
- javax.swing.text.html; \
- javax.swing.text.html.parser; \
- javax.swing.text.rtf; \
- javax.swing.tree; \
- javax.swing.undo; \
- javax.transaction; \
- javax.transaction.xa; \
- javax.xml.parsers; \
- javax.xml.transform; \
- javax.xml.transform.dom; \
- javax.xml.transform.sax; \
- javax.xml.transform.stream; \
- org.ietf.jgss; \
- org.omg.CORBA; \
- org.omg.CORBA_2_3; \
- org.omg.CORBA_2_3.portable; \
- org.omg.CORBA.DynAnyPackage; \
- org.omg.CORBA.ORBPackage; \
- org.omg.CORBA.portable; \
- org.omg.CORBA.TypeCodePackage; \
- org.omg.CosNaming; \
- org.omg.CosNaming.NamingContextExtPackage; \
- org.omg.CosNaming.NamingContextPackage; \
- org.omg.Dynamic; \
- org.omg.DynamicAny; \
- org.omg.DynamicAny.DynAnyFactoryPackage; \
- org.omg.DynamicAny.DynAnyPackage; \
- org.omg.IOP; \
- org.omg.IOP.CodecFactoryPackage; \
- org.omg.IOP.CodecPackage; \
- org.omg.Messaging; \
- org.omg.PortableInterceptor; \
- org.omg.PortableInterceptor.ORBInitInfoPackage; \
- org.omg.PortableServer; \
- org.omg.PortableServer.CurrentPackage; \
- org.omg.PortableServer.POAManagerPackage; \
- org.omg.PortableServer.POAPackage; \
- org.omg.PortableServer.portable; \
- org.omg.PortableServer.ServantLocatorPackage; \
- org.omg.SendingContext; \
- org.omg.stub.java.rmi; \
- org.w3c.dom; \
- org.w3c.dom.css; \
- org.w3c.dom.events; \
- org.w3c.dom.html; \
- org.w3c.dom.stylesheets; \
- org.w3c.dom.traversal; \
- org.w3c.dom.views; \
- org.xml.sax; \
- org.xml.sax.ext; \
- org.xml.sax.helpers; \
- version="1.4.0"
-
-jre-1.5=, \
- javax.accessibility; \
- javax.activity; \
- javax.crypto; \
- javax.crypto.interfaces; \
- javax.crypto.spec; \
- javax.imageio; \
- javax.imageio.event; \
- javax.imageio.metadata; \
- javax.imageio.plugins.bmp; \
- javax.imageio.plugins.jpeg; \
- javax.imageio.spi; \
- javax.imageio.stream; \
- javax.management; \
- javax.management.loading; \
- javax.management.modelmbean; \
- javax.management.monitor; \
- javax.management.openmbean; \
- javax.management.relation; \
- javax.management.remote; \
- javax.management.remote.rmi; \
- javax.management.timer; \
- javax.naming; \
- javax.naming.directory; \
- javax.naming.event; \
- javax.naming.ldap; \
- javax.naming.spi; \
- javax.net; \
- javax.net.ssl; \
- javax.print; \
- javax.print.attribute; \
- javax.print.attribute.standard; \
- javax.print.event; \
- javax.rmi; \
- javax.rmi.CORBA; \
- javax.rmi.ssl; \
- javax.security.auth; \
- javax.security.auth.callback; \
- javax.security.auth.kerberos; \
- javax.security.auth.login; \
- javax.security.auth.spi; \
- javax.security.auth.x500; \
- javax.security.sasl; \
- javax.sound.midi; \
- javax.sound.midi.spi; \
- javax.sound.sampled; \
- javax.sound.sampled.spi; \
- javax.sql; \
- javax.sql.rowset; \
- javax.sql.rowset.serial; \
- javax.sql.rowset.spi; \
- javax.swing; \
- javax.swing.border; \
- javax.swing.colorchooser; \
- javax.swing.event; \
- javax.swing.filechooser; \
- javax.swing.plaf; \
- javax.swing.plaf.basic; \
- javax.swing.plaf.metal; \
- javax.swing.plaf.multi; \
- javax.swing.plaf.synth; \
- javax.swing.table; \
- javax.swing.text; \
- javax.swing.text.html; \
- javax.swing.text.html.parser; \
- javax.swing.text.rtf; \
- javax.swing.tree; \
- javax.swing.undo; \
- javax.transaction; \
- javax.transaction.xa; \
- javax.xml; \
- javax.xml.datatype; \
- javax.xml.namespace; \
- javax.xml.parsers; \
- javax.xml.transform; \
- javax.xml.transform.dom; \
- javax.xml.transform.sax; \
- javax.xml.transform.stream; \
- javax.xml.validation; \
- javax.xml.xpath; \
- org.ietf.jgss; \
- org.omg.CORBA; \
- org.omg.CORBA_2_3; \
- org.omg.CORBA_2_3.portable; \
- org.omg.CORBA.DynAnyPackage; \
- org.omg.CORBA.ORBPackage; \
- org.omg.CORBA.portable; \
- org.omg.CORBA.TypeCodePackage; \
- org.omg.CosNaming; \
- org.omg.CosNaming.NamingContextExtPackage; \
- org.omg.CosNaming.NamingContextPackage; \
- org.omg.Dynamic; \
- org.omg.DynamicAny; \
- org.omg.DynamicAny.DynAnyFactoryPackage; \
- org.omg.DynamicAny.DynAnyPackage; \
- org.omg.IOP; \
- org.omg.IOP.CodecFactoryPackage; \
- org.omg.IOP.CodecPackage; \
- org.omg.Messaging; \
- org.omg.PortableInterceptor; \
- org.omg.PortableInterceptor.ORBInitInfoPackage; \
- org.omg.PortableServer; \
- org.omg.PortableServer.CurrentPackage; \
- org.omg.PortableServer.POAManagerPackage; \
- org.omg.PortableServer.POAPackage; \
- org.omg.PortableServer.portable; \
- org.omg.PortableServer.ServantLocatorPackage; \
- org.omg.SendingContext; \
- org.omg.stub.java.rmi; \
- org.omg.stub.javax.management.remote.rmi; \
- org.w3c.dom; \
- org.w3c.dom.bootstrap; \
- org.w3c.dom.css; \
- org.w3c.dom.events; \
- org.w3c.dom.html; \
- org.w3c.dom.ls; \
- org.w3c.dom.ranges; \
- org.w3c.dom.stylesheets; \
- org.w3c.dom.traversal; \
- org.w3c.dom.views; \
- org.xml.sax; \
- org.xml.sax.ext; \
- org.xml.sax.helpers; \
- version="1.5.0"
-
-jre-1.6=, \
- javax.accessibility; \
- javax.activation; \
- javax.activity; \
- javax.annotation; \
- javax.annotation.processing; \
- javax.crypto; \
- javax.crypto.interfaces; \
- javax.crypto.spec; \
- javax.imageio; \
- javax.imageio.event; \
- javax.imageio.metadata; \
- javax.imageio.plugins.bmp; \
- javax.imageio.plugins.jpeg; \
- javax.imageio.spi; \
- javax.imageio.stream; \
- javax.jws; \
- javax.jws.soap; \
- javax.lang.model; \
- javax.lang.model.element; \
- javax.lang.model.type; \
- javax.lang.model.util; \
- javax.management; \
- javax.management.loading; \
- javax.management.modelmbean; \
- javax.management.monitor; \
- javax.management.openmbean; \
- javax.management.relation; \
- javax.management.remote; \
- javax.management.remote.rmi; \
- javax.management.timer; \
- javax.naming; \
- javax.naming.directory; \
- javax.naming.event; \
- javax.naming.ldap; \
- javax.naming.spi; \
- javax.net; \
- javax.net.ssl; \
- javax.print; \
- javax.print.attribute; \
- javax.print.attribute.standard; \
- javax.print.event; \
- javax.rmi; \
- javax.rmi.CORBA; \
- javax.rmi.ssl; \
- javax.script; \
- javax.security.auth; \
- javax.security.auth.callback; \
- javax.security.auth.kerberos; \
- javax.security.auth.login; \
- javax.security.auth.spi; \
- javax.security.auth.x500; \
- javax.security.cert; \
- javax.security.sasl; \
- javax.sound.midi; \
- javax.sound.midi.spi; \
- javax.sound.sampled; \
- javax.sound.sampled.spi; \
- javax.sql; \
- javax.sql.rowset; \
- javax.sql.rowset.serial; \
- javax.sql.rowset.spi; \
- javax.swing; \
- javax.swing.border; \
- javax.swing.colorchooser; \
- javax.swing.event; \
- javax.swing.filechooser; \
- javax.swing.plaf; \
- javax.swing.plaf.basic; \
- javax.swing.plaf.metal; \
- javax.swing.plaf.multi; \
- javax.swing.plaf.synth; \
- javax.swing.table; \
- javax.swing.text; \
- javax.swing.text.html; \
- javax.swing.text.html.parser; \
- javax.swing.text.rtf; \
- javax.swing.tree; \
- javax.swing.undo; \
- javax.tools; \
- javax.transaction; \
- javax.transaction.xa; \
- javax.xml; \
- javax.xml.bind; \
- javax.xml.bind.annotation; \
- javax.xml.bind.annotation.adapters; \
- javax.xml.bind.attachment; \
- javax.xml.bind.helpers; \
- javax.xml.bind.util; \
- javax.xml.crypto; \
- javax.xml.crypto.dom; \
- javax.xml.crypto.dsig; \
- javax.xml.crypto.dsig.dom; \
- javax.xml.crypto.dsig.keyinfo; \
- javax.xml.crypto.dsig.spec; \
- javax.xml.datatype; \
- javax.xml.namespace; \
- javax.xml.parsers; \
- javax.xml.soap; \
- javax.xml.stream; \
- javax.xml.stream.events; \
- javax.xml.stream.util; \
- javax.xml.transform; \
- javax.xml.transform.dom; \
- javax.xml.transform.sax; \
- javax.xml.transform.stax; \
- javax.xml.transform.stream; \
- javax.xml.validation; \
- javax.xml.ws; \
- javax.xml.ws.handler; \
- javax.xml.ws.handler.soap; \
- javax.xml.ws.http; \
- javax.xml.ws.soap; \
- javax.xml.ws.spi; \
- javax.xml.xpath; \
- org.ietf.jgss; \
- org.omg.CORBA; \
- org.omg.CORBA_2_3; \
- org.omg.CORBA_2_3.portable; \
- org.omg.CORBA.DynAnyPackage; \
- org.omg.CORBA.ORBPackage; \
- org.omg.CORBA.portable; \
- org.omg.CORBA.TypeCodePackage; \
- org.omg.CosNaming; \
- org.omg.CosNaming.NamingContextExtPackage; \
- org.omg.CosNaming.NamingContextPackage; \
- org.omg.Dynamic; \
- org.omg.DynamicAny; \
- org.omg.DynamicAny.DynAnyFactoryPackage; \
- org.omg.DynamicAny.DynAnyPackage; \
- org.omg.IOP; \
- org.omg.IOP.CodecFactoryPackage; \
- org.omg.IOP.CodecPackage; \
- org.omg.Messaging; \
- org.omg.PortableInterceptor; \
- org.omg.PortableInterceptor.ORBInitInfoPackage; \
- org.omg.PortableServer; \
- org.omg.PortableServer.CurrentPackage; \
- org.omg.PortableServer.POAManagerPackage; \
- org.omg.PortableServer.POAPackage; \
- org.omg.PortableServer.portable; \
- org.omg.PortableServer.ServantLocatorPackage; \
- org.omg.SendingContext; \
- org.omg.stub.java.rmi; \
- org.omg.stub.javax.management.remote.rmi; \
- org.w3c.dom; \
- org.w3c.dom.bootstrap; \
- org.w3c.dom.css; \
- org.w3c.dom.events; \
- org.w3c.dom.html; \
- org.w3c.dom.ls; \
- org.w3c.dom.ranges; \
- org.w3c.dom.stylesheets; \
- org.w3c.dom.traversal; \
- org.w3c.dom.views; \
- org.w3c.dom.xpath; \
- org.xml.sax; \
- org.xml.sax.ext; \
- org.xml.sax.helpers; \
- version=\"1.6.0\"
Copied: labs/jbossesb/workspace/skeagh/examples/file-routing/config.properties (from rev 24153, labs/jbossesb/workspace/skeagh/examples/file-router/config.properties)
===================================================================
--- labs/jbossesb/workspace/skeagh/examples/file-routing/config.properties (rev 0)
+++ labs/jbossesb/workspace/skeagh/examples/file-routing/config.properties 2008-11-30 19:58:57 UTC (rev 24154)
@@ -0,0 +1,485 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+#
+# Framework config properties.
+#
+org.osgi.framework.system.packages=org.osgi.framework; version=1.4.0, \
+ org.osgi.service.packageadmin; version=1.2.0, \
+ org.osgi.service.startlevel; version=1.1.0, \
+ org.osgi.service.url; version=1.0.0, \
+ org.osgi.util.tracker; version=1.3.3 \
+ ${jre-${java.specification.version}}
+
+m2.path=${user.home}/.m2/repository
+apache.m2.path=${m2.path}/org/apache
+jbossesb.m2.path=${m2.path}/jboss/jbossesb
+
+#org.osgi.framework.bootdelegation=sun.*,com.sun.*
+#felix.cache.profile=foo
+felix.auto.start.1= \
+ "file:${apache.m2.path}/felix/org.apache.felix.shell/1.0.2/org.apache.felix.shell-1.0.2.jar" \
+ "file:${apache.m2.path}/felix/org.apache.felix.shell.tui/1.0.2/org.apache.felix.shell.tui-1.0.2.jar" \
+ "file:${apache.m2.path}/geronimo/specs/geronimo-jms_1.1_spec/1.1.1/geronimo-jms_1.1_spec-1.1.1.jar" \
+ "file:${jbossesb.m2.path}/jbossesb-api/5.0-SNAPSHOT/jbossesb-api-5.0-SNAPSHOT.jar" \
+ "file:${jbossesb.m2.path}/jbossesb-osgi-runtime/5.0-SNAPSHOT/jbossesb-osgi-runtime-5.0-SNAPSHOT.jar" \
+ "file:${jbossesb.m2.path}/jbossesb-routing-jms/5.0-SNAPSHOT/jbossesb-routing-jms-5.0-SNAPSHOT.jar" \
+ "file:${jbossesb.m2.path}/jbossesb-examples-helloworld/5.0-SNAPSHOT/jbossesb-examples-helloworld-5.0-SNAPSHOT.jar"
+
+felix.log.level=1
+felix.startlevel.framework=1
+felix.startlevel.bundle=1
+#felix.service.urlhandlers=false
+
+#
+# Bundle config properties.
+#
+org.osgi.service.http.port=8080
+osgi.shell.telnet=on
+obr.repository.url=http://felix.apache.org/obr/releases.xml
+
+
+#
+# Java platform package export properties.
+#
+jre-1.3=, \
+ javax.accessibility; \
+ javax.naming; \
+ javax.naming.directory; \
+ javax.naming.event; \
+ javax.naming.ldap; \
+ javax.naming.spi; \
+ javax.rmi; \
+ javax.rmi.CORBA; \
+ javax.sound.midi; \
+ javax.sound.midi.spi; \
+ javax.sound.sampled; \
+ javax.sound.sampled.spi; \
+ javax.swing; \
+ javax.swing.border; \
+ javax.swing.colorchooser; \
+ javax.swing.event; \
+ javax.swing.filechooser; \
+ javax.swing.plaf; \
+ javax.swing.plaf.basic; \
+ javax.swing.plaf.metal; \
+ javax.swing.plaf.multi; \
+ javax.swing.table; \
+ javax.swing.text; \
+ javax.swing.text.html; \
+ javax.swing.text.html.parser; \
+ javax.swing.text.rtf; \
+ javax.swing.tree; \
+ javax.swing.undo; \
+ javax.transaction; \
+ org.omg.CORBA; \
+ org.omg.CORBA_2_3; \
+ org.omg.CORBA_2_3.portable; \
+ org.omg.CORBA.DynAnyPackage; \
+ org.omg.CORBA.ORBPackage; \
+ org.omg.CORBA.portable; \
+ org.omg.CORBA.TypeCodePackage; \
+ org.omg.CosNaming; \
+ org.omg.CosNaming.NamingContextPackage; \
+ org.omg.SendingContext; \
+ org.omg.stub.java.rmi; \
+ version="1.3.0"
+
+jre-1.4=, \
+ javax.accessibility; \
+ javax.crypto; \
+ javax.crypto.interfaces; \
+ javax.crypto.spec; \
+ javax.imageio; \
+ javax.imageio.event; \
+ javax.imageio.metadata; \
+ javax.imageio.plugins.jpeg; \
+ javax.imageio.spi; \
+ javax.imageio.stream; \
+ javax.naming; \
+ javax.naming.directory; \
+ javax.naming.event; \
+ javax.naming.ldap; \
+ javax.naming.spi; \
+ javax.net; \
+ javax.net.ssl; \
+ javax.print; \
+ javax.print.attribute; \
+ javax.print.attribute.standard; \
+ javax.print.event; \
+ javax.rmi; \
+ javax.rmi.CORBA; \
+ javax.security.auth; \
+ javax.security.auth.callback; \
+ javax.security.auth.kerberos; \
+ javax.security.auth.login; \
+ javax.security.auth.spi; \
+ javax.security.auth.x500; \
+ javax.sound.midi; \
+ javax.sound.midi.spi; \
+ javax.sound.sampled; \
+ javax.sound.sampled.spi; \
+ javax.sql; \
+ javax.swing; \
+ javax.swing.border; \
+ javax.swing.colorchooser; \
+ javax.swing.event; \
+ javax.swing.filechooser; \
+ javax.swing.plaf; \
+ javax.swing.plaf.basic; \
+ javax.swing.plaf.metal; \
+ javax.swing.plaf.multi; \
+ javax.swing.table; \
+ javax.swing.text; \
+ javax.swing.text.html; \
+ javax.swing.text.html.parser; \
+ javax.swing.text.rtf; \
+ javax.swing.tree; \
+ javax.swing.undo; \
+ javax.transaction; \
+ javax.transaction.xa; \
+ javax.xml.parsers; \
+ javax.xml.transform; \
+ javax.xml.transform.dom; \
+ javax.xml.transform.sax; \
+ javax.xml.transform.stream; \
+ org.ietf.jgss; \
+ org.omg.CORBA; \
+ org.omg.CORBA_2_3; \
+ org.omg.CORBA_2_3.portable; \
+ org.omg.CORBA.DynAnyPackage; \
+ org.omg.CORBA.ORBPackage; \
+ org.omg.CORBA.portable; \
+ org.omg.CORBA.TypeCodePackage; \
+ org.omg.CosNaming; \
+ org.omg.CosNaming.NamingContextExtPackage; \
+ org.omg.CosNaming.NamingContextPackage; \
+ org.omg.Dynamic; \
+ org.omg.DynamicAny; \
+ org.omg.DynamicAny.DynAnyFactoryPackage; \
+ org.omg.DynamicAny.DynAnyPackage; \
+ org.omg.IOP; \
+ org.omg.IOP.CodecFactoryPackage; \
+ org.omg.IOP.CodecPackage; \
+ org.omg.Messaging; \
+ org.omg.PortableInterceptor; \
+ org.omg.PortableInterceptor.ORBInitInfoPackage; \
+ org.omg.PortableServer; \
+ org.omg.PortableServer.CurrentPackage; \
+ org.omg.PortableServer.POAManagerPackage; \
+ org.omg.PortableServer.POAPackage; \
+ org.omg.PortableServer.portable; \
+ org.omg.PortableServer.ServantLocatorPackage; \
+ org.omg.SendingContext; \
+ org.omg.stub.java.rmi; \
+ org.w3c.dom; \
+ org.w3c.dom.css; \
+ org.w3c.dom.events; \
+ org.w3c.dom.html; \
+ org.w3c.dom.stylesheets; \
+ org.w3c.dom.traversal; \
+ org.w3c.dom.views; \
+ org.xml.sax; \
+ org.xml.sax.ext; \
+ org.xml.sax.helpers; \
+ version="1.4.0"
+
+jre-1.5=, \
+ javax.accessibility; \
+ javax.activity; \
+ javax.crypto; \
+ javax.crypto.interfaces; \
+ javax.crypto.spec; \
+ javax.imageio; \
+ javax.imageio.event; \
+ javax.imageio.metadata; \
+ javax.imageio.plugins.bmp; \
+ javax.imageio.plugins.jpeg; \
+ javax.imageio.spi; \
+ javax.imageio.stream; \
+ javax.management; \
+ javax.management.loading; \
+ javax.management.modelmbean; \
+ javax.management.monitor; \
+ javax.management.openmbean; \
+ javax.management.relation; \
+ javax.management.remote; \
+ javax.management.remote.rmi; \
+ javax.management.timer; \
+ javax.naming; \
+ javax.naming.directory; \
+ javax.naming.event; \
+ javax.naming.ldap; \
+ javax.naming.spi; \
+ javax.net; \
+ javax.net.ssl; \
+ javax.print; \
+ javax.print.attribute; \
+ javax.print.attribute.standard; \
+ javax.print.event; \
+ javax.rmi; \
+ javax.rmi.CORBA; \
+ javax.rmi.ssl; \
+ javax.security.auth; \
+ javax.security.auth.callback; \
+ javax.security.auth.kerberos; \
+ javax.security.auth.login; \
+ javax.security.auth.spi; \
+ javax.security.auth.x500; \
+ javax.security.sasl; \
+ javax.sound.midi; \
+ javax.sound.midi.spi; \
+ javax.sound.sampled; \
+ javax.sound.sampled.spi; \
+ javax.sql; \
+ javax.sql.rowset; \
+ javax.sql.rowset.serial; \
+ javax.sql.rowset.spi; \
+ javax.swing; \
+ javax.swing.border; \
+ javax.swing.colorchooser; \
+ javax.swing.event; \
+ javax.swing.filechooser; \
+ javax.swing.plaf; \
+ javax.swing.plaf.basic; \
+ javax.swing.plaf.metal; \
+ javax.swing.plaf.multi; \
+ javax.swing.plaf.synth; \
+ javax.swing.table; \
+ javax.swing.text; \
+ javax.swing.text.html; \
+ javax.swing.text.html.parser; \
+ javax.swing.text.rtf; \
+ javax.swing.tree; \
+ javax.swing.undo; \
+ javax.transaction; \
+ javax.transaction.xa; \
+ javax.xml; \
+ javax.xml.datatype; \
+ javax.xml.namespace; \
+ javax.xml.parsers; \
+ javax.xml.transform; \
+ javax.xml.transform.dom; \
+ javax.xml.transform.sax; \
+ javax.xml.transform.stream; \
+ javax.xml.validation; \
+ javax.xml.xpath; \
+ org.ietf.jgss; \
+ org.omg.CORBA; \
+ org.omg.CORBA_2_3; \
+ org.omg.CORBA_2_3.portable; \
+ org.omg.CORBA.DynAnyPackage; \
+ org.omg.CORBA.ORBPackage; \
+ org.omg.CORBA.portable; \
+ org.omg.CORBA.TypeCodePackage; \
+ org.omg.CosNaming; \
+ org.omg.CosNaming.NamingContextExtPackage; \
+ org.omg.CosNaming.NamingContextPackage; \
+ org.omg.Dynamic; \
+ org.omg.DynamicAny; \
+ org.omg.DynamicAny.DynAnyFactoryPackage; \
+ org.omg.DynamicAny.DynAnyPackage; \
+ org.omg.IOP; \
+ org.omg.IOP.CodecFactoryPackage; \
+ org.omg.IOP.CodecPackage; \
+ org.omg.Messaging; \
+ org.omg.PortableInterceptor; \
+ org.omg.PortableInterceptor.ORBInitInfoPackage; \
+ org.omg.PortableServer; \
+ org.omg.PortableServer.CurrentPackage; \
+ org.omg.PortableServer.POAManagerPackage; \
+ org.omg.PortableServer.POAPackage; \
+ org.omg.PortableServer.portable; \
+ org.omg.PortableServer.ServantLocatorPackage; \
+ org.omg.SendingContext; \
+ org.omg.stub.java.rmi; \
+ org.omg.stub.javax.management.remote.rmi; \
+ org.w3c.dom; \
+ org.w3c.dom.bootstrap; \
+ org.w3c.dom.css; \
+ org.w3c.dom.events; \
+ org.w3c.dom.html; \
+ org.w3c.dom.ls; \
+ org.w3c.dom.ranges; \
+ org.w3c.dom.stylesheets; \
+ org.w3c.dom.traversal; \
+ org.w3c.dom.views; \
+ org.xml.sax; \
+ org.xml.sax.ext; \
+ org.xml.sax.helpers; \
+ version="1.5.0"
+
+jre-1.6=, \
+ javax.accessibility; \
+ javax.activation; \
+ javax.activity; \
+ javax.annotation; \
+ javax.annotation.processing; \
+ javax.crypto; \
+ javax.crypto.interfaces; \
+ javax.crypto.spec; \
+ javax.imageio; \
+ javax.imageio.event; \
+ javax.imageio.metadata; \
+ javax.imageio.plugins.bmp; \
+ javax.imageio.plugins.jpeg; \
+ javax.imageio.spi; \
+ javax.imageio.stream; \
+ javax.jws; \
+ javax.jws.soap; \
+ javax.lang.model; \
+ javax.lang.model.element; \
+ javax.lang.model.type; \
+ javax.lang.model.util; \
+ javax.management; \
+ javax.management.loading; \
+ javax.management.modelmbean; \
+ javax.management.monitor; \
+ javax.management.openmbean; \
+ javax.management.relation; \
+ javax.management.remote; \
+ javax.management.remote.rmi; \
+ javax.management.timer; \
+ javax.naming; \
+ javax.naming.directory; \
+ javax.naming.event; \
+ javax.naming.ldap; \
+ javax.naming.spi; \
+ javax.net; \
+ javax.net.ssl; \
+ javax.print; \
+ javax.print.attribute; \
+ javax.print.attribute.standard; \
+ javax.print.event; \
+ javax.rmi; \
+ javax.rmi.CORBA; \
+ javax.rmi.ssl; \
+ javax.script; \
+ javax.security.auth; \
+ javax.security.auth.callback; \
+ javax.security.auth.kerberos; \
+ javax.security.auth.login; \
+ javax.security.auth.spi; \
+ javax.security.auth.x500; \
+ javax.security.cert; \
+ javax.security.sasl; \
+ javax.sound.midi; \
+ javax.sound.midi.spi; \
+ javax.sound.sampled; \
+ javax.sound.sampled.spi; \
+ javax.sql; \
+ javax.sql.rowset; \
+ javax.sql.rowset.serial; \
+ javax.sql.rowset.spi; \
+ javax.swing; \
+ javax.swing.border; \
+ javax.swing.colorchooser; \
+ javax.swing.event; \
+ javax.swing.filechooser; \
+ javax.swing.plaf; \
+ javax.swing.plaf.basic; \
+ javax.swing.plaf.metal; \
+ javax.swing.plaf.multi; \
+ javax.swing.plaf.synth; \
+ javax.swing.table; \
+ javax.swing.text; \
+ javax.swing.text.html; \
+ javax.swing.text.html.parser; \
+ javax.swing.text.rtf; \
+ javax.swing.tree; \
+ javax.swing.undo; \
+ javax.tools; \
+ javax.transaction; \
+ javax.transaction.xa; \
+ javax.xml; \
+ javax.xml.bind; \
+ javax.xml.bind.annotation; \
+ javax.xml.bind.annotation.adapters; \
+ javax.xml.bind.attachment; \
+ javax.xml.bind.helpers; \
+ javax.xml.bind.util; \
+ javax.xml.crypto; \
+ javax.xml.crypto.dom; \
+ javax.xml.crypto.dsig; \
+ javax.xml.crypto.dsig.dom; \
+ javax.xml.crypto.dsig.keyinfo; \
+ javax.xml.crypto.dsig.spec; \
+ javax.xml.datatype; \
+ javax.xml.namespace; \
+ javax.xml.parsers; \
+ javax.xml.soap; \
+ javax.xml.stream; \
+ javax.xml.stream.events; \
+ javax.xml.stream.util; \
+ javax.xml.transform; \
+ javax.xml.transform.dom; \
+ javax.xml.transform.sax; \
+ javax.xml.transform.stax; \
+ javax.xml.transform.stream; \
+ javax.xml.validation; \
+ javax.xml.ws; \
+ javax.xml.ws.handler; \
+ javax.xml.ws.handler.soap; \
+ javax.xml.ws.http; \
+ javax.xml.ws.soap; \
+ javax.xml.ws.spi; \
+ javax.xml.xpath; \
+ org.ietf.jgss; \
+ org.omg.CORBA; \
+ org.omg.CORBA_2_3; \
+ org.omg.CORBA_2_3.portable; \
+ org.omg.CORBA.DynAnyPackage; \
+ org.omg.CORBA.ORBPackage; \
+ org.omg.CORBA.portable; \
+ org.omg.CORBA.TypeCodePackage; \
+ org.omg.CosNaming; \
+ org.omg.CosNaming.NamingContextExtPackage; \
+ org.omg.CosNaming.NamingContextPackage; \
+ org.omg.Dynamic; \
+ org.omg.DynamicAny; \
+ org.omg.DynamicAny.DynAnyFactoryPackage; \
+ org.omg.DynamicAny.DynAnyPackage; \
+ org.omg.IOP; \
+ org.omg.IOP.CodecFactoryPackage; \
+ org.omg.IOP.CodecPackage; \
+ org.omg.Messaging; \
+ org.omg.PortableInterceptor; \
+ org.omg.PortableInterceptor.ORBInitInfoPackage; \
+ org.omg.PortableServer; \
+ org.omg.PortableServer.CurrentPackage; \
+ org.omg.PortableServer.POAManagerPackage; \
+ org.omg.PortableServer.POAPackage; \
+ org.omg.PortableServer.portable; \
+ org.omg.PortableServer.ServantLocatorPackage; \
+ org.omg.SendingContext; \
+ org.omg.stub.java.rmi; \
+ org.omg.stub.javax.management.remote.rmi; \
+ org.w3c.dom; \
+ org.w3c.dom.bootstrap; \
+ org.w3c.dom.css; \
+ org.w3c.dom.events; \
+ org.w3c.dom.html; \
+ org.w3c.dom.ls; \
+ org.w3c.dom.ranges; \
+ org.w3c.dom.stylesheets; \
+ org.w3c.dom.traversal; \
+ org.w3c.dom.views; \
+ org.w3c.dom.xpath; \
+ org.xml.sax; \
+ org.xml.sax.ext; \
+ org.xml.sax.helpers; \
+ version=\"1.6.0\"
Deleted: labs/jbossesb/workspace/skeagh/examples/file-routing/pom.xml
===================================================================
--- labs/jbossesb/workspace/skeagh/examples/file-router/pom.xml 2008-11-30 19:02:46 UTC (rev 24152)
+++ labs/jbossesb/workspace/skeagh/examples/file-routing/pom.xml 2008-11-30 19:58:57 UTC (rev 24154)
@@ -1,110 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>jboss.jbossesb</groupId>
- <artifactId>jbossesb-examples</artifactId>
- <version>${jboss.esb.version}</version>
- </parent>
- <name>JBoss ESB - File Router Example</name>
- <groupId>jboss.jbossesb</groupId>
- <artifactId>jbossesb-examples-file-router</artifactId>
- <version>${jboss.esb.version}</version>
- <url>http://www.jboss.org/jbossesb/</url>
- <packaging>bundle</packaging>
-
- <properties>
- <!-- Felix debug level. 4 = debug -->
- <felix.log.level>4</felix.log.level>
- <example.work.dir>${basedir}/target</example.work.dir>
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- <version>1.2.14</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.main</artifactId>
- <version>1.2.1</version>
- </dependency>
-
- <!-- JBossESB OSGi bundle -->
- <dependency>
- <groupId>jboss.jbossesb</groupId>
- <artifactId>jbossesb-api</artifactId>
- <version>${jboss.esb.version}</version>
- </dependency>
- <dependency>
- <groupId>jboss.jbossesb</groupId>
- <artifactId>jbossesb-osgi-runtime</artifactId>
- <version>${jboss.esb.version}</version>
- </dependency>
-
- <!-- JBossESB File Routing bundle -->
- <dependency>
- <groupId>jboss.jbossesb</groupId>
- <artifactId>jbossesb-routing-file</artifactId>
- <version>${jboss.esb.version}</version>
- </dependency>
-
- <dependency>
- <groupId>jboss.jbossesb</groupId>
- <artifactId>jbossesb-routing-jms</artifactId>
- <version>${jboss.esb.version}</version>
- </dependency>
- </dependencies>
-
- <build>
- <resources>
- <resource>
- <directory>${basedir}/src/main/resources/</directory>
- <filtering>true</filtering>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <id>build-config-files</id>
- <phase>compile</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <tasks>
- <property name="runtime-classpath" refid="maven.runtime.classpath"/>
- <mkdir dir="${basedir}/target/input"/>
- </tasks>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.ops4j</groupId>
- <artifactId>maven-pax-plugin</artifactId>
- <version>1.3</version>
- <extensions>true</extensions>
- </plugin>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <version>1.4.0</version>
- <extensions>true</extensions>
- <configuration>
- <instructions>
- <Export-Package>org.jboss.esb.examples.filerouter</Export-Package>
- <Import-Package>org.jboss.esb.file, org.jboss.esb.schedule, org.jboss.esb.api.*, *;resolution:=optional</Import-Package> <!-- TODO: Replace global import with explicit package imports? -->
- <Embed-Dependency>log4j</Embed-Dependency>
- <Embed-Transitive>true</Embed-Transitive>
- </instructions>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
-</project>
Copied: labs/jbossesb/workspace/skeagh/examples/file-routing/pom.xml (from rev 24153, labs/jbossesb/workspace/skeagh/examples/file-router/pom.xml)
===================================================================
--- labs/jbossesb/workspace/skeagh/examples/file-routing/pom.xml (rev 0)
+++ labs/jbossesb/workspace/skeagh/examples/file-routing/pom.xml 2008-11-30 19:58:57 UTC (rev 24154)
@@ -0,0 +1,110 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>jboss.jbossesb</groupId>
+ <artifactId>jbossesb-examples</artifactId>
+ <version>${jboss.esb.version}</version>
+ </parent>
+ <name>JBoss ESB - File Router Example</name>
+ <groupId>jboss.jbossesb</groupId>
+ <artifactId>jbossesb-examples-file-router</artifactId>
+ <version>${jboss.esb.version}</version>
+ <url>http://www.jboss.org/jbossesb/</url>
+ <packaging>bundle</packaging>
+
+ <properties>
+ <!-- Felix debug level. 4 = debug -->
+ <felix.log.level>4</felix.log.level>
+ <example.work.dir>${basedir}/target</example.work.dir>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>1.2.14</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.main</artifactId>
+ <version>1.2.1</version>
+ </dependency>
+
+ <!-- JBossESB OSGi bundle -->
+ <dependency>
+ <groupId>jboss.jbossesb</groupId>
+ <artifactId>jbossesb-api</artifactId>
+ <version>${jboss.esb.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>jboss.jbossesb</groupId>
+ <artifactId>jbossesb-osgi-runtime</artifactId>
+ <version>${jboss.esb.version}</version>
+ </dependency>
+
+ <!-- JBossESB File Routing bundle -->
+ <dependency>
+ <groupId>jboss.jbossesb</groupId>
+ <artifactId>jbossesb-routing-file</artifactId>
+ <version>${jboss.esb.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>jboss.jbossesb</groupId>
+ <artifactId>jbossesb-routing-jms</artifactId>
+ <version>${jboss.esb.version}</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <resources>
+ <resource>
+ <directory>${basedir}/src/main/resources/</directory>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>build-config-files</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <property name="runtime-classpath" refid="maven.runtime.classpath"/>
+ <mkdir dir="${basedir}/target/input"/>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.ops4j</groupId>
+ <artifactId>maven-pax-plugin</artifactId>
+ <version>1.3</version>
+ <extensions>true</extensions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <version>1.4.0</version>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Export-Package>org.jboss.esb.examples.filerouter</Export-Package>
+ <Import-Package>org.jboss.esb.file, org.jboss.esb.schedule, org.jboss.esb.api.*, *;resolution:=optional</Import-Package> <!-- TODO: Replace global import with explicit package imports? -->
+ <Embed-Dependency>log4j</Embed-Dependency>
+ <Embed-Transitive>true</Embed-Transitive>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
Deleted: labs/jbossesb/workspace/skeagh/examples/file-routing/run.bat
===================================================================
--- labs/jbossesb/workspace/skeagh/examples/file-router/run.bat 2008-11-30 19:02:46 UTC (rev 24152)
+++ labs/jbossesb/workspace/skeagh/examples/file-routing/run.bat 2008-11-30 19:58:57 UTC (rev 24154)
@@ -1,15 +0,0 @@
- at echo off
-
-setlocal
-
-set JAVA_OPTS=
-
-if "%1" == "-debug" (
- set JAVA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y %JAVA_OPTS%
-)
-
-set FELIX_JAR="%USERPROFILE%\.m2\repository\org\apache\felix\org.apache.felix.main\1.2.1\org.apache.felix.main-1.2.1.jar"
-
-"%JAVA_HOME%\bin\java" %JAVA_OPTS% -jar %FELIX_JAR%
-
-endlocal
\ No newline at end of file
Copied: labs/jbossesb/workspace/skeagh/examples/file-routing/run.bat (from rev 24153, labs/jbossesb/workspace/skeagh/examples/file-router/run.bat)
===================================================================
--- labs/jbossesb/workspace/skeagh/examples/file-routing/run.bat (rev 0)
+++ labs/jbossesb/workspace/skeagh/examples/file-routing/run.bat 2008-11-30 19:58:57 UTC (rev 24154)
@@ -0,0 +1,15 @@
+ at echo off
+
+setlocal
+
+set JAVA_OPTS=
+
+if "%1" == "-debug" (
+ set JAVA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y %JAVA_OPTS%
+)
+
+set FELIX_JAR="%USERPROFILE%\.m2\repository\org\apache\felix\org.apache.felix.main\1.2.1\org.apache.felix.main-1.2.1.jar"
+
+"%JAVA_HOME%\bin\java" %JAVA_OPTS% -jar %FELIX_JAR%
+
+endlocal
\ No newline at end of file
Copied: labs/jbossesb/workspace/skeagh/examples/file-routing/src (from rev 24153, labs/jbossesb/workspace/skeagh/examples/file-router/src)
Copied: labs/jbossesb/workspace/skeagh/examples/jms-routing (from rev 24152, labs/jbossesb/workspace/skeagh/examples/jms-router)
Deleted: labs/jbossesb/workspace/skeagh/examples/jms-routing/README.TXT
===================================================================
--- labs/jbossesb/workspace/skeagh/examples/jms-router/README.TXT 2008-11-30 19:02:46 UTC (rev 24152)
+++ labs/jbossesb/workspace/skeagh/examples/jms-routing/README.TXT 2008-11-30 19:58:57 UTC (rev 24154)
@@ -1,61 +0,0 @@
-About This Example:
-===================
- This example illustrates a simple JBossESB 5.0 JMS Inbound and Outbound Routers.
-
-How to Run?
-===========
- Requirements:
- 1. JDK 1.5
- 2. Maven 2.x (http://maven.apache.org/download.html)
-
- Running:
- 1. From the 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-jms-router 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-jms-router 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.
- To exit the client type CTRL-C.
-
- We recommend that you setup the windows so they call can be seen at the same time. The jms-provider
- window does not need to be visible as no output is expected to it.
-
-Expected output
-===============
- "Window 4" (JMS Client):
- > Specify message payload test >some text
- Sent message [ID:danbev-laptop-41003-1227008237853-1:0:1:1:1] to [jbossesb.TestQueue]
-
- "Window 3" (esb service deployment):
- ---------------------------------------------------------------------->
- Message payload 'some text'
- <----------------------------------------------------------------------
-
- "Window 2" (jms-consumer):
- [ Received Message[1]
- [JMSMessageID : ID:danbev-laptop-54663-1227008186571-1:0:1:1:1]
- [JMSCorrelelationID : ID:danbev-laptop-41003-1227008237853-1:0:1:1:1]
- [MessageType : TextMessage]
- [Text :
- some text]
- ]
-
-Things to try
-=============
- At the felix commmand prompt ("Window 2"):
- >ps // will list all bundles
- >stop <id> // use the id of the JBoss ESB - JMS Router Example (5.0.0.SNAPSHOT)
- >start <id> // use the id of the JBoss ESB - JMS Router Example (5.0.0.SNAPSHOT)
-
- Notice how the esb undeploy and deploys the bundle.
-
Copied: labs/jbossesb/workspace/skeagh/examples/jms-routing/README.TXT (from rev 24153, labs/jbossesb/workspace/skeagh/examples/jms-router/README.TXT)
===================================================================
--- labs/jbossesb/workspace/skeagh/examples/jms-routing/README.TXT (rev 0)
+++ labs/jbossesb/workspace/skeagh/examples/jms-routing/README.TXT 2008-11-30 19:58:57 UTC (rev 24154)
@@ -0,0 +1,61 @@
+About This Example:
+===================
+ This example illustrates a simple JBossESB 5.0 JMS Inbound and Outbound Routers.
+
+How to Run?
+===========
+ Requirements:
+ 1. JDK 1.5
+ 2. Maven 2.x (http://maven.apache.org/download.html)
+
+ Running:
+ 1. From the "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:
+ "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:
+ "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.
+ To exit the client type CTRL-C.
+
+ We recommend that you setup the windows so they call can be seen at the same time. The jms-provider
+ window does not need to be visible as no output is expected to it.
+
+Expected output
+===============
+ "Window 4" (JMS Client):
+ > Specify message payload test >some text
+ Sent message [ID:danbev-laptop-41003-1227008237853-1:0:1:1:1] to [jbossesb.TestQueue]
+
+ "Window 3" (esb service deployment):
+ ---------------------------------------------------------------------->
+ Message payload 'some text'
+ <----------------------------------------------------------------------
+
+ "Window 2" (jms-consumer):
+ [ Received Message[1]
+ [JMSMessageID : ID:danbev-laptop-54663-1227008186571-1:0:1:1:1]
+ [JMSCorrelelationID : ID:danbev-laptop-41003-1227008237853-1:0:1:1:1]
+ [MessageType : TextMessage]
+ [Text :
+ some text]
+ ]
+
+Things to try
+=============
+ At the felix commmand prompt ("Window 2"):
+ >ps // will list all bundles
+ >stop <id> // use the id of the JBoss ESB - JMS Router Example (5.0.0.SNAPSHOT)
+ >start <id> // use the id of the JBoss ESB - JMS Router Example (5.0.0.SNAPSHOT)
+
+ Notice how the esb undeploy and deploys the bundle.
+
Copied: labs/jbossesb/workspace/skeagh/examples/jms-routing/esb (from rev 24153, labs/jbossesb/workspace/skeagh/examples/jms-router/esb)
Copied: labs/jbossesb/workspace/skeagh/examples/jms-routing/jms-consumer (from rev 24153, labs/jbossesb/workspace/skeagh/examples/jms-router/jms-consumer)
Copied: labs/jbossesb/workspace/skeagh/examples/jms-routing/jms-provider (from rev 24153, labs/jbossesb/workspace/skeagh/examples/jms-router/jms-provider)
Deleted: labs/jbossesb/workspace/skeagh/examples/jms-routing/pom.xml
===================================================================
--- labs/jbossesb/workspace/skeagh/examples/jms-router/pom.xml 2008-11-30 19:02:46 UTC (rev 24152)
+++ labs/jbossesb/workspace/skeagh/examples/jms-routing/pom.xml 2008-11-30 19:58:57 UTC (rev 24154)
@@ -1,75 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>jboss.jbossesb</groupId>
- <artifactId>jbossesb-examples</artifactId>
- <version>${jboss.esb.version}</version>
- </parent>
- <name>JBoss ESB - JMS Router Example</name>
- <groupId>jboss.jbossesb</groupId>
- <artifactId>jbossesb-examples-jms-router</artifactId>
- <version>${jboss.esb.version}</version>
- <url>http://www.jboss.org/jbossesb/</url>
- <packaging>pom</packaging>
-
- <modules>
- <module>jms-provider</module>
- <module>jms-consumer</module>
- <module>esb-jms-router</module>
- </modules>
-
- <dependencies>
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- <version>1.2.14</version>
- </dependency>
- <dependency>
- <groupId>org.apache.activemq</groupId>
- <artifactId>activemq-core</artifactId>
- <version>4.1.2</version>
- </dependency>
- <dependency>
- <groupId>org.apache.derby</groupId>
- <artifactId>derby</artifactId>
- <version>10.1.1.0</version>
- </dependency>
- <dependency>
- <groupId>mx4j</groupId>
- <artifactId>mx4j</artifactId>
- <version>3.0.2</version>
- </dependency>
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-jms_1.1_spec</artifactId>
- <version>1.1.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-j2ee-management_1.1_spec</artifactId>
- <version>1.0-M1</version>
- </dependency>
- <dependency>
- <groupId>javax.jms</groupId>
- <artifactId>jms</artifactId>
- <version>1.1</version>
- </dependency>
- <dependency>
- <groupId>mx4j</groupId>
- <artifactId>mx4j-tools</artifactId>
- <version>3.0.1</version>
- </dependency>
- <dependency>
- <groupId>backport-util-concurrent</groupId>
- <artifactId>backport-util-concurrent</artifactId>
- <version>3.1</version>
- </dependency>
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- <version>1.1.1</version>
- </dependency>
- </dependencies>
-
-</project>
Copied: labs/jbossesb/workspace/skeagh/examples/jms-routing/pom.xml (from rev 24153, labs/jbossesb/workspace/skeagh/examples/jms-router/pom.xml)
===================================================================
--- labs/jbossesb/workspace/skeagh/examples/jms-routing/pom.xml (rev 0)
+++ labs/jbossesb/workspace/skeagh/examples/jms-routing/pom.xml 2008-11-30 19:58:57 UTC (rev 24154)
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>jboss.jbossesb</groupId>
+ <artifactId>jbossesb-examples</artifactId>
+ <version>${jboss.esb.version}</version>
+ </parent>
+ <name>JBoss ESB - JMS Router Example</name>
+ <groupId>jboss.jbossesb</groupId>
+ <artifactId>jbossesb-examples-jms-routing</artifactId>
+ <version>${jboss.esb.version}</version>
+ <url>http://www.jboss.org/jbossesb/</url>
+ <packaging>pom</packaging>
+
+ <modules>
+ <module>esb</module>
+ <module>jms-provider</module>
+ <module>jms-consumer</module>
+ </modules>
+
+ <dependencies>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>1.2.14</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-core</artifactId>
+ <version>4.1.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.derby</groupId>
+ <artifactId>derby</artifactId>
+ <version>10.1.1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>mx4j</groupId>
+ <artifactId>mx4j</artifactId>
+ <version>3.0.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-jms_1.1_spec</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-j2ee-management_1.1_spec</artifactId>
+ <version>1.0-M1</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.jms</groupId>
+ <artifactId>jms</artifactId>
+ <version>1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>mx4j</groupId>
+ <artifactId>mx4j-tools</artifactId>
+ <version>3.0.1</version>
+ </dependency>
+ <dependency>
+ <groupId>backport-util-concurrent</groupId>
+ <artifactId>backport-util-concurrent</artifactId>
+ <version>3.1</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ </dependencies>
+
+</project>
Deleted: labs/jbossesb/workspace/skeagh/examples/jms-routing/run.bat
===================================================================
--- labs/jbossesb/workspace/skeagh/examples/jms-router/run.bat 2008-11-30 19:02:46 UTC (rev 24152)
+++ labs/jbossesb/workspace/skeagh/examples/jms-routing/run.bat 2008-11-30 19:58:57 UTC (rev 24154)
@@ -1,15 +0,0 @@
- at echo off
-
-setlocal
-
-set JAVA_OPTS=
-
-if "%1" == "-debug" (
- set JAVA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y %JAVA_OPTS%
-)
-
-set FELIX_JAR="%USERPROFILE%\.m2\repository\org\apache\felix\org.apache.felix.main\1.2.1\org.apache.felix.main-1.2.1.jar"
-
-"%JAVA_HOME%\bin\java" %JAVA_OPTS% -jar %FELIX_JAR%
-
-endlocal
\ No newline at end of file
Copied: labs/jbossesb/workspace/skeagh/examples/jms-routing/run.bat (from rev 24153, labs/jbossesb/workspace/skeagh/examples/jms-router/run.bat)
===================================================================
--- labs/jbossesb/workspace/skeagh/examples/jms-routing/run.bat (rev 0)
+++ labs/jbossesb/workspace/skeagh/examples/jms-routing/run.bat 2008-11-30 19:58:57 UTC (rev 24154)
@@ -0,0 +1,15 @@
+ at echo off
+
+setlocal
+
+set JAVA_OPTS=
+
+if "%1" == "-debug" (
+ set JAVA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y %JAVA_OPTS%
+)
+
+set FELIX_JAR="%USERPROFILE%\.m2\repository\org\apache\felix\org.apache.felix.main\1.2.1\org.apache.felix.main-1.2.1.jar"
+
+"%JAVA_HOME%\bin\java" %JAVA_OPTS% -jar %FELIX_JAR%
+
+endlocal
\ No newline at end of file
Modified: labs/jbossesb/workspace/skeagh/examples/pom.xml
===================================================================
--- labs/jbossesb/workspace/skeagh/examples/pom.xml 2008-11-30 19:27:04 UTC (rev 24153)
+++ labs/jbossesb/workspace/skeagh/examples/pom.xml 2008-11-30 19:58:57 UTC (rev 24154)
@@ -20,8 +20,8 @@
<url>http://www.jboss.org/jbossesb/</url>
<modules>
- <module>jms-router</module>
- <module>file-router</module>
+ <module>jms-routing</module>
+ <module>file-routing</module>
</modules>
</project>
More information about the jboss-svn-commits
mailing list