[jboss-svn-commits] JBL Code SVN: r22910 - in labs/jbossesb/workspace/skeagh: routing and 13 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Sep 19 02:41:13 EDT 2008


Author: tfennelly
Date: 2008-09-19 02:41:13 -0400 (Fri, 19 Sep 2008)
New Revision: 22910

Added:
   labs/jbossesb/workspace/skeagh/routing/esb/
   labs/jbossesb/workspace/skeagh/routing/esb/jbossesb-routing-esb.iml
   labs/jbossesb/workspace/skeagh/routing/esb/osgi.bnd
   labs/jbossesb/workspace/skeagh/routing/esb/pom.xml
   labs/jbossesb/workspace/skeagh/routing/esb/src/
   labs/jbossesb/workspace/skeagh/routing/esb/src/main/
   labs/jbossesb/workspace/skeagh/routing/esb/src/main/java/
   labs/jbossesb/workspace/skeagh/routing/esb/src/main/java/org/
   labs/jbossesb/workspace/skeagh/routing/esb/src/main/java/org/jboss/
   labs/jbossesb/workspace/skeagh/routing/esb/src/main/java/org/jboss/esb/
   labs/jbossesb/workspace/skeagh/routing/esb/src/main/java/org/jboss/esb/ServiceInvoker.java
   labs/jbossesb/workspace/skeagh/routing/esb/src/main/java/org/jboss/esb/ServiceRouter.java
   labs/jbossesb/workspace/skeagh/routing/esb/src/main/java/org/jboss/esb/package.html
   labs/jbossesb/workspace/skeagh/routing/esb/src/main/java/overview.html
   labs/jbossesb/workspace/skeagh/routing/esb/src/main/resources/
   labs/jbossesb/workspace/skeagh/routing/esb/src/test/
   labs/jbossesb/workspace/skeagh/routing/esb/src/test/java/
   labs/jbossesb/workspace/skeagh/routing/esb/src/test/java/org/
   labs/jbossesb/workspace/skeagh/routing/esb/src/test/java/org/jboss/
   labs/jbossesb/workspace/skeagh/routing/esb/src/test/java/org/jboss/esb/
   labs/jbossesb/workspace/skeagh/routing/esb/src/test/resources/
   labs/jbossesb/workspace/skeagh/routing/esb/src/test/resources/log4j.xml
   labs/jbossesb/workspace/skeagh/runtime/src/test/java/org/jboss/esb/federate/bus/scenario2/
Removed:
   labs/jbossesb/workspace/skeagh/api/service/src/main/java/org/jboss/esb/invocation/
Modified:
   labs/jbossesb/workspace/skeagh/routing/pom.xml
Log:
added the "esb" routing package

Added: labs/jbossesb/workspace/skeagh/routing/esb/jbossesb-routing-esb.iml
===================================================================
--- labs/jbossesb/workspace/skeagh/routing/esb/jbossesb-routing-esb.iml	                        (rev 0)
+++ labs/jbossesb/workspace/skeagh/routing/esb/jbossesb-routing-esb.iml	2008-09-19 06:41:13 UTC (rev 22910)
@@ -0,0 +1,213 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module relativePaths="false" type="JAVA_MODULE" version="4">
+  <component name="NewModuleRootManager" inherit-compiler-output="false">
+    <output url="file://$MODULE_DIR$/target/classes" />
+    <exclude-output />
+    <output-test url="file://$MODULE_DIR$/target/test-classes" />
+    <content url="file://$MODULE_DIR$">
+      <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
+      <sourceFolder url="file://$MODULE_DIR$/src/main/resources" isTestSource="false" />
+      <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
+      <sourceFolder url="file://$MODULE_DIR$/src/test/resources" isTestSource="true" />
+      <excludeFolder url="file://$MODULE_DIR$/target" />
+    </content>
+    <orderEntry type="inheritedJdk" />
+    <orderEntry type="sourceFolder" forTests="false" />
+    <orderEntry type="module-library">
+      <library>
+        <CLASSES>
+          <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/org/osgi/osgi_R4_compendium/1.0/osgi_R4_compendium-1.0.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module" module-name="jbossesb-testutil" />
+    <orderEntry type="module-library">
+      <library>
+        <CLASSES>
+          <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library>
+        <CLASSES>
+          <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/org/apache/activemq/activemq-core/4.1.2/activemq-core-4.1.2.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library>
+        <CLASSES>
+          <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/backport-util-concurrent/backport-util-concurrent/2.1/backport-util-concurrent-2.1.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library>
+        <CLASSES>
+          <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library>
+        <CLASSES>
+          <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/org/apache/activemq/activeio-core/3.0.1/activeio-core-3.0.1.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library>
+        <CLASSES>
+          <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/org/apache/geronimo/specs/geronimo-jms_1.1_spec/1.1.1/geronimo-jms_1.1_spec-1.1.1.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library>
+        <CLASSES>
+          <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/org/apache/geronimo/specs/geronimo-j2ee-management_1.0_spec/1.0/geronimo-j2ee-management_1.0_spec-1.0.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library>
+        <CLASSES>
+          <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/org/apache/derby/derby/10.1.1.0/derby-10.1.1.0.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module" module-name="jbossesb-rt" />
+    <orderEntry type="module" module-name="jbossesb-commons" />
+    <orderEntry type="module" module-name="jbossesb-api-service" />
+    <orderEntry type="module" module-name="jbossesb-api-routing" />
+    <orderEntry type="module-library">
+      <library>
+        <CLASSES>
+          <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/org/milyn/milyn-smooks-javabean/1.1-SNAPSHOT/milyn-smooks-javabean-1.1-SNAPSHOT.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library>
+        <CLASSES>
+          <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/commons-lang/commons-lang/2.1/commons-lang-2.1.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library>
+        <CLASSES>
+          <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/org/milyn/milyn-smooks-core/1.1-SNAPSHOT/milyn-smooks-core-1.1-SNAPSHOT.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library>
+        <CLASSES>
+          <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/org/milyn/milyn-commons/1.1-SNAPSHOT/milyn-commons-1.1-SNAPSHOT.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library>
+        <CLASSES>
+          <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/hsqldb/hsqldb/1.8.0.7/hsqldb-1.8.0.7.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library>
+        <CLASSES>
+          <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/com/thoughtworks/xstream/xstream/1.2.2/xstream-1.2.2.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library>
+        <CLASSES>
+          <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/xpp3/xpp3_min/1.1.3.4.O/xpp3_min-1.1.3.4.O.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library>
+        <CLASSES>
+          <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/org/mvel/mvel/1.3.3-java1.5/mvel-1.3.3-java1.5.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library>
+        <CLASSES>
+          <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/org/freemarker/freemarker/2.3.9/freemarker-2.3.9.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library>
+        <CLASSES>
+          <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/quartz/quartz/1.5.2/quartz-1.5.2.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library>
+        <CLASSES>
+          <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/junit/junit/4.4/junit-4.4.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library>
+        <CLASSES>
+          <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/org/osgi/osgi_R4_core/1.0/osgi_R4_core-1.0.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntryProperties />
+  </component>
+</module>
+

Added: labs/jbossesb/workspace/skeagh/routing/esb/osgi.bnd
===================================================================
--- labs/jbossesb/workspace/skeagh/routing/esb/osgi.bnd	                        (rev 0)
+++ labs/jbossesb/workspace/skeagh/routing/esb/osgi.bnd	2008-09-19 06:41:13 UTC (rev 22910)
@@ -0,0 +1,5 @@
+#-----------------------------------------------------------------
+# Use this file to add customized Bnd instructions for the bundle
+#-----------------------------------------------------------------
+
+Export-Package: org.jboss.esb*

Added: labs/jbossesb/workspace/skeagh/routing/esb/pom.xml
===================================================================
--- labs/jbossesb/workspace/skeagh/routing/esb/pom.xml	                        (rev 0)
+++ labs/jbossesb/workspace/skeagh/routing/esb/pom.xml	2008-09-19 06:41:13 UTC (rev 22910)
@@ -0,0 +1,17 @@
+<?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>routing</artifactId>
+        <version>5.0-SNAPSHOT</version>
+    </parent>
+    <name>JBoss ESB - Routing (ESB)</name>
+    <groupId>jboss.jbossesb</groupId>
+    <artifactId>jbossesb-routing-esb</artifactId>
+    <version>${jboss.esb.version}</version>
+    <url>http://www.jboss.org/jbossesb/</url>
+	<packaging>bundle</packaging>
+
+</project>


Property changes on: labs/jbossesb/workspace/skeagh/routing/esb/pom.xml
___________________________________________________________________
Name: svn:mime-type
   + text/xml
Name: svn:eol-style
   + native

Added: labs/jbossesb/workspace/skeagh/routing/esb/src/main/java/org/jboss/esb/ServiceInvoker.java
===================================================================
--- labs/jbossesb/workspace/skeagh/routing/esb/src/main/java/org/jboss/esb/ServiceInvoker.java	                        (rev 0)
+++ labs/jbossesb/workspace/skeagh/routing/esb/src/main/java/org/jboss/esb/ServiceInvoker.java	2008-09-19 06:41:13 UTC (rev 22910)
@@ -0,0 +1,68 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright XXXX, Red Hat Middleware LLC, and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2005-2008, JBoss Inc.
+ */
+package org.jboss.esb;
+
+import org.jboss.esb.message.Message;
+import org.jboss.esb.service.ServiceName;
+
+/**
+ * Service Invoker.
+ *
+ * @author <a href="mailto:Kevin.Conner at jboss.com">Kevin Conner</a>
+ * @author <a href="mailto:tcunning at redhat.com">Tom Cunningham</a>
+ * @author <a href="mailto:dbevenius at redhat.com">Daniel Bevenius</a>
+ * @author <a href="mailto:tom.fennelly at jboss.com">Tom Fennelly</a>
+ */
+public class ServiceInvoker
+{
+    /**
+     * Get the ServiceInvoker instance for the deployment.
+     * @return The ServiceInvoker instance.
+     */
+    public static ServiceInvoker getServiceInvoker()
+    {
+        return null;
+    }
+
+    /**
+     * Send the supplied message to the specified Service.
+     * <p/>
+     * Supports an asynchronous replyTo.
+     *
+     * @param message The message to be sent.
+     * @param to The Service to which the message is to be sent.
+     * @param replyTo The Service to which the reply should be sent.
+     */
+    public void send(final Message message, final ServiceName to, final ServiceName replyTo)
+    {
+
+    }
+
+    /**
+     * Send the supplied message to the specified Service.
+     *
+     * @param message The message to be sent.
+     * @param to The Service to which the message is to be sent.
+     */
+    public void sendOneWay(final Message message, final ServiceName to)
+    {
+
+    }
+}


Property changes on: labs/jbossesb/workspace/skeagh/routing/esb/src/main/java/org/jboss/esb/ServiceInvoker.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: labs/jbossesb/workspace/skeagh/routing/esb/src/main/java/org/jboss/esb/ServiceRouter.java
===================================================================
--- labs/jbossesb/workspace/skeagh/routing/esb/src/main/java/org/jboss/esb/ServiceRouter.java	                        (rev 0)
+++ labs/jbossesb/workspace/skeagh/routing/esb/src/main/java/org/jboss/esb/ServiceRouter.java	2008-09-19 06:41:13 UTC (rev 22910)
@@ -0,0 +1,45 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright XXXX, Red Hat Middleware LLC, and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2005-2008, JBoss Inc.
+ */
+package org.jboss.esb;
+
+import org.jboss.esb.message.Message;
+import org.jboss.esb.routing.OutboundRouter;
+import org.jboss.esb.routing.RoutingException;
+
+/**
+ * Service Message {@link OutboundRouter}.
+ * <p/>
+ * Allows routing to an ESB message to another Service instance.
+ *
+ * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
+ */
+public class ServiceRouter implements OutboundRouter
+{
+
+    /**
+     * Route the message.
+     *
+     * @param message The message to be routed.
+     * @throws RoutingException An exception occured while routing the message.
+     */
+    public final void route(final Message message) throws RoutingException
+    {
+    }
+}


Property changes on: labs/jbossesb/workspace/skeagh/routing/esb/src/main/java/org/jboss/esb/ServiceRouter.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: labs/jbossesb/workspace/skeagh/routing/esb/src/main/java/org/jboss/esb/package.html
===================================================================
--- labs/jbossesb/workspace/skeagh/routing/esb/src/main/java/org/jboss/esb/package.html	                        (rev 0)
+++ labs/jbossesb/workspace/skeagh/routing/esb/src/main/java/org/jboss/esb/package.html	2008-09-19 06:41:13 UTC (rev 22910)
@@ -0,0 +1,8 @@
+<html>
+<head></head>
+<body>
+ESB Message Aware Routing.
+
+<h2>Package Specification</h2>
+</body>
+</html>
\ No newline at end of file

Added: labs/jbossesb/workspace/skeagh/routing/esb/src/main/java/overview.html
===================================================================
--- labs/jbossesb/workspace/skeagh/routing/esb/src/main/java/overview.html	                        (rev 0)
+++ labs/jbossesb/workspace/skeagh/routing/esb/src/main/java/overview.html	2008-09-19 06:41:13 UTC (rev 22910)
@@ -0,0 +1,9 @@
+<html>
+<head></head>
+<body>
+JBoss Routing - ESB Aware.
+
+<h1>Overview</h1>
+This package defines classes used to perform "ESB Aware" message routing.
+</body>
+</html>
\ No newline at end of file

Added: labs/jbossesb/workspace/skeagh/routing/esb/src/test/resources/log4j.xml
===================================================================
--- labs/jbossesb/workspace/skeagh/routing/esb/src/test/resources/log4j.xml	                        (rev 0)
+++ labs/jbossesb/workspace/skeagh/routing/esb/src/test/resources/log4j.xml	2008-09-19 06:41:13 UTC (rev 22910)
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Log4j Configuration                                                  -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<!--
+   | For more configuration infromation and examples see the Jakarta Log4j
+   | owebsite: http://jakarta.apache.org/log4j
+ -->
+
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
+
+   <!-- ============================== -->
+   <!-- Append messages to the console -->
+   <!-- ============================== -->
+
+   <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
+      <param name="Target" value="System.out"/>
+
+      <layout class="org.apache.log4j.PatternLayout">
+         <!-- The default pattern: Date Priority [Category] Message\n -->
+         <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%t][%c{1}] %m%n"/>
+      </layout>
+   </appender>
+
+   <!-- ================ -->
+   <!-- Limit categories -->
+
+   <category name="org.milyn">
+      <priority value="error"/>
+   </category>
+   
+   <category name="org.quartz">
+      <priority value="error"/>
+   </category>
+   
+   <category name="org.jboss">
+      <priority value="error"/>
+   </category>
+
+   <category name="org.jboss.esb.jms">
+      <priority value="info"/>
+   </category>
+   
+   <category name="org.apache.activemq">
+      <priority value="ERROR"/>
+   </category>
+
+   <!-- ======================= -->
+   <!-- Setup the Root category -->
+   <!-- ======================= -->
+
+   <root>
+      <appender-ref ref="CONSOLE"/>
+   </root>
+
+</log4j:configuration>
+


Property changes on: labs/jbossesb/workspace/skeagh/routing/esb/src/test/resources/log4j.xml
___________________________________________________________________
Name: svn:mime-type
   + text/xml
Name: svn:eol-style
   + native

Modified: labs/jbossesb/workspace/skeagh/routing/pom.xml
===================================================================
--- labs/jbossesb/workspace/skeagh/routing/pom.xml	2008-09-19 06:11:58 UTC (rev 22909)
+++ labs/jbossesb/workspace/skeagh/routing/pom.xml	2008-09-19 06:41:13 UTC (rev 22910)
@@ -15,6 +15,7 @@
     <url>http://www.jboss.org/jbossesb/</url>
 
     <modules>
+        <module>esb</module>
         <!-- module>file</module -->
         <module>jms</module>
     </modules>




More information about the jboss-svn-commits mailing list