Overlord SVN: r345 - in cdl/trunk/docs: docbook and 1 other directories.
by overlord-commits@lists.jboss.org
Author: jeff.yuchang
Date: 2008-09-25 14:39:40 -0400 (Thu, 25 Sep 2008)
New Revision: 345
Added:
cdl/trunk/docs/docbook/
cdl/trunk/docs/docbook/images/
cdl/trunk/docs/docbook/master.xml
cdl/trunk/docs/docbook/module/
cdl/trunk/docs/docbook/module/author_group.xml
cdl/trunk/docs/docbook/module/getting_started.xml
cdl/trunk/docs/docbook/module/template.xml
cdl/trunk/docs/docbook/pom.xml
cdl/trunk/docs/docbook/src/
Log:
* Add jdocbook module.
Added: cdl/trunk/docs/docbook/master.xml
===================================================================
--- cdl/trunk/docs/docbook/master.xml (rev 0)
+++ cdl/trunk/docs/docbook/master.xml 2008-09-25 18:39:40 UTC (rev 345)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
+<!ENTITY % RH-ENTITIES SYSTEM "Common_Config/rh-entities.ent">
+]>
+
+<book lang="en">
+ <bookinfo>
+ <title>JBoss Overlord CDL 1.0</title>
+ <subtitle>User Guide</subtitle>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="module/author_group.xml"/>
+ </bookinfo>
+
+ <toc/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="module/getting_started.xml"/>
+
+</book>
Added: cdl/trunk/docs/docbook/module/author_group.xml
===================================================================
--- cdl/trunk/docs/docbook/module/author_group.xml (rev 0)
+++ cdl/trunk/docs/docbook/module/author_group.xml 2008-09-25 18:39:40 UTC (rev 345)
@@ -0,0 +1,6 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE authorgroup PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+]>
+<authorgroup>
+ <corpauthor>Gary Brown</corpauthor>
+</authorgroup>
Added: cdl/trunk/docs/docbook/module/getting_started.xml
===================================================================
--- cdl/trunk/docs/docbook/module/getting_started.xml (rev 0)
+++ cdl/trunk/docs/docbook/module/getting_started.xml 2008-09-25 18:39:40 UTC (rev 345)
@@ -0,0 +1,211 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE authorgroup PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+]>
+<chapter id="gettingstarted">
+ <title>Getting Started</title>
+ <section>
+ <title>SOA Governance with CDL </title>
+ <section>
+ <title>Overview</title>
+ <para>
+ The CDL component of the Overlord SOA governance project aims to leverage the concept of a choreography (or conversation)
+ description to provide design-time and run-time governance of an SOA.
+ </para>
+ <para>
+ A Choreography provides the means to describe the service interactions between multiple parties from a global (or service neutral) perspective.
+ This means that it is possible for an organisation to define how an end-to-end business process should function, regardless of whether orchestrated
+ or peer-to-peer service collaboration will be used.
+ </para>
+ <para>
+ Although in simple situations, a BPEL process description can provide a description of the interactions between multiple services, this only works where a
+ single orchestrating process is in control. The benefit of the choreography description is that it can be used to provide a global view of a process across multiple
+ orchestrated service domains.
+ </para>
+ <para>
+ This document will outline how the Choreography Description is being used as part of Project Overlord to provide SOA governance capabilities
+ for each phase of the SOA lifecycle.
+ </para>
+ <para>
+ When a validated design has been approved by the users, it can be used to generate an initial skeleton of the implementation for each service.
+ The current version of Overlord enables a skeleton implementation to be generated as a JBossESB service configuration file,
+ using 'conversation aware' ESB actions. For more information on these, please see the “Conversational ESB User Guide”.
+ </para>
+ </section>
+
+ <section>
+ <title> SOA Lifecycle Governance </title>
+
+ <section>
+ <title>Design Time Governance</title>
+ <para>
+ Design-time governance is concerned with ensuring that the resulting system correctly implements requirements (whether functional or non-functional).
+ A choreography description can be used to ensure that the implemented system meets the behavioural requirements.
+ </para>
+ <para>
+ The behavioural requirements can be captured as a collection of scenarios (e.g. sequence diagrams) with associated example messages.
+ This enables an unambiguous representation of the business requirements to be stored in a machine processable form, which can subsequently
+ be used to validate other phases of the SOA lifecycle.
+ </para>
+ <para>
+ Once the choreography description for the SOA has been defined, it can be validated against the scenarios,
+ to ensure that the choreography correctly handles all of the business requirements.
+ </para>
+ <para>
+ Once the service enters the implementation phase, it is important to ensure that it continues to adhere to the design
+ and therefore meets the business requirements. Currently this is achieved through the use of techniques such as continuous testing.
+ However this is only as reliable as the quality of the unit tests that have been written.
+ </para>
+ <para>
+ When a 'structured' implementation language has been used, such as WS-BPEL, jPDL or the new 'conversation aware' ESB actions,
+ it will be possible to infer the behaviour of the service being implemented, to compare it against the choreography description.
+ Currently this has been implemented for the “conversation aware” ESB actions, and is demonstrated using the samples in this Overlord-CDL distribution.
+ </para>
+ <para>
+ Detecting incorrectly implemented behaviour at the earliest possible time saves on downstream costs associated with finding and fixing errors.
+ By using static validation against the original design, it ensures that the implemented service will deliver its expected behaviour first time.
+ This is important in building large scale SOAs where different services may be implemented in different locations.
+ </para>
+ <para>
+ There are two other areas where a choreography description can be used as part of design-time governance,
+ that are not currently implemented in Overlord:
+ </para>
+ <itemizedlist>
+ <listitem>
+ Service lookup – the choreography description can be used to determine if a service already exists in the Service Repository that meets the appropriate behavioural requirements.
+ </listitem>
+ <listitem>
+ Service unit testing - this can be achieved using the scenarios originally specified to document the behavioural requirements.
+ Rather than develop an independent source of test data, the scenarios can be used to validate the sequence of messages sent to,
+ and received from, a service, as well as validating the contents of the messages returned from the service under test.
+ </listitem>
+ </itemizedlist>
+ </section>
+
+ <section>
+ <title>Runtime Governance</title>
+ <para>
+ Runtime governance ensures that the SOA executes as expected according to predefined policies. In this context, a choreography description can be used in two ways.
+ </para>
+
+ <section>
+ <title> Service validator</title>
+ <para>
+ The choreography description represents the interactions between multiple services to deliver a business goal.
+ To validate the behaviour of each individual service, within the choreography description, the behaviour of each service can be derived from the choreography.
+ </para>
+ <para>
+ The derived behaviour (or “endpoint projection”) of a service can be used within a 'service validator' to monitor the inbound and outbound messages for the service,
+ to ensure they conform to the expected behaviour.
+ If an invalid message is detected, it would be possible to block it, to prevent it from causing subsequent problems in downstream systems.
+ The error can also be reported to a central management capability.
+ </para>
+ <para>
+ The CDL component of Overlord provides the ability to configure service validators to monitor the behaviour of individual services.
+ An enhanced version of the JBossESB trailblazer example has been included, with the appropriate validator configuration, to demonstrate this mechanism.
+ </para>
+ </section>
+
+ <section>
+ <title>Process correlation</title>
+ <para>
+ Validating each service locally can enable errors to be detected quickly,
+ and the effects of the error prevented from contaminating other systems by blocking the erroneous messages.
+ </para>
+ <para>
+ However local service specific validation may not be adequate to identify errors that would affect the end-to-end business process.
+ Therefore the message activity at each service validator can be reported to a central 'process correlation engine' which can reconstitute a global view of the business transaction,
+ and determine if it matches the expected behaviour as defined in the choreography description.
+ </para>
+ <para>
+ The benefit of a correlated global view of the distributed business transaction is that it can be further analysed to ensure other governance polices have been followed – e.g. SLAs.
+ </para>
+ <para>
+ The pi4soa tool suite includes a simple GUI based monitoring tool to display the information obtained from correlating message events associated with individual services.
+ The trailblazer example has been written to cause out of sequence messages under certain circumstances. See the “Samples Guide” for more information on how to run this example.
+ </para>
+ </section>
+ </section>
+ </section>
+
+ <section>
+ <title> First Steps </title>
+ <para>The first step will be to follow the instructions in the next chapter to install Overlord. </para>
+ <para> Once installed, the next step should be to try out the examples in the samples folder. The examples consistent of:</para>
+ <itemizedlist>
+ <listitem>
+ Service Validation related examples
+ <para>
+ The samples folder contains an enhanced version of the trailblazer example from the JBossESB, with the addition of a File Based Bank, and message content including a conversation id to enable the messages to be correlated with a specific session.
+ </para>
+ </listitem>
+ <listitem>
+ Conversation aware ESB actions, with conformance checking against Choreography
+ <para>
+ Two examples have been included, one simple example (purchasing) and the other more advanced (brokerage). Both relate to the business process of purchasing items. The second example introduces the concept of a broker to act on behalf of the customer, interacting with multiple potential suppliers.
+ </para>
+ <para>
+ These examples show how a service implementation (built using “conversation aware ESB actions” in this case), can be continuously checked for conformance against a choreography description.
+ </para>
+ <para>
+ The final step should be to review the other documents in the docs folder to understand more about each capability, and then try using the techniques on your own project.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </section>
+ </section>
+
+ <section>
+ <title>Installation</title>
+
+ <section>
+ <title> Overview </title>
+ <para>
+ This section describes the installation procedure for the Overlord CDL based governance capabilities. These capabilities are:
+ </para>
+ <itemizedlist>
+ <listitem> Conversation aware ESB Actions with conformance checking against a Choreography Description </listitem>
+ <listitem> ESB Service validation against a Choreography Description </listitem>
+ </itemizedlist>
+ </section>
+
+ <section>
+ <title>Prerequisites</title>
+ <orderedlist>
+ <listitem>JBossAS (version 4.2.3.GA or higher), available from http://www.jboss.org/jbossas</listitem>
+ <listitem>JBossESB (version 4.4.GA or higher), available from http://www.jboss.org/jbossesb</listitem>
+ <listitem>Overlord CDL (version 1.0.SNAPSHOT or higher) </listitem>
+ <listitem>
+ pi4soa (version 2.0.0 or higher), available from http://www.pi4soa.org
+ <note>
+ <para>
+ It is recommended that a pre-packaged version is used, which includes all of the necessary Eclipse related plugins.
+ However the plugins can be installed separately into an existing Eclipse environment by following the instructions on the www.pi4soa.org wiki.
+ </para>
+ </note>
+ </listitem>
+ <listitem>
+ Ant, available from http://ant.apache.org/
+ </listitem>
+ </orderedlist>
+ </section>
+
+ <section>
+ <title>Installation Instructions</title>
+ <orderedlist>
+ <listitem>
+ Install JBossAS
+ <para> Unpack the JBossAS installation into the required location. </para>
+ </listitem>
+ <listitem>
+ Install JBossESB
+ <para> Unpack the JBossESB installation into a location alongside the JBossAS installation.
+ Then follow the instructions in the JBossESB installation (install/readme.txt), to deploy JBossESB into the JBossAS environment.
+ </para>
+ </listitem>
+
+ </orderedlist>
+ </section>
+
+</section>
+
+</chapter>
Added: cdl/trunk/docs/docbook/module/template.xml
===================================================================
--- cdl/trunk/docs/docbook/module/template.xml (rev 0)
+++ cdl/trunk/docs/docbook/module/template.xml 2008-09-25 18:39:40 UTC (rev 345)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE authorgroup PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+]>
+<chapter id="chapter-id">
+ <title>Chapter title</title>
+ <para>To be written...</para>
+</chapter>
Added: cdl/trunk/docs/docbook/pom.xml
===================================================================
--- cdl/trunk/docs/docbook/pom.xml (rev 0)
+++ cdl/trunk/docs/docbook/pom.xml 2008-09-25 18:39:40 UTC (rev 345)
@@ -0,0 +1,104 @@
+<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/xsd/maven-4.0.0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>org.jboss.soa.overlord.cdl</groupId>
+ <artifactId>userguide</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+ <name>Overlord::CDL::UserGuide</name>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>generate-docbook</id>
+ <phase>package</phase>
+ <goals>
+ <goal>resources</goal>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jbossorg-docbook-xslt</artifactId>
+ <version>1.1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jbossorg-jdocbook-style</artifactId>
+ <version>1.1.0</version>
+ <type>jdocbook-style</type>
+ </dependency>
+ </dependencies>
+ <configuration>
+ <sourceDocumentName>master.xml</sourceDocumentName>
+ <sourceDirectory>${basedir}</sourceDirectory>
+ <imageResource>
+ <directory>${basedir}</directory>
+ <includes>
+ <include>images/**/*</include>
+ </includes>
+ </imageResource>
+ <formats>
+ <format>
+ <formatName>pdf</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
+ <finalName>Overlord-CDL.pdf</finalName>
+ </format>
+ <format>
+ <formatName>html</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>html_single</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>eclipse</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ </formats>
+ <options>
+ <xincludeSupported>true</xincludeSupported>
+ <xmlTransformerType>saxon</xmlTransformerType>
+ <docbookVersion>1.72.0</docbookVersion>
+ </options>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <repositories>
+ <repository>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <id>jboss.release</id>
+ <name>JBoss releases</name>
+ <url>http://repository.jboss.org/maven2</url>
+ </repository>
+ </repositories>
+
+ <pluginRepositories>
+ <pluginRepository>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <id>jboss.release</id>
+ <name>JBoss releases</name>
+ <url>http://repository.jboss.org/maven2</url>
+ </pluginRepository>
+ </pluginRepositories>
+
+</project>
15 years, 7 months
Overlord SVN: r344 - cdl/trunk/samples/jbossesb.
by overlord-commits@lists.jboss.org
Author: objectiser
Date: 2008-09-25 10:01:59 -0400 (Thu, 25 Sep 2008)
New Revision: 344
Modified:
cdl/trunk/samples/jbossesb/SamplesGuide.odt
cdl/trunk/samples/jbossesb/SamplesGuide.pdf
Log:
Updated trailblazer doc to make it easier to modify the example to show out of sequence situation - without having to stop the server and restart all the bank apps etc.
Modified: cdl/trunk/samples/jbossesb/SamplesGuide.odt
===================================================================
(Binary files differ)
Modified: cdl/trunk/samples/jbossesb/SamplesGuide.pdf
===================================================================
(Binary files differ)
15 years, 7 months
Overlord SVN: r343 - cdl/trunk/samples/jbossesb.
by overlord-commits@lists.jboss.org
Author: objectiser
Date: 2008-09-25 05:21:15 -0400 (Thu, 25 Sep 2008)
New Revision: 343
Modified:
cdl/trunk/samples/jbossesb/README.txt
cdl/trunk/samples/jbossesb/SamplesGuide.odt
cdl/trunk/samples/jbossesb/SamplesGuide.pdf
Log:
Update documentation on the samples
Modified: cdl/trunk/samples/jbossesb/README.txt
===================================================================
--- cdl/trunk/samples/jbossesb/README.txt 2008-09-24 13:51:33 UTC (rev 342)
+++ cdl/trunk/samples/jbossesb/README.txt 2008-09-25 09:21:15 UTC (rev 343)
@@ -1,99 +1,22 @@
-Instructions for examples running:
-=================================
-
-Required to run the Purchasing example:
----------------------------------------
-- ANT 1.6.5 or higher
-- Maven 2.0.8 or higher
-- JBoss AS 4.2.2.GA or higher with the JBoss ESB SAR deployment (jbossesb.sar).
-- JBossESB 4.3.GA
-
-Folders structure:
--------------------
-- client: It is for running examples' client.
-- broker: Broker participant. (Broker Example)
-- purchasing: Purchasing participant. (Purchase Example)
-- creditAgency: CredityAgency participant. (For both Broker and Purchase Example)
-- supplier: supplier participant. (For Broker example)
-
-Settings required to edit before running:
-========================================
-
-File: $samples/pom.xml
-- Update the "deploy.dir" property value to your JBossAS server directory.
-
-- Before jbossesb-rosetta.jar and jbossesb-config-model.jar get published in jboss maven repository, you need to install these two artifacts into
-your local repository by using following commands:
-
-mvn install:install-file -Dfile=<path-to-rosetta> -DgroupId=org.jboss.jbossesb
- -DartifactId=rosetta -Dversion=4.3 -Dpackaging=jar
-mvn install:install-file -Dfile=<path-to-configmodel> -DgroupId=org.jboss.jbossesb
- -DartifactId=config-model -Dversion=1.0.1 -Dpackaging=jar
-
-Notice: Here we are using jbossesb-rosetta 4.3 version, jbossesb-config-model 1.0.1 version.
-
-
-Instructions for deploying the cdl-jbossesb.esb to the JBoss ESB server.
-==========================================
-1. At the $cdl/trunk: run: mvn install.
-2. Copy the 'cdl-jbossesb.esb' from the 'assembly/jbossesb/target' to JBoss ESB server deploy folder.
-
-
-Instructions for deploying samples:
-==========================================
-1. Please make sure you are setting the 'deploy.dir' in $samples/pom.xml properly.
-2. At the $cdl/trunk/samples, run: mvn install, it will deploy the 'purchasing.esb', 'broker.esb', 'creditAgency.esb', 'supplier.esb' to the server deploy folder.
-3. From the $JBossAS, execute the command to start the ESB server: "bin/run.sh", or "bin/run.bat" for windows.
-
-Instructions for running purchasing example:
-===========================================
-
-1 - from the $samples/jbossesb/client, execute the command to run the client: "ant runClient"
- You will see following in the console.
-
- [java] =========================================
- [java] Request: <BuyRequest id="5" ></BuyRequest>
- [java] Reply: <BuyResponse id="5"></BuyResponse>
- [java] =========================================
-
-
-Instructions for running broker example:
-=======================================
-
-1 - from the $samples/jbossesb/client, execute the command to run the client: "ant runBrokerClient"
- You will see following in the console.
- [java] =========================================
- [java] Request: <enquiry id="20" ></enquiry>
- [java] Reply: <quoteList id="20"><quote supplierDesc="{http://www.jboss.org/overlord/loanBroker}Supplier1">10</quote></quoteList>
- [java] Sending Buy request to Broker...
- [java] Request: <buy id="20" supplierDesc="{http://www.jboss.org/overlord/loanBroker}Supplier1" quoteValue="10"></buy>
- [java] Reply: <bookingReference id="20" supplierDesc = "{http://www.jboss.org/overlord/loanBroker}Supplier1">The quote of 10 has been confirmed.</bookingReference>
- [java] =========================================
-
-Example scenario description:
-===============================
-1 - Purchasing example:
-------------
-The flow for this example would be:
-
- * Users send an 'buy' request to broker
- * Broker send a 'credit check' request to the credit agency.
- * If the credit agency returns a successful message, then the Broker will send a 'BuyResponse' to user.
- * If the credit agency returns a failed message, then the Broker will send a 'BuyFail' to user.
-
-
-2 - Broker example:
-----------
-
-The flow for this example would be:
-
- * Users send an 'enquiry' request to broker
- * Broker sends the request to one or more suppliers concurrently
- * When all of the quote responses have been received, or a timeout expires, the available information is returned to the user.
- * User decides whether to:
- o Cancel the transaction, or
- o Send a 'buy' request to the broker
- * If a 'buy' request is received by the broker, it will send a 'credit check' request to the credit agency
- * If the credit agency returns a successful message, then the Broker sends a 'buy' request to the supplier selected by the User (in the 'buy' request), followed by a confirmation back to the User
- * If the credit agency returns a failed message, then the Broker will inform the User
-
+Samples Readme
+==============
+
+This folder contains samples associated with the Overlord CDL project.
+
+Information on the samples, and the instructions to run them, can be found in the SamplesGuide.pdf.
+
+For more information on the service validation, and "conversation aware" ESB capabilities, the reader is referred to the documents in the docs folder.
+
+
+Contents of this folder
+-----------------------
+
+brokerage - this folder contains the model and ESB configurations for the Brokerage example, demonstrating the "conversation aware" ESB capability
+
+client - this folder contains the client applications for use with the Brokerage and Purchasing examples
+
+common - this folder contains the ESB configuration for the Credit Agency service, which is used as part of both the Brokerage and Purchasing "conversation aware" ESB examples
+
+purchasing - this folder contains the model and ESB configurations for the Purchasing example, demonstrating the "conversation aware" ESB capability
+
+trailblazer - this folder contains an enhanced version of the JBossESB TrailBlazer example, to demonstrate the service validation capability
Modified: cdl/trunk/samples/jbossesb/SamplesGuide.odt
===================================================================
(Binary files differ)
Modified: cdl/trunk/samples/jbossesb/SamplesGuide.pdf
===================================================================
(Binary files differ)
15 years, 7 months
Overlord SVN: r342 - in cdl/trunk/distribution/src/main/release/samples/jbossesb: brokerage/supplier and 2 other directories.
by overlord-commits@lists.jboss.org
Author: objectiser
Date: 2008-09-24 09:51:33 -0400 (Wed, 24 Sep 2008)
New Revision: 342
Removed:
cdl/trunk/distribution/src/main/release/samples/jbossesb/brokerage/broker/.settings/
cdl/trunk/distribution/src/main/release/samples/jbossesb/brokerage/supplier/.settings/
cdl/trunk/distribution/src/main/release/samples/jbossesb/common/creditAgency/.settings/
cdl/trunk/distribution/src/main/release/samples/jbossesb/purchasing/store/.settings/
Log:
Removed Eclipse project settings, that changed the samples projects to be 1.5 compliant. Issue only occurs if Eclipse is launched with a JDK that has a lower version that the compiler internally used to compile Java projects.
15 years, 7 months
Overlord SVN: r341 - in cdl/trunk/samples/jbossesb: purchasing/store/src/main/java/com/acme/services/broker and 1 other directory.
by overlord-commits@lists.jboss.org
Author: objectiser
Date: 2008-09-23 12:36:30 -0400 (Tue, 23 Sep 2008)
New Revision: 341
Modified:
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/com/acme/services/creditAgency/SetCreditCheckInvalidMessageAction.java
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/com/acme/services/creditAgency/SetCreditCheckResponseMessageAction.java
cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/com/acme/services/broker/SetBuyResponseMessageAction.java
cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/com/acme/services/broker/SetCreditCheckRequestMessageAction.java
Log:
Updated messages in the creditAgency and store ESB services, to use the updated message types.
Modified: cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/com/acme/services/creditAgency/SetCreditCheckInvalidMessageAction.java
===================================================================
--- cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/com/acme/services/creditAgency/SetCreditCheckInvalidMessageAction.java 2008-09-23 15:10:06 UTC (rev 340)
+++ cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/com/acme/services/creditAgency/SetCreditCheckInvalidMessageAction.java 2008-09-23 16:36:30 UTC (rev 341)
@@ -1,52 +1,52 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., 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) 2008,
- */
-package com.acme.services.creditAgency;
-
-import org.apache.log4j.Logger;
-import org.jboss.soa.esb.actions.AbstractActionLifecycle;
-import org.jboss.soa.esb.helpers.ConfigTree;
-import org.jboss.soa.esb.message.Message;
-import org.jboss.soa.overlord.jbossesb.util.XMLUtils;
-import org.w3c.dom.Node;
-
-public class SetCreditCheckInvalidMessageAction extends AbstractActionLifecycle {
-
- private static Logger logger = Logger.getLogger(SetCreditCheckInvalidMessageAction.class);
-
- private ConfigTree config;
-
- public SetCreditCheckInvalidMessageAction(ConfigTree config) {
- this.config = config;
- }
-
- public Message process(Message message) throws Exception{
-
- Node node = XMLUtils.getNode((String)message.getBody().get());
- String idValue = node.getAttributes().getNamedItem("id").getNodeValue();
- message.getBody().add("<creditInvalid id=\"" + idValue +"\"></creditInvalid>");
-
- logger.info("Updated credit message: "+message);
-
- return(message);
- }
-
-}
-
-
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, JBoss Inc., 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) 2008,
+ */
+package com.acme.services.creditAgency;
+
+import org.apache.log4j.Logger;
+import org.jboss.soa.esb.actions.AbstractActionLifecycle;
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.message.Message;
+import org.jboss.soa.overlord.jbossesb.util.XMLUtils;
+import org.w3c.dom.Node;
+
+public class SetCreditCheckInvalidMessageAction extends AbstractActionLifecycle {
+
+ private static Logger logger = Logger.getLogger(SetCreditCheckInvalidMessageAction.class);
+
+ private ConfigTree config;
+
+ public SetCreditCheckInvalidMessageAction(ConfigTree config) {
+ this.config = config;
+ }
+
+ public Message process(Message message) throws Exception{
+
+ Node node = XMLUtils.getNode((String)message.getBody().get());
+ String idValue = node.getAttributes().getNamedItem("id").getNodeValue();
+ message.getBody().add("<CreditCheckInvalid id=\"" + idValue +"\"></CreditCheckInvalid>");
+
+ logger.info("Updated credit message: "+message);
+
+ return(message);
+ }
+
+}
+
+
Modified: cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/com/acme/services/creditAgency/SetCreditCheckResponseMessageAction.java
===================================================================
--- cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/com/acme/services/creditAgency/SetCreditCheckResponseMessageAction.java 2008-09-23 15:10:06 UTC (rev 340)
+++ cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/com/acme/services/creditAgency/SetCreditCheckResponseMessageAction.java 2008-09-23 16:36:30 UTC (rev 341)
@@ -1,53 +1,53 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., 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) 2008,
- */
-package com.acme.services.creditAgency;
-
-import org.apache.log4j.Logger;
-import org.jboss.soa.esb.actions.AbstractActionLifecycle;
-import org.jboss.soa.esb.helpers.ConfigTree;
-import org.jboss.soa.esb.message.Message;
-import org.jboss.soa.overlord.jbossesb.util.XMLUtils;
-import org.w3c.dom.Node;
-
-public class SetCreditCheckResponseMessageAction extends AbstractActionLifecycle {
-
- private static Logger logger = Logger.getLogger(SetCreditCheckResponseMessageAction.class);
-
- private ConfigTree config;
-
- public SetCreditCheckResponseMessageAction(ConfigTree config) {
- this.config = config;
- }
-
- public Message process(Message message) throws Exception{
-
- Node node = XMLUtils.getNode((String)message.getBody().get());
- String idValue = node.getAttributes().getNamedItem("id").getNodeValue();
- message.getBody().add("<creditValid id=\"" + idValue +"\"></creditValid>");
-
- logger.info("Updated credit message: "+message.getBody().get() +"' by thread of " + Thread.currentThread().getName());
-
- return(message);
- }
-
-
-}
-
-
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, JBoss Inc., 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) 2008,
+ */
+package com.acme.services.creditAgency;
+
+import org.apache.log4j.Logger;
+import org.jboss.soa.esb.actions.AbstractActionLifecycle;
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.message.Message;
+import org.jboss.soa.overlord.jbossesb.util.XMLUtils;
+import org.w3c.dom.Node;
+
+public class SetCreditCheckResponseMessageAction extends AbstractActionLifecycle {
+
+ private static Logger logger = Logger.getLogger(SetCreditCheckResponseMessageAction.class);
+
+ private ConfigTree config;
+
+ public SetCreditCheckResponseMessageAction(ConfigTree config) {
+ this.config = config;
+ }
+
+ public Message process(Message message) throws Exception{
+
+ Node node = XMLUtils.getNode((String)message.getBody().get());
+ String idValue = node.getAttributes().getNamedItem("id").getNodeValue();
+ message.getBody().add("<CreditCheckOk id=\"" + idValue +"\"></CreditCheckOk>");
+
+ logger.info("Updated credit message: "+message.getBody().get() +"' by thread of " + Thread.currentThread().getName());
+
+ return(message);
+ }
+
+
+}
+
+
Modified: cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/com/acme/services/broker/SetBuyResponseMessageAction.java
===================================================================
--- cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/com/acme/services/broker/SetBuyResponseMessageAction.java 2008-09-23 15:10:06 UTC (rev 340)
+++ cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/com/acme/services/broker/SetBuyResponseMessageAction.java 2008-09-23 16:36:30 UTC (rev 341)
@@ -1,53 +1,53 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., 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) 2008,
- */
-package com.acme.services.broker;
-
-import org.apache.log4j.Logger;
-import org.jboss.soa.esb.actions.AbstractActionLifecycle;
-import org.jboss.soa.esb.helpers.ConfigTree;
-import org.jboss.soa.esb.message.Message;
-import org.jboss.soa.overlord.jbossesb.util.XMLUtils;
-import org.w3c.dom.Node;
-
-public class SetBuyResponseMessageAction extends AbstractActionLifecycle {
-
- private static Logger logger = Logger.getLogger(SetBuyResponseMessageAction.class);
-
- private ConfigTree config;
-
- public SetBuyResponseMessageAction(ConfigTree config) {
- this.config = config;
- }
-
- public Message process(Message message) throws Exception{
-
- Node node = XMLUtils.getNode((String)message.getBody().get());
- String idValue = node.getAttributes().getNamedItem("id").getNodeValue();
- message.getBody().add("<BuyResponse id=\"" + idValue +"\"></BuyResponse>");
-
- logger.info("Updated buy message: "+message);
-
- return(message);
- }
-
-
-}
-
-
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, JBoss Inc., 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) 2008,
+ */
+package com.acme.services.broker;
+
+import org.apache.log4j.Logger;
+import org.jboss.soa.esb.actions.AbstractActionLifecycle;
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.message.Message;
+import org.jboss.soa.overlord.jbossesb.util.XMLUtils;
+import org.w3c.dom.Node;
+
+public class SetBuyResponseMessageAction extends AbstractActionLifecycle {
+
+ private static Logger logger = Logger.getLogger(SetBuyResponseMessageAction.class);
+
+ private ConfigTree config;
+
+ public SetBuyResponseMessageAction(ConfigTree config) {
+ this.config = config;
+ }
+
+ public Message process(Message message) throws Exception{
+
+ Node node = XMLUtils.getNode((String)message.getBody().get());
+ String idValue = node.getAttributes().getNamedItem("id").getNodeValue();
+ message.getBody().add("<BuyConfirmed id=\"" + idValue +"\"></BuyConfirmed>");
+
+ logger.info("Updated buy message: "+message);
+
+ return(message);
+ }
+
+
+}
+
+
Modified: cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/com/acme/services/broker/SetCreditCheckRequestMessageAction.java
===================================================================
--- cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/com/acme/services/broker/SetCreditCheckRequestMessageAction.java 2008-09-23 15:10:06 UTC (rev 340)
+++ cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/com/acme/services/broker/SetCreditCheckRequestMessageAction.java 2008-09-23 16:36:30 UTC (rev 341)
@@ -1,52 +1,52 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., 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) 2008,
- */
-package com.acme.services.broker;
-
-import org.apache.log4j.Logger;
-import org.jboss.soa.esb.actions.AbstractActionLifecycle;
-import org.jboss.soa.esb.helpers.ConfigTree;
-import org.jboss.soa.esb.message.Message;
-import org.jboss.soa.overlord.jbossesb.util.XMLUtils;
-import org.w3c.dom.Node;
-
-public class SetCreditCheckRequestMessageAction extends AbstractActionLifecycle {
-
- private static Logger logger = Logger.getLogger(SetCreditCheckRequestMessageAction.class);
-
- private ConfigTree config;
-
- public SetCreditCheckRequestMessageAction(ConfigTree config) {
- this.config = config;
- }
-
- public Message process(Message message) throws Exception{
-
- Node node = XMLUtils.getNode((String)message.getBody().get());
- String idValue = node.getAttributes().getNamedItem("id").getNodeValue();
- message.getBody().add("<creditInformation id=\"" + idValue +"\"></creditInformation>");
-
- logger.info("Updated credit check request message: "+message);
-
- return(message);
- }
-
-}
-
-
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, JBoss Inc., 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) 2008,
+ */
+package com.acme.services.broker;
+
+import org.apache.log4j.Logger;
+import org.jboss.soa.esb.actions.AbstractActionLifecycle;
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.message.Message;
+import org.jboss.soa.overlord.jbossesb.util.XMLUtils;
+import org.w3c.dom.Node;
+
+public class SetCreditCheckRequestMessageAction extends AbstractActionLifecycle {
+
+ private static Logger logger = Logger.getLogger(SetCreditCheckRequestMessageAction.class);
+
+ private ConfigTree config;
+
+ public SetCreditCheckRequestMessageAction(ConfigTree config) {
+ this.config = config;
+ }
+
+ public Message process(Message message) throws Exception{
+
+ Node node = XMLUtils.getNode((String)message.getBody().get());
+ String idValue = node.getAttributes().getNamedItem("id").getNodeValue();
+ message.getBody().add("<CreditCheckRequest id=\"" + idValue +"\"></CreditCheckRequest>");
+
+ logger.info("Updated credit check request message: "+message);
+
+ return(message);
+ }
+
+}
+
+
15 years, 7 months
Overlord SVN: r340 - in cdl/trunk: samples/jbossesb and 5 other directories.
by overlord-commits@lists.jboss.org
Author: objectiser
Date: 2008-09-23 11:10:06 -0400 (Tue, 23 Sep 2008)
New Revision: 340
Modified:
cdl/trunk/distribution/src/main/release/samples/jbossesb/common/creditAgency/.project
cdl/trunk/samples/jbossesb/SamplesGuide.odt
cdl/trunk/samples/jbossesb/SamplesGuide.pdf
cdl/trunk/samples/jbossesb/brokerage/broker/src/main/resources/META-INF/deployment.xml
cdl/trunk/samples/jbossesb/brokerage/supplier/src/main/resources/META-INF/deployment.xml
cdl/trunk/samples/jbossesb/client/build.xml
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/resources/META-INF/deployment.xml
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/resources/META-INF/jboss-esb.xml
cdl/trunk/samples/jbossesb/purchasing/store/src/main/resources/META-INF/deployment.xml
Log:
Updated various configuration files, after finding errors when trying to run the purchasing example. Have also made minor changes to make the use of both examples hopefully clearer. Updated the SamplesGuide with more information related to running the examples.
Modified: cdl/trunk/distribution/src/main/release/samples/jbossesb/common/creditAgency/.project
===================================================================
--- cdl/trunk/distribution/src/main/release/samples/jbossesb/common/creditAgency/.project 2008-09-22 16:38:29 UTC (rev 339)
+++ cdl/trunk/distribution/src/main/release/samples/jbossesb/common/creditAgency/.project 2008-09-23 15:10:06 UTC (rev 340)
@@ -3,6 +3,8 @@
<name>common-creditAgency</name>
<comment></comment>
<projects>
+ <project>purchasing-models</project>
+ <project>brokerage-models</project>
</projects>
<buildSpec>
<buildCommand>
Modified: cdl/trunk/samples/jbossesb/SamplesGuide.odt
===================================================================
(Binary files differ)
Modified: cdl/trunk/samples/jbossesb/SamplesGuide.pdf
===================================================================
(Binary files differ)
Modified: cdl/trunk/samples/jbossesb/brokerage/broker/src/main/resources/META-INF/deployment.xml
===================================================================
--- cdl/trunk/samples/jbossesb/brokerage/broker/src/main/resources/META-INF/deployment.xml 2008-09-22 16:38:29 UTC (rev 339)
+++ cdl/trunk/samples/jbossesb/brokerage/broker/src/main/resources/META-INF/deployment.xml 2008-09-23 15:10:06 UTC (rev 340)
@@ -1,5 +1,5 @@
<jbossesb-deployment>
- <depends>jboss.esb:deployment=overlord-cdl-jbossesb.esb</depends>
+ <depends>jboss.esb:deployment=overlord-cdl-runtime.esb</depends>
<depends>jboss.esb.sample.broker.destination:service=Queue,name=esb-loan-broker</depends>
<depends>jboss.esb.sample.broker.destination:service=Queue,name=esb-loan-broker_reply</depends>
<depends>jboss.esb.sample.broker.destination:service=Queue,name=esb-loan-broker1</depends>
Modified: cdl/trunk/samples/jbossesb/brokerage/supplier/src/main/resources/META-INF/deployment.xml
===================================================================
--- cdl/trunk/samples/jbossesb/brokerage/supplier/src/main/resources/META-INF/deployment.xml 2008-09-22 16:38:29 UTC (rev 339)
+++ cdl/trunk/samples/jbossesb/brokerage/supplier/src/main/resources/META-INF/deployment.xml 2008-09-23 15:10:06 UTC (rev 340)
@@ -1,5 +1,5 @@
<jbossesb-deployment>
- <depends>jboss.esb:deployment=overlord-cdl-jbossesb.esb</depends>
+ <depends>jboss.esb:deployment=overlord-cdl-runtime.esb</depends>
<depends>jboss.esb.sample.broker.destination:service=Queue,name=esb-loan-supplier1</depends>
<depends>jboss.esb.sample.broker.destination:service=Queue,name=esb-loan-supplier11</depends>
<depends>jboss.esb.sample.broker.destination:service=Queue,name=esb-loan-supplier12</depends>
Modified: cdl/trunk/samples/jbossesb/client/build.xml
===================================================================
--- cdl/trunk/samples/jbossesb/client/build.xml 2008-09-22 16:38:29 UTC (rev 339)
+++ cdl/trunk/samples/jbossesb/client/build.xml 2008-09-23 15:10:06 UTC (rev 340)
@@ -1,48 +1,48 @@
-<project name="client" default="runClient" basedir=".">
-
- <property name="lib.dir" value="${basedir}/lib" />
- <property name="classes.dir" value="${basedir}/target/classes" />
- <property name="src.dir" value="${basedir}/src" />
-
- <path id="project.classpath">
- <fileset dir="${lib.dir}">
- <include name="**/*.jar" />
- </fileset>
- </path>
-
-
- <!-- Clean up -->
- <target name="clean">
- <delete dir="${classes.dir}"/>
- <mkdir dir="${classes.dir}" />
- </target>
-
-
- <!-- Compile Java source -->
- <target name="compile" depends="clean">
- <javac srcdir="${src.dir}" destdir="${classes.dir}" debug="true">
- <classpath refid="project.classpath"/>
- </javac>
- <copy todir="${classes.dir}">
- <fileset dir="${src.dir}">
- <include name="*.xml"/>
- <include name="*.properties" />
- </fileset>
- </copy>
- </target>
-
- <target name="runClient" depends="compile">
- <java fork="yes" classname="com.acme.services.buyer.BuyerClient">
- <classpath refid="project.classpath" />
- <classpath location="${classes.dir}" />
- </java>
- </target>
-
- <target name="runBrokerClient" depends="compile">
- <java fork="yes" classname="com.acme.services.buyer.BrokerClient">
- <classpath refid="project.classpath" />
- <classpath location="${classes.dir}" />
- </java>
- </target>
-
-</project>
+<project name="client" default="runClient" basedir=".">
+
+ <property name="lib.dir" value="${basedir}/lib" />
+ <property name="classes.dir" value="${basedir}/target/classes" />
+ <property name="src.dir" value="${basedir}/src" />
+
+ <path id="project.classpath">
+ <fileset dir="${lib.dir}">
+ <include name="**/*.jar" />
+ </fileset>
+ </path>
+
+
+ <!-- Clean up -->
+ <target name="clean">
+ <delete dir="${classes.dir}"/>
+ <mkdir dir="${classes.dir}" />
+ </target>
+
+
+ <!-- Compile Java source -->
+ <target name="compile" depends="clean">
+ <javac srcdir="${src.dir}" destdir="${classes.dir}" debug="true">
+ <classpath refid="project.classpath"/>
+ </javac>
+ <copy todir="${classes.dir}">
+ <fileset dir="${src.dir}">
+ <include name="*.xml"/>
+ <include name="*.properties" />
+ </fileset>
+ </copy>
+ </target>
+
+ <target name="runPurchasingClient" depends="compile">
+ <java fork="yes" classname="com.acme.services.buyer.BuyerClient">
+ <classpath refid="project.classpath" />
+ <classpath location="${classes.dir}" />
+ </java>
+ </target>
+
+ <target name="runBrokerageClient" depends="compile">
+ <java fork="yes" classname="com.acme.services.buyer.BrokerClient">
+ <classpath refid="project.classpath" />
+ <classpath location="${classes.dir}" />
+ </java>
+ </target>
+
+</project>
Modified: cdl/trunk/samples/jbossesb/common/creditAgency/src/main/resources/META-INF/deployment.xml
===================================================================
--- cdl/trunk/samples/jbossesb/common/creditAgency/src/main/resources/META-INF/deployment.xml 2008-09-22 16:38:29 UTC (rev 339)
+++ cdl/trunk/samples/jbossesb/common/creditAgency/src/main/resources/META-INF/deployment.xml 2008-09-23 15:10:06 UTC (rev 340)
@@ -1,5 +1,5 @@
<jbossesb-deployment>
- <depends>jboss.esb:deployment=overlord-cdl-jbossesb.esb</depends>
+ <depends>jboss.esb:deployment=overlord-cdl-runtime.esb</depends>
<depends>jboss.esb.gen.destination:service=Queue,name=esb-creditAgency</depends>
<depends>jboss.esb.gen.destination:service=Queue,name=esb-creditAgency1</depends>
<depends>jboss.esb.gen.destination:service=Queue,name=esb-creditAgency2</depends>
Modified: cdl/trunk/samples/jbossesb/common/creditAgency/src/main/resources/META-INF/jboss-esb.xml
===================================================================
--- cdl/trunk/samples/jbossesb/common/creditAgency/src/main/resources/META-INF/jboss-esb.xml 2008-09-22 16:38:29 UTC (rev 339)
+++ cdl/trunk/samples/jbossesb/common/creditAgency/src/main/resources/META-INF/jboss-esb.xml 2008-09-23 15:10:06 UTC (rev 340)
@@ -1,129 +1,83 @@
-<?xml version = "1.0" encoding = "UTF-8"?>
-<!--
- JBoss, Home of Professional Open Source
- Copyright 2008, JBoss Inc., 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) 2008,
--->
-<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml..."
- parameterReloadSecs="5000">
-
- <providers>
- <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"
- jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-URL="localhost">
- <jms-bus busid="CreditAgencyService">
- <jms-message-filter dest-type="QUEUE" dest-name="queue/esb-creditAgency" />
- </jms-bus>
- <jms-bus busid="CreditAgencyService1">
- <jms-message-filter dest-type="QUEUE" dest-name="queue/esb-creditAgency1" />
- </jms-bus>
- <jms-bus busid="CreditAgencyService2">
- <jms-message-filter dest-type="QUEUE" dest-name="queue/esb-creditAgency2" />
- </jms-bus>
- </jms-provider>
-
- </providers>
- <services>
- <service category="PurchaseGoods.CreditAgency" name="CreditAgency.main" description="">
- <listeners>
- <jms-listener name="CreditAgencyServiceListener"
- busidref="CreditAgencyService"
- maxThreads="1"/>
- </listeners>
- <actions mep="OneWay">
- <action class="org.jboss.soa.overlord.jbossesb.actions.CreateSessionAction"
- process="process" name="c1">
- <property name="session" value="com.acme.services.creditAgency.CreditAgencyPurchase" />
- </action>
- <action class="org.jboss.soa.overlord.jbossesb.actions.ReceiveMessageAction"
- process="process" name="c2">
- <property name="operation" value="checkCredit" />
- <property name="messageType" value="creditInformation" />
- <property name="clientEPR" value="broker" />
- <property name="identities" >
- <identity type="primary" >
- <token name="id" locator="//@id" />
- </identity>
- </property>
- </action>
- <action class="org.jboss.soa.overlord.jbossesb.actions.IfAction"
- process="process" name="c3">
- <property name="paths">
- <if decision-method="isCreditValid"
- service-category="PurchaseGoods.CreditAgency"
- service-name="CreditAgency.decision1"
- immediate="true" />
- <else service-category="PurchaseGoods.CreditAgency"
- service-name="CreditAgency.decision2"
- immediate="true" />
- </property>
- </action>
- </actions>
- </service>
-
- <service category="PurchaseGoods.CreditAgency" name="CreditAgency.decision1" description="">
- <listeners>
- <jms-listener name="CreditAgencyServiceListener1"
- busidref="CreditAgencyService1"
- maxThreads="1"/>
- </listeners>
- <actions mep="OneWay">
- <action class="com.acme.services.creditAgency.SetCreditCheckResponseMessageAction"
- process="process" name="d2">
- </action>
- <action class="org.jboss.soa.overlord.jbossesb.actions.SendMessageAction"
- process="process" name="d3">
- <property name="session" value="com.acme.services.creditAgency.CreditAgencyPurchase" />
- <property name="operation" value="checkCredit" />
- <property name="messageType" value="creditValid" />
- <property name="clientEPR" value="broker" />
- <property name="identities" >
- <identity type="primary" >
- <token name="id" locator="//@id" />
- </identity>
- </property>
- </action>
- </actions>
- </service>
-
- <service category="PurchaseGoods.CreditAgency" name="CreditAgency.decision2" description="">
- <listeners>
- <jms-listener name="CreditAgencyServiceListener"
- busidref="CreditAgencyService2"
- maxThreads="1"/>
- </listeners>
- <actions mep="OneWay">
- <action class="com.acme.services.creditAgency.SetCreditCheckInvalidMessageAction"
- process="process" name="e2">
- </action>
- <action class="org.jboss.soa.overlord.jbossesb.actions.SendMessageAction"
- process="process" name="e3">
- <property name="session" value="com.acme.services.creditAgency.CreditAgencyPurchase" />
- <property name="operation" value="checkCredit" />
- <property name="messageType" value="creditInvalid" />
- <property name="clientEPR" value="broker" />
- <property name="identities" >
- <identity type="primary" >
- <token name="id" locator="//@id" />
- </identity>
- </property>
- </action>
- </actions>
- </service>
- </services>
-
-</jbossesb>
+<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml..." parameterReloadSecs="5000">
+ <providers>
+ <jms-provider connection-factory="ConnectionFactory" jndi-URL="localhost" jndi-context-factory="org.jnp.interfaces.NamingContextFactory" name="JBossMQ">
+ <jms-bus busid="CreditAgencyService">
+ <jms-message-filter dest-name="queue/esb-creditAgency" dest-type="QUEUE"/>
+ </jms-bus>
+ <jms-bus busid="CreditAgencyService1">
+ <jms-message-filter dest-name="queue/esb-creditAgency1" dest-type="QUEUE"/>
+ </jms-bus>
+ <jms-bus busid="CreditAgencyService2">
+ <jms-message-filter dest-name="queue/esb-creditAgency2" dest-type="QUEUE"/>
+ </jms-bus>
+ </jms-provider>
+ </providers>
+ <services>
+ <service category="PurchaseGoods.CreditAgency" description="" name="CreditAgency.main">
+ <listeners>
+ <jms-listener busidref="CreditAgencyService" maxThreads="1" name="CreditAgencyServiceListener"/>
+ </listeners>
+ <actions mep="OneWay">
+ <action class="org.jboss.soa.overlord.jbossesb.actions.CreateSessionAction" name="c1" process="process">
+ <property name="session" value="com.acme.services.creditAgency.CreditAgencyPurchase"/>
+ </action>
+ <action class="org.jboss.soa.overlord.jbossesb.actions.ReceiveMessageAction" name="c2" process="process">
+ <property name="operation" value="checkCredit"/>
+ <property name="messageType" value="CreditCheckRequest"/>
+ <property name="clientEPR" value="broker"/>
+ <property name="identities">
+ <identity type="primary">
+ <token locator="//@id" name="id"/>
+ </identity>
+ </property>
+ </action>
+ <action class="org.jboss.soa.overlord.jbossesb.actions.IfAction" name="c3" process="process">
+ <property name="paths">
+ <if decision-method="isCreditValid" immediate="true" service-category="PurchaseGoods.CreditAgency" service-name="CreditAgency.decision1"/>
+ <else immediate="true" service-category="PurchaseGoods.CreditAgency" service-name="CreditAgency.decision2"/>
+ </property>
+ </action>
+ </actions>
+ </service>
+ <service category="PurchaseGoods.CreditAgency" description="" name="CreditAgency.decision1">
+ <listeners>
+ <jms-listener busidref="CreditAgencyService1" maxThreads="1" name="CreditAgencyServiceListener1"/>
+ </listeners>
+ <actions mep="OneWay">
+ <action class="com.acme.services.creditAgency.SetCreditCheckResponseMessageAction" name="d2" process="process">
+ </action>
+ <action class="org.jboss.soa.overlord.jbossesb.actions.SendMessageAction" name="d3" process="process">
+ <property name="session" value="com.acme.services.creditAgency.CreditAgencyPurchase"/>
+ <property name="operation" value="checkCredit"/>
+ <property name="messageType" value="CreditCheckOk"/>
+ <property name="clientEPR" value="broker"/>
+ <property name="identities">
+ <identity type="primary">
+ <token locator="//@id" name="id"/>
+ </identity>
+ </property>
+ </action>
+ </actions>
+ </service>
+ <service category="PurchaseGoods.CreditAgency" description="" name="CreditAgency.decision2">
+ <listeners>
+ <jms-listener busidref="CreditAgencyService2" maxThreads="1" name="CreditAgencyServiceListener"/>
+ </listeners>
+ <actions mep="OneWay">
+ <action class="com.acme.services.creditAgency.SetCreditCheckInvalidMessageAction" name="e2" process="process">
+ </action>
+ <action class="org.jboss.soa.overlord.jbossesb.actions.SendMessageAction" name="e3" process="process">
+ <property name="session" value="com.acme.services.creditAgency.CreditAgencyPurchase"/>
+ <property name="operation" value="checkCredit"/>
+ <property name="messageType" value="CreditCheckInvalid"/>
+ <property name="clientEPR" value="broker"/>
+ <property name="identities">
+ <identity type="primary">
+ <token locator="//@id" name="id"/>
+ </identity>
+ </property>
+ </action>
+ </actions>
+ </service>
+ </services>
+</jbossesb>
Modified: cdl/trunk/samples/jbossesb/purchasing/store/src/main/resources/META-INF/deployment.xml
===================================================================
--- cdl/trunk/samples/jbossesb/purchasing/store/src/main/resources/META-INF/deployment.xml 2008-09-22 16:38:29 UTC (rev 339)
+++ cdl/trunk/samples/jbossesb/purchasing/store/src/main/resources/META-INF/deployment.xml 2008-09-23 15:10:06 UTC (rev 340)
@@ -1,5 +1,5 @@
<jbossesb-deployment>
- <depends>jboss.esb:deployment=overlord-cdl-jbossesb.esb</depends>
+ <depends>jboss.esb:deployment=overlord-cdl-runtime.esb</depends>
<depends>jboss.esb.gen.destination:service=Queue,name=esb-broker</depends>
<depends>jboss.esb.gen.destination:service=Queue,name=esb-broker_reply</depends>
<depends>jboss.esb.gen.destination:service=Queue,name=esb-broker1</depends>
15 years, 7 months
Overlord SVN: r339 - cdl/trunk/samples/jbossesb.
by overlord-commits@lists.jboss.org
Author: objectiser
Date: 2008-09-22 12:38:29 -0400 (Mon, 22 Sep 2008)
New Revision: 339
Modified:
cdl/trunk/samples/jbossesb/SamplesGuide.odt
cdl/trunk/samples/jbossesb/SamplesGuide.pdf
Log:
Update to include quickfix for changing back the faulty message type.
Modified: cdl/trunk/samples/jbossesb/SamplesGuide.odt
===================================================================
(Binary files differ)
Modified: cdl/trunk/samples/jbossesb/SamplesGuide.pdf
===================================================================
(Binary files differ)
15 years, 7 months
Overlord SVN: r338 - in cdl/trunk/distribution/src/main/release/samples/jbossesb: brokerage/broker/.settings and 6 other directories.
by overlord-commits@lists.jboss.org
Author: objectiser
Date: 2008-09-22 12:00:40 -0400 (Mon, 22 Sep 2008)
New Revision: 338
Added:
cdl/trunk/distribution/src/main/release/samples/jbossesb/brokerage/broker/.settings/
cdl/trunk/distribution/src/main/release/samples/jbossesb/brokerage/broker/.settings/org.eclipse.jdt.core.prefs
cdl/trunk/distribution/src/main/release/samples/jbossesb/brokerage/supplier/.settings/
cdl/trunk/distribution/src/main/release/samples/jbossesb/brokerage/supplier/.settings/org.eclipse.jdt.core.prefs
cdl/trunk/distribution/src/main/release/samples/jbossesb/common/creditAgency/.settings/
cdl/trunk/distribution/src/main/release/samples/jbossesb/common/creditAgency/.settings/org.eclipse.jdt.core.prefs
cdl/trunk/distribution/src/main/release/samples/jbossesb/purchasing/store/.settings/
cdl/trunk/distribution/src/main/release/samples/jbossesb/purchasing/store/.settings/org.eclipse.jdt.core.prefs
Log:
Interim solution for class bad version problem - where 1.5 compliant jbossesb.xml validation is attempting to access a 1.6 compiled session class. This fix makes the projects 1.5 compliant, but will need longer term solution.
Added: cdl/trunk/distribution/src/main/release/samples/jbossesb/brokerage/broker/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- cdl/trunk/distribution/src/main/release/samples/jbossesb/brokerage/broker/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ cdl/trunk/distribution/src/main/release/samples/jbossesb/brokerage/broker/.settings/org.eclipse.jdt.core.prefs 2008-09-22 16:00:40 UTC (rev 338)
@@ -0,0 +1,12 @@
+#Mon Sep 22 16:54:47 BST 2008
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
Added: cdl/trunk/distribution/src/main/release/samples/jbossesb/brokerage/supplier/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- cdl/trunk/distribution/src/main/release/samples/jbossesb/brokerage/supplier/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ cdl/trunk/distribution/src/main/release/samples/jbossesb/brokerage/supplier/.settings/org.eclipse.jdt.core.prefs 2008-09-22 16:00:40 UTC (rev 338)
@@ -0,0 +1,12 @@
+#Mon Sep 22 16:54:47 BST 2008
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
Added: cdl/trunk/distribution/src/main/release/samples/jbossesb/common/creditAgency/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- cdl/trunk/distribution/src/main/release/samples/jbossesb/common/creditAgency/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ cdl/trunk/distribution/src/main/release/samples/jbossesb/common/creditAgency/.settings/org.eclipse.jdt.core.prefs 2008-09-22 16:00:40 UTC (rev 338)
@@ -0,0 +1,12 @@
+#Mon Sep 22 16:54:47 BST 2008
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
Added: cdl/trunk/distribution/src/main/release/samples/jbossesb/purchasing/store/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- cdl/trunk/distribution/src/main/release/samples/jbossesb/purchasing/store/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ cdl/trunk/distribution/src/main/release/samples/jbossesb/purchasing/store/.settings/org.eclipse.jdt.core.prefs 2008-09-22 16:00:40 UTC (rev 338)
@@ -0,0 +1,12 @@
+#Mon Sep 22 16:54:47 BST 2008
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
15 years, 7 months
Overlord SVN: r337 - in cdl/trunk: distribution/eclipse/features and 2 other directories.
by overlord-commits@lists.jboss.org
Author: objectiser
Date: 2008-09-22 11:58:57 -0400 (Mon, 22 Sep 2008)
New Revision: 337
Added:
cdl/trunk/distribution/eclipse/features/org.jboss.tools.overlord.cdl.jbossesb.feature_1.0.0.200809221625.jar
cdl/trunk/distribution/eclipse/features/org.scribble.conversation.feature_0.1.0.200809221625.jar
cdl/trunk/distribution/eclipse/features/org.scribble.experimental.feature_0.1.0.200809221625.jar
cdl/trunk/distribution/eclipse/features/org.scribble.feature_0.1.0.200809221625.jar
cdl/trunk/distribution/eclipse/features/org.scribble.protocol.feature_0.1.0.200809221625.jar
cdl/trunk/distribution/eclipse/plugins/org.jboss.tools.overlord.cdl.jbossesb_1.0.0.200809221625.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conformance_0.1.0.200809221625.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.comparator_0.1.0.200809221625.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.export.text_0.1.0.200809221625.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.model_0.1.0.200809221625.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.parser_0.1.0.200809221625.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.projector_0.1.0.200809221625.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.validation_0.1.0.200809221625.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.core_0.1.0.200809221625.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.designer_0.1.0.200809221625.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.comparator_0.1.0.200809221625.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.java.parser_0.1.0.200809221625.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.model_0.1.0.200809221625.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.osgi_0.1.0.200809221625.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.comparator_0.1.0.200809221625.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.export.text_0.1.0.200809221625.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.model_0.1.0.200809221625.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.parser_0.1.0.200809221625.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.projector_0.1.0.200809221625.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.validation_0.1.0.200809221625.jar
Removed:
cdl/trunk/distribution/eclipse/features/org.jboss.tools.overlord.cdl.jbossesb.feature_1.0.0.200809221027.jar
cdl/trunk/distribution/eclipse/features/org.scribble.conversation.feature_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/features/org.scribble.experimental.feature_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/features/org.scribble.feature_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/features/org.scribble.protocol.feature_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.jboss.tools.overlord.cdl.jbossesb_1.0.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conformance_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.comparator_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.export.text_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.model_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.parser_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.projector_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.validation_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.core_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.designer_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.comparator_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.java.parser_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.model_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.osgi_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.comparator_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.export.text_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.model_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.parser_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.projector_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.validation_0.1.0.200809221027.jar
Modified:
cdl/trunk/distribution/eclipse/site.xml
cdl/trunk/samples/jbossesb/purchasing/store/src/main/resources/META-INF/jboss-esb.xml
Log:
Updated local update Eclipse site, to make the Jars 1.5 compliant but compiled with jdk1.6 compiler.
Deleted: cdl/trunk/distribution/eclipse/features/org.jboss.tools.overlord.cdl.jbossesb.feature_1.0.0.200809221027.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/features/org.jboss.tools.overlord.cdl.jbossesb.feature_1.0.0.200809221625.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/features/org.jboss.tools.overlord.cdl.jbossesb.feature_1.0.0.200809221625.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/features/org.scribble.conversation.feature_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/features/org.scribble.conversation.feature_0.1.0.200809221625.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/features/org.scribble.conversation.feature_0.1.0.200809221625.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/features/org.scribble.experimental.feature_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/features/org.scribble.experimental.feature_0.1.0.200809221625.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/features/org.scribble.experimental.feature_0.1.0.200809221625.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/features/org.scribble.feature_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/features/org.scribble.feature_0.1.0.200809221625.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/features/org.scribble.feature_0.1.0.200809221625.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/features/org.scribble.protocol.feature_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/features/org.scribble.protocol.feature_0.1.0.200809221625.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/features/org.scribble.protocol.feature_0.1.0.200809221625.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.jboss.tools.overlord.cdl.jbossesb_1.0.0.200809221027.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.jboss.tools.overlord.cdl.jbossesb_1.0.0.200809221625.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.jboss.tools.overlord.cdl.jbossesb_1.0.0.200809221625.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.conformance_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.conformance_0.1.0.200809221625.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.conformance_0.1.0.200809221625.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.comparator_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.comparator_0.1.0.200809221625.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.comparator_0.1.0.200809221625.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.export.text_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.export.text_0.1.0.200809221625.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.export.text_0.1.0.200809221625.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.model_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.model_0.1.0.200809221625.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.model_0.1.0.200809221625.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.parser_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.parser_0.1.0.200809221625.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.parser_0.1.0.200809221625.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.projector_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.projector_0.1.0.200809221625.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.projector_0.1.0.200809221625.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.validation_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.validation_0.1.0.200809221625.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.validation_0.1.0.200809221625.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.core_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.core_0.1.0.200809221625.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.core_0.1.0.200809221625.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.designer_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.designer_0.1.0.200809221625.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.designer_0.1.0.200809221625.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.comparator_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.comparator_0.1.0.200809221625.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.comparator_0.1.0.200809221625.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.java.parser_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.java.parser_0.1.0.200809221625.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.java.parser_0.1.0.200809221625.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.model_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.model_0.1.0.200809221625.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.model_0.1.0.200809221625.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.osgi_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.osgi_0.1.0.200809221625.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.osgi_0.1.0.200809221625.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.comparator_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.comparator_0.1.0.200809221625.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.comparator_0.1.0.200809221625.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.export.text_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.export.text_0.1.0.200809221625.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.export.text_0.1.0.200809221625.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.model_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.model_0.1.0.200809221625.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.model_0.1.0.200809221625.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.parser_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.parser_0.1.0.200809221625.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.parser_0.1.0.200809221625.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.projector_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.projector_0.1.0.200809221625.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.projector_0.1.0.200809221625.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.validation_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.validation_0.1.0.200809221625.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.validation_0.1.0.200809221625.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: cdl/trunk/distribution/eclipse/site.xml
===================================================================
--- cdl/trunk/distribution/eclipse/site.xml 2008-09-22 11:33:49 UTC (rev 336)
+++ cdl/trunk/distribution/eclipse/site.xml 2008-09-22 15:58:57 UTC (rev 337)
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<site>
- <feature url="features/org.jboss.tools.overlord.cdl.jbossesb.feature_1.0.0.200809221027.jar" id="org.jboss.tools.overlord.cdl.jbossesb.feature" version="1.0.0.200809221027">
+ <feature url="features/org.jboss.tools.overlord.cdl.jbossesb.feature_1.0.0.200809221625.jar" id="org.jboss.tools.overlord.cdl.jbossesb.feature" version="1.0.0.200809221625">
<category name="JBossESB"/>
</feature>
- <feature url="features/org.scribble.conversation.feature_0.1.0.200809221027.jar" id="org.scribble.conversation.feature" version="0.1.0.200809221027">
+ <feature url="features/org.scribble.conversation.feature_0.1.0.200809221625.jar" id="org.scribble.conversation.feature" version="0.1.0.200809221625">
<category name="Common"/>
</feature>
- <feature url="features/org.scribble.experimental.feature_0.1.0.200809221027.jar" id="org.scribble.experimental.feature" version="0.1.0.200809221027">
+ <feature url="features/org.scribble.experimental.feature_0.1.0.200809221625.jar" id="org.scribble.experimental.feature" version="0.1.0.200809221625">
<category name="Common"/>
</feature>
- <feature url="features/org.scribble.feature_0.1.0.200809221027.jar" id="org.scribble.feature" version="0.1.0.200809221027">
+ <feature url="features/org.scribble.feature_0.1.0.200809221625.jar" id="org.scribble.feature" version="0.1.0.200809221625">
<category name="Common"/>
</feature>
- <feature url="features/org.scribble.protocol.feature_0.1.0.200809221027.jar" id="org.scribble.protocol.feature" version="0.1.0.200809221027">
+ <feature url="features/org.scribble.protocol.feature_0.1.0.200809221625.jar" id="org.scribble.protocol.feature" version="0.1.0.200809221625">
<category name="Common"/>
</feature>
<category-def name="JBossESB" label="JBossESB">
Modified: cdl/trunk/samples/jbossesb/purchasing/store/src/main/resources/META-INF/jboss-esb.xml
===================================================================
--- cdl/trunk/samples/jbossesb/purchasing/store/src/main/resources/META-INF/jboss-esb.xml 2008-09-22 11:33:49 UTC (rev 336)
+++ cdl/trunk/samples/jbossesb/purchasing/store/src/main/resources/META-INF/jboss-esb.xml 2008-09-22 15:58:57 UTC (rev 337)
@@ -1,263 +1,194 @@
-<?xml version = "1.0" encoding = "UTF-8"?>
-<!--
- JBoss, Home of Professional Open Source
- Copyright 2008, JBoss Inc., 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) 2008,
--->
-<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml..."
- parameterReloadSecs="5000">
-
- <providers>
- <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"
- jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-URL="localhost">
- <jms-bus busid="BrokerService">
- <jms-message-filter dest-type="QUEUE" dest-name="queue/esb-broker" />
- </jms-bus>
- <jms-bus busid="BrokerService1">
- <jms-message-filter dest-type="QUEUE" dest-name="queue/esb-broker1" />
- </jms-bus>
- <jms-bus busid="BrokerService2">
- <jms-message-filter dest-type="QUEUE" dest-name="queue/esb-broker2"/>
- </jms-bus>
- <jms-bus busid="BrokerService3">
- <jms-message-filter dest-type="QUEUE" dest-name="queue/esb-broker3"/>
- </jms-bus>
- <jms-bus busid="BrokerService4">
- <jms-message-filter dest-type="QUEUE" dest-name="queue/esb-broker4"/>
- </jms-bus>
- <jms-bus busid="BrokerService5">
- <jms-message-filter dest-type="QUEUE" dest-name="queue/esb-broker5"/>
- </jms-bus>
- <jms-bus busid="BrokerService6">
- <jms-message-filter dest-type="QUEUE" dest-name="queue/esb-broker6"/>
- </jms-bus>
- <jms-bus busid="BrokerService7">
- <jms-message-filter dest-type="QUEUE" dest-name="queue/esb-broker7"/>
- </jms-bus>
- </jms-provider>
-
- </providers>
- <services>
-
- <service category="PurchaseGoods.Broker" name="Broker.main" description="">
- <listeners>
- <jms-listener name="BrokerServiceListener"
- busidref="BrokerService"
- maxThreads="1"/>
- </listeners>
- <actions mep="OneWay">
- <action class="org.jboss.soa.overlord.jbossesb.actions.CreateSessionAction"
- process="process" name="a1">
- <property name="session" value="com.acme.services.broker.PurchaseGoods" />
- </action>
- <action class="org.jboss.soa.overlord.jbossesb.actions.ReceiveMessageAction"
- process="process" name="a2">
- <property name="operation" value="buy" />
- <property name="messageType" value="BuyRequest" />
- <property name="clientEPR" value="client" />
- <property name="identities" >
- <identity type="primary" >
- <token name="id" locator="//@id" />
- </identity>
- </property>
- </action>
- <action class="com.acme.services.broker.SetCreditCheckRequestMessageAction"
- process="process" name="a3">
- </action>
- <action class="org.jboss.soa.overlord.jbossesb.actions.SendMessageAction"
- process="process" name="a4">
- <property name="operation" value="checkCredit" />
- <property name="messageType" value="creditInformation" />
- <property name="serviceName" value="CreditAgency.main" />
- <property name="serviceCategory" value="PurchaseGoods.CreditAgency" />
- <property name="responseServiceName" value="CreditResponse" />
- <property name="responseServiceCategory" value="PurchaseGoods.Broker" />
- <property name="identities" >
- <identity type="primary" >
- <token name="id" locator="//@id" />
- </identity>
- </property>
- </action>
- </actions>
- </service>
-
- <service category="PurchaseGoods.Broker" name="CreditResponse" description="" >
- <listeners>
- <jms-listener name="BrokerServiceListener"
- busidref="BrokerService2"
- maxThreads="1"/>
- </listeners>
- <actions mep="OneWay">
- <action class="org.jboss.soa.overlord.jbossesb.actions.RetrieveSessionAction"
- process="process" name="b1">
- <property name="session" value="com.acme.services.broker.PurchaseGoods" />
- <property name="serviceDescriptionName" value="{http://www.jboss.org/overlord/purchase}Broker" />
- <property name="identities" >
- <identity type="primary" >
- <token name="id" locator="//@id" />
- </identity>
- </property>
- </action>
- <action class="org.jboss.soa.overlord.jbossesb.actions.SwitchAction"
- process="process" name="b2">
- <property name="paths">
- <case service-category="PurchaseGoods.Broker"
- service-name="CreditResponse1" >
- <message type="creditValid" />
- </case>
- <case service-category="PurchaseGoods.Broker"
- service-name="CreditResponse2" >
- <message type="creditInvalid" />
- </case>
- </property>
- </action>
- </actions>
- </service>
-
- <service category="PurchaseGoods.Broker" name="CreditResponse1" description="" >
- <listeners>
- <jms-listener name="BrokerServiceListener"
- busidref="BrokerService3"
- maxThreads="1"/>
- </listeners>
- <actions mep="OneWay">
- <action class="org.jboss.soa.overlord.jbossesb.actions.ReceiveMessageAction"
- process="process" name="b4">
- <property name="session" value="com.acme.services.broker.PurchaseGoods" />
- <property name="operation" value="checkCredit" />
- <property name="messageType" value="creditValid" />
- <property name="serviceDescriptionName" value="{http://www.jboss.org/overlord/purchase}Broker" />
- <property name="identities" >
- <identity type="primary" >
- <token name="id" locator="//@id" />
- </identity>
- </property>
- </action>
- <action class="org.jboss.soa.overlord.jbossesb.actions.ParallelAction"
- process="process" name="b5">
- <property name="paths">
- <path service-category="PurchaseGoods.Broker"
- service-name="BrokerBranch1"
- immediate="true" />
- <path service-category="PurchaseGoods.Broker"
- service-name="BrokerBranch2"
- immediate="true" />
- <join service-category="PurchaseGoods.Broker"
- service-name="ReturnBuyerResponse" />
- </property>
- </action>
- </actions>
- </service>
-
- <service category="PurchaseGoods.Broker" name="BrokerBranch1" description="" >
- <listeners>
- <jms-listener name="BrokerServiceListener"
- busidref="BrokerService4"
- maxThreads="1"/>
- </listeners>
- <actions mep="OneWay">
- <action class="org.jboss.soa.overlord.jbossesb.actions.ScheduleStateAction"
- process="process" name="b7">
- <property name="session" value="com.acme.services.broker.PurchaseGoods" />
- <property name="serviceName" value="ReturnBuyerResponse" />
- <property name="serviceCategory" value="PurchaseGoods.Broker" />
- <property name="immediate" value="false" />
- </action>
- </actions>
- </service>
-
- <service category="PurchaseGoods.Broker" name="BrokerBranch2" description="" >
- <listeners>
- <jms-listener name="BrokerServiceListener"
- busidref="BrokerService5"
- maxThreads="1"/>
- </listeners>
- <actions mep="OneWay">
- <action class="org.jboss.soa.overlord.jbossesb.actions.ScheduleStateAction"
- process="process" name="b9">
- <property name="session" value="com.acme.services.broker.PurchaseGoods" />
- <property name="serviceName" value="ReturnBuyerResponse" />
- <property name="serviceCategory" value="PurchaseGoods.Broker" />
- <property name="immediate" value="false" />
- </action>
- </actions>
- </service>
-
- <service category="PurchaseGoods.Broker" name="ReturnBuyerResponse" description="" >
- <listeners>
- <jms-listener name="BrokerServiceListener"
- busidref="BrokerService6"
- maxThreads="1"/>
- </listeners>
- <actions mep="OneWay">
- <action class="com.acme.services.broker.SetBuyResponseMessageAction"
- process="process" name="b11">
- </action>
- <action class="org.jboss.soa.overlord.jbossesb.actions.SendMessageAction"
- process="process" name="b12">
- <property name="session" value="com.acme.services.broker.PurchaseGoods" />
- <property name="operation" value="buy" />
- <property name="messageType" value="BuyResponse" />
- <property name="clientEPR" value="client" />
- <property name="identities" >
- <identity type="primary" >
- <token name="id" locator="//@id" />
- </identity>
- </property>
- </action>
- </actions>
- </service>
-
- <service category="PurchaseGoods.Broker" name="CreditResponse2" description="" >
- <listeners>
- <jms-listener name="BrokerServiceListener"
- busidref="BrokerService7"
- maxThreads="1"/>
- </listeners>
- <actions mep="OneWay">
- <action class="org.jboss.soa.overlord.jbossesb.actions.ReceiveMessageAction"
- process="process" name="b14">
- <property name="session" value="com.acme.services.broker.PurchaseGoods" />
- <property name="operation" value="checkCredit" />
- <property name="messageType" value="creditInvalid" />
- <property name="serviceDescriptionName" value="{http://www.jboss.org/overlord/purchase}Broker" />
- <property name="identities" >
- <identity type="primary" >
- <token name="id" locator="//@id" />
- </identity>
- </property>
- </action>
- <action class="com.acme.services.broker.SetBuyFailedMessageAction"
- process="process" name="b15">
- </action>
- <action class="org.jboss.soa.overlord.jbossesb.actions.SendMessageAction"
- process="process" name="b16">
- <property name="operation" value="buy" />
- <property name="messageType" value="BuyFailed" />
- <property name="clientEPR" value="client" />
- <property name="identities" >
- <identity type="primary" >
- <token name="id" locator="//@id" />
- </identity>
- </property>
- </action>
- </actions>
- </service>
- </services>
-
-</jbossesb>
+<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml..." parameterReloadSecs="5000">
+ <providers>
+ <jms-provider connection-factory="ConnectionFactory" jndi-URL="localhost" jndi-context-factory="org.jnp.interfaces.NamingContextFactory" name="JBossMQ">
+ <jms-bus busid="BrokerService">
+ <jms-message-filter dest-name="queue/esb-broker" dest-type="QUEUE"/>
+ </jms-bus>
+ <jms-bus busid="BrokerService1">
+ <jms-message-filter dest-name="queue/esb-broker1" dest-type="QUEUE"/>
+ </jms-bus>
+ <jms-bus busid="BrokerService2">
+ <jms-message-filter dest-name="queue/esb-broker2" dest-type="QUEUE"/>
+ </jms-bus>
+ <jms-bus busid="BrokerService3">
+ <jms-message-filter dest-name="queue/esb-broker3" dest-type="QUEUE"/>
+ </jms-bus>
+ <jms-bus busid="BrokerService4">
+ <jms-message-filter dest-name="queue/esb-broker4" dest-type="QUEUE"/>
+ </jms-bus>
+ <jms-bus busid="BrokerService5">
+ <jms-message-filter dest-name="queue/esb-broker5" dest-type="QUEUE"/>
+ </jms-bus>
+ <jms-bus busid="BrokerService6">
+ <jms-message-filter dest-name="queue/esb-broker6" dest-type="QUEUE"/>
+ </jms-bus>
+ <jms-bus busid="BrokerService7">
+ <jms-message-filter dest-name="queue/esb-broker7" dest-type="QUEUE"/>
+ </jms-bus>
+ </jms-provider>
+ </providers>
+ <services>
+ <service category="PurchaseGoods.Broker" description="" name="Broker.main">
+ <listeners>
+ <jms-listener busidref="BrokerService" maxThreads="1" name="BrokerServiceListener"/>
+ </listeners>
+ <actions mep="OneWay">
+ <action class="org.jboss.soa.overlord.jbossesb.actions.CreateSessionAction" name="a1" process="process">
+ <property name="session" value="com.acme.services.broker.PurchaseGoods"/>
+ </action>
+ <action class="org.jboss.soa.overlord.jbossesb.actions.ReceiveMessageAction" name="a2" process="process">
+ <property name="operation" value="buy"/>
+ <property name="messageType" value="BuyRequest"/>
+ <property name="clientEPR" value="client"/>
+ <property name="identities">
+ <identity type="primary">
+ <token locator="//@id" name="id"/>
+ </identity>
+ </property>
+ </action>
+ <action class="com.acme.services.broker.SetCreditCheckRequestMessageAction" name="a3" process="process">
+ </action>
+ <action class="org.jboss.soa.overlord.jbossesb.actions.SendMessageAction" name="a4" process="process">
+ <property name="operation" value="checkCredit"/>
+ <property name="messageType" value="CreditCheckRequest"/>
+ <property name="serviceName" value="CreditAgency.main"/>
+ <property name="serviceCategory" value="PurchaseGoods.CreditAgency"/>
+ <property name="responseServiceName" value="CreditResponse"/>
+ <property name="responseServiceCategory" value="PurchaseGoods.Broker"/>
+ <property name="identities">
+ <identity type="primary">
+ <token locator="//@id" name="id"/>
+ </identity>
+ </property>
+ </action>
+ </actions>
+ </service>
+ <service category="PurchaseGoods.Broker" description="" name="CreditResponse">
+ <listeners>
+ <jms-listener busidref="BrokerService2" maxThreads="1" name="BrokerServiceListener"/>
+ </listeners>
+ <actions mep="OneWay">
+ <action class="org.jboss.soa.overlord.jbossesb.actions.RetrieveSessionAction" name="b1" process="process">
+ <property name="session" value="com.acme.services.broker.PurchaseGoods"/>
+ <property name="serviceDescriptionName" value="{http://www.jboss.org/overlord/purchase}Broker"/>
+ <property name="identities">
+ <identity type="primary">
+ <token locator="//@id" name="id"/>
+ </identity>
+ </property>
+ </action>
+ <action class="org.jboss.soa.overlord.jbossesb.actions.SwitchAction" name="b2" process="process">
+ <property name="paths">
+ <case service-category="PurchaseGoods.Broker" service-name="CreditResponse1">
+ <message type="creditValid"/>
+ </case>
+ <case service-category="PurchaseGoods.Broker" service-name="CreditResponse2">
+ <message type="creditInvalid"/>
+ </case>
+ </property>
+ </action>
+ </actions>
+ </service>
+ <service category="PurchaseGoods.Broker" description="" name="CreditResponse1">
+ <listeners>
+ <jms-listener busidref="BrokerService3" maxThreads="1" name="BrokerServiceListener"/>
+ </listeners>
+ <actions mep="OneWay">
+ <action class="org.jboss.soa.overlord.jbossesb.actions.ReceiveMessageAction" name="b4" process="process">
+ <property name="session" value="com.acme.services.broker.PurchaseGoods"/>
+ <property name="operation" value="checkCredit"/>
+ <property name="messageType" value="CreditCheckOk"/>
+ <property name="serviceDescriptionName" value="{http://www.jboss.org/overlord/purchase}Broker"/>
+ <property name="identities">
+ <identity type="primary">
+ <token locator="//@id" name="id"/>
+ </identity>
+ </property>
+ </action>
+ <action class="org.jboss.soa.overlord.jbossesb.actions.ParallelAction" name="b5" process="process">
+ <property name="paths">
+ <path immediate="true" service-category="PurchaseGoods.Broker" service-name="BrokerBranch1"/>
+ <path immediate="true" service-category="PurchaseGoods.Broker" service-name="BrokerBranch2"/>
+ <join service-category="PurchaseGoods.Broker" service-name="ReturnBuyerResponse"/>
+ </property>
+ </action>
+ </actions>
+ </service>
+ <service category="PurchaseGoods.Broker" description="" name="BrokerBranch1">
+ <listeners>
+ <jms-listener busidref="BrokerService4" maxThreads="1" name="BrokerServiceListener"/>
+ </listeners>
+ <actions mep="OneWay">
+ <action class="org.jboss.soa.overlord.jbossesb.actions.ScheduleStateAction" name="b7" process="process">
+ <property name="session" value="com.acme.services.broker.PurchaseGoods"/>
+ <property name="serviceName" value="ReturnBuyerResponse"/>
+ <property name="serviceCategory" value="PurchaseGoods.Broker"/>
+ <property name="immediate" value="false"/>
+ </action>
+ </actions>
+ </service>
+ <service category="PurchaseGoods.Broker" description="" name="BrokerBranch2">
+ <listeners>
+ <jms-listener busidref="BrokerService5" maxThreads="1" name="BrokerServiceListener"/>
+ </listeners>
+ <actions mep="OneWay">
+ <action class="org.jboss.soa.overlord.jbossesb.actions.ScheduleStateAction" name="b9" process="process">
+ <property name="session" value="com.acme.services.broker.PurchaseGoods"/>
+ <property name="serviceName" value="ReturnBuyerResponse"/>
+ <property name="serviceCategory" value="PurchaseGoods.Broker"/>
+ <property name="immediate" value="false"/>
+ </action>
+ </actions>
+ </service>
+ <service category="PurchaseGoods.Broker" description="" name="ReturnBuyerResponse">
+ <listeners>
+ <jms-listener busidref="BrokerService6" maxThreads="1" name="BrokerServiceListener"/>
+ </listeners>
+ <actions mep="OneWay">
+ <action class="com.acme.services.broker.SetBuyResponseMessageAction" name="b11" process="process">
+ </action>
+ <action class="org.jboss.soa.overlord.jbossesb.actions.SendMessageAction" name="b12" process="process">
+ <property name="session" value="com.acme.services.broker.PurchaseGoods"/>
+ <property name="operation" value="buy"/>
+ <property name="messageType" value="BuyConfirmed"/>
+ <property name="clientEPR" value="client"/>
+ <property name="identities">
+ <identity type="primary">
+ <token locator="//@id" name="id"/>
+ </identity>
+ </property>
+ </action>
+ </actions>
+ </service>
+ <service category="PurchaseGoods.Broker" description="" name="CreditResponse2">
+ <listeners>
+ <jms-listener busidref="BrokerService7" maxThreads="1" name="BrokerServiceListener"/>
+ </listeners>
+ <actions mep="OneWay">
+ <action class="org.jboss.soa.overlord.jbossesb.actions.ReceiveMessageAction" name="b14" process="process">
+ <property name="session" value="com.acme.services.broker.PurchaseGoods"/>
+ <property name="operation" value="checkCredit"/>
+ <property name="messageType" value="CreditCheckInvalid"/>
+ <property name="serviceDescriptionName" value="{http://www.jboss.org/overlord/purchase}Broker"/>
+ <property name="identities">
+ <identity type="primary">
+ <token locator="//@id" name="id"/>
+ </identity>
+ </property>
+ </action>
+ <action class="com.acme.services.broker.SetBuyFailedMessageAction" name="b15" process="process">
+ </action>
+ <action class="org.jboss.soa.overlord.jbossesb.actions.SendMessageAction" name="b16" process="process">
+ <property name="operation" value="buy"/>
+ <property name="messageType" value="BuyFailed"/>
+ <property name="clientEPR" value="client"/>
+ <property name="identities">
+ <identity type="primary">
+ <token locator="//@id" name="id"/>
+ </identity>
+ </property>
+ </action>
+ </actions>
+ </service>
+ </services>
+</jbossesb>
15 years, 7 months
Overlord SVN: r336 - in cdl/trunk: distribution/src/main/release/samples/jbossesb/trailblazer/models/.settings and 1 other directories.
by overlord-commits@lists.jboss.org
Author: objectiser
Date: 2008-09-22 07:33:49 -0400 (Mon, 22 Sep 2008)
New Revision: 336
Added:
cdl/trunk/distribution/src/main/release/samples/jbossesb/trailblazer/models/.settings/
cdl/trunk/distribution/src/main/release/samples/jbossesb/trailblazer/models/.settings/org.eclipse.core.resources.prefs
Modified:
cdl/trunk/samples/jbossesb/SamplesGuide.odt
cdl/trunk/samples/jbossesb/SamplesGuide.pdf
Log:
Trailblazer Eclipse project now includes settings to make sure the model encoding is UTF-8, as the default Eclipse encoding causes problems when used with certain XML parsers - e.g. in the JBossAS server. Updated the SamplesGuide to include instructions on modifying the choreography to demonstrate a sequencing error in the trailblazer example.
Added: cdl/trunk/distribution/src/main/release/samples/jbossesb/trailblazer/models/.settings/org.eclipse.core.resources.prefs
===================================================================
--- cdl/trunk/distribution/src/main/release/samples/jbossesb/trailblazer/models/.settings/org.eclipse.core.resources.prefs (rev 0)
+++ cdl/trunk/distribution/src/main/release/samples/jbossesb/trailblazer/models/.settings/org.eclipse.core.resources.prefs 2008-09-22 11:33:49 UTC (rev 336)
@@ -0,0 +1,3 @@
+#Mon Sep 22 11:55:10 BST 2008
+eclipse.preferences.version=1
+encoding/TrailBlazer.cdm=UTF-8
Modified: cdl/trunk/samples/jbossesb/SamplesGuide.odt
===================================================================
(Binary files differ)
Modified: cdl/trunk/samples/jbossesb/SamplesGuide.pdf
===================================================================
(Binary files differ)
15 years, 7 months