Author: objectiser
Date: 2009-02-19 08:52:57 -0500 (Thu, 19 Feb 2009)
New Revision: 519
Added:
cdl/trunk/docs/docbook/gettingstartedguide/src/main/images/SVJBossESBAnnotation.jpg
cdl/trunk/docs/docbook/gettingstartedguide/src/main/images/SVJBossESBAnnotationToolTip.jpg
cdl/trunk/docs/docbook/gettingstartedguide/src/main/images/SVJBossESBEditAnnotation.jpg
Removed:
cdl/trunk/docs/docbook/gettingstartedguide/src/main/images/GenerateValidatorDialog.jpg
cdl/trunk/docs/docbook/gettingstartedguide/src/main/images/GenerateValidatorMenu.jpg
Modified:
cdl/trunk/docs/docbook/gettingstartedguide/src/main/images/GenerateESBServicesMenu.jpg
cdl/trunk/docs/docbook/gettingstartedguide/src/main/module/soagwithcdl.xml
cdl/trunk/samples/jbossesb/trailblazer/models/TrailBlazer.cdm
cdl/trunk/validator/jbossesb-assembly/src/main/resources/models/TrailBlazer.cdm
cdl/trunk/validator/jbossesb-assembly/src/main/resources/validator-config.xml
Log:
Updated Trailblazer.cdm to include the new jbossesb annotation format, and updated getting
started guide to describe new approach to configuring the service validators which
supports "hot deployment".
Modified:
cdl/trunk/docs/docbook/gettingstartedguide/src/main/images/GenerateESBServicesMenu.jpg
===================================================================
(Binary files differ)
Deleted:
cdl/trunk/docs/docbook/gettingstartedguide/src/main/images/GenerateValidatorDialog.jpg
===================================================================
(Binary files differ)
Deleted:
cdl/trunk/docs/docbook/gettingstartedguide/src/main/images/GenerateValidatorMenu.jpg
===================================================================
(Binary files differ)
Added:
cdl/trunk/docs/docbook/gettingstartedguide/src/main/images/SVJBossESBAnnotation.jpg
===================================================================
(Binary files differ)
Property changes on:
cdl/trunk/docs/docbook/gettingstartedguide/src/main/images/SVJBossESBAnnotation.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
cdl/trunk/docs/docbook/gettingstartedguide/src/main/images/SVJBossESBAnnotationToolTip.jpg
===================================================================
(Binary files differ)
Property changes on:
cdl/trunk/docs/docbook/gettingstartedguide/src/main/images/SVJBossESBAnnotationToolTip.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
cdl/trunk/docs/docbook/gettingstartedguide/src/main/images/SVJBossESBEditAnnotation.jpg
===================================================================
(Binary files differ)
Property changes on:
cdl/trunk/docs/docbook/gettingstartedguide/src/main/images/SVJBossESBEditAnnotation.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: cdl/trunk/docs/docbook/gettingstartedguide/src/main/module/soagwithcdl.xml
===================================================================
--- cdl/trunk/docs/docbook/gettingstartedguide/src/main/module/soagwithcdl.xml 2009-02-19
12:33:24 UTC (rev 518)
+++ cdl/trunk/docs/docbook/gettingstartedguide/src/main/module/soagwithcdl.xml 2009-02-19
13:52:57 UTC (rev 519)
@@ -4,8 +4,6 @@
<chapter id="soagwithcdl">
<title>SOA Governance with CDL </title>
-I wasn't expecting Chapter 2 until much later. I thought that after installation
we'd take people through a worked example (glossing over the concepts, but showing
people what can be accomplished), but Chapter 2 dives into terms and concepts. I suppose
what I was expecting was something like "make sure your Eclipse workspace is set to
blah" and blah is a pre-configured workspace that we've set up with a number of
different out-of-the-box examples. Then we'd go quickly through them in Chapter 2
before going into more detail about what's going on in subsequent chapters. That way
we almost convince people in Chapter 2 that it's worth their while continuing on with
the rest of the document. I know that Steve used to do something like this when demo-ing
the original CDL tooling, so hopefully it's not too much effort to try to put this
in?
-
<para>
The Choreography Description Language (CDL) provides a means of describing a process,
that executes across a distributed set of services, from a global (or service independent)
perspective.
</para>
@@ -103,7 +101,7 @@
<title>Generating an ESB Service using "Conversation Aware" ESB
Actions</title>
<para>
-Once we have a choreography description, it is possible to generate an ESB Service (with
<emphasis>conversation aware</emphasis> ESB actions), for each of the
participants defined within the choreography. To try this out, select the
<emphasis>Overlord->JBossESB->Generate ESB Services</emphasis> menu item
from the popup menu associated with the
<filename>PurchaseGoods.cdm</filename>.
+Once we have a choreography description, it is possible to generate an ESB Service (with
<emphasis>conversation aware</emphasis> ESB actions), for each of the
participants defined within the choreography. To try this out, select the
<emphasis>Overlord->Generate->JBossESB Services</emphasis> menu item
from the popup menu associated with the
<filename>PurchaseGoods.cdm</filename>.
</para>
<imageobject>
@@ -264,28 +262,48 @@
<title>Service Validator Configuration</title>
<para>
-The service validator configuration for a choreography can be created using the
<emphasis>Overlord->JBossESB->Generate Validator</emphasis> menu item on
the popup menu associated with the <filename>TrailBlazer.cdm</filename> file.
+The JBossESB service validator configuration is defined using jbossesb specific
annotations, that are associated
+with the 'exchange details' components (contained within interactions), within
the choreography description.
</para>
+ <para>
+To view the pre-configured service validator configuration defined for the Trailblazer
example, edit the
+<filename>TrailBlazer.cdm</filename> file, navigate to the
<emphasis>Choreography Flows</emphasis> tab and then
+select the <emphasis>Choreography->Edit Annotations</emphasis> menu item
associated with the first 'exchange details'
+component (as shown below).
+ </para>
+
<imageobject>
- <imagedata fileref="images/GenerateValidatorMenu.jpg"
align="center" width="3in" />
+ <imagedata fileref="images/SVJBossESBEditAnnotation.jpg"
align="center" width="3in" />
</imageobject>
<para>
-This results in a dialog being displayed, requesting the path to the file to be
generated. The name of the file must be
<filename>validator-config.xml</filename>, otherwise the 'Ok' button
will not be enabled.
+This will display the annotation editor, with the single configured annotation called
'jbossesb'. This annotation defines
+the information required for the Service Validator to monitor this specific message
exchange (i.e. the JMS destination
+on which the message will be passed).
</para>
<imageobject>
- <imagedata fileref="images/GenerateValidatorDialog.jpg"
align="center" width="4in" />
+ <imagedata fileref="images/SVJBossESBAnnotation.jpg"
align="center" width="3in" />
</imageobject>
<para>
-The information contained within the generated
<filename>validator-config.xml</filename> can be merged as appropriate with
the file contained within the
<filename>$JBossAS/server/default/deploy/overlord-cdl-validator.esb</filename>
folder in the JBossAS environment. The validator configuration for the
<emphasis>trailblazer</emphasis> example has been preconfigured to be deployed
as part of the installation procedure.
+Once an annotation has been defined, it will also be displayed as part of the tooltip for
the associated model component, for example:
</para>
+ <imageobject>
+ <imagedata fileref="images/SVJBossESBAnnotationTooltip.jpg"
align="center" width="3in" />
+ </imageobject>
+
+ <para>
+One the jbossesb annotations have been defined for all relevant 'exchange
details' components in the choreography description,
+the choreography file can be copied to the
<filename>$JBossAS/server/default/deploy/overlord-cdl-validator.esb/models</filename>
+folder in the JBossAS environment. The service validator configuration for the
<emphasis>trailblazer</emphasis> example has been preconfigured to be deployed
as part of the installation procedure.
+ </para>
+
<note>
<para>
-If the <filename>validator-config.xml</filename> within the JBossAS
environment is modified, then the server needs to be restarted to cause the configuration
to take effect.
+If the <filename>overlord-cdl-validator.esb/validator-config.xml</filename>
within the JBossAS environment is modified, or choreography description files added,
removed or updated within the
<filename>overlord-cdl-validator.esb/models</filename> sub-folder, then the
changes will automatically be detected and used to re-configure the service validators
without having to restart the JBossESB server.
</para>
</note>
Modified: cdl/trunk/samples/jbossesb/trailblazer/models/TrailBlazer.cdm
===================================================================
--- cdl/trunk/samples/jbossesb/trailblazer/models/TrailBlazer.cdm 2009-02-19 12:33:24 UTC
(rev 518)
+++ cdl/trunk/samples/jbossesb/trailblazer/models/TrailBlazer.cdm 2009-02-19 13:52:57 UTC
(rev 519)
@@ -59,17 +59,17 @@
<variableDefinitions description="Channel to facilitate interaction to
Notifier" name="NotifierChannel"
type="//@typeDefinitions/(a)channelTypes.2"
roleTypes="//@typeDefinitions/(a)roleTypes.2
//@typeDefinitions/(a)roleTypes.3"/>
<activities xsi:type="org.pi4soa.cdl:Interaction"
name="QuoteRequest" operation="requestQuote"
channelVariable="//@choreographies.0/@enclosedChoreographies.0/(a)variableDefinitions.0"
relationship="//@typeDefinitions/(a)relationshipTypes.0">
<exchangeDetails description="This is the exchange details for the
request exchange associated with interaction QuoteRequest"
name="QuoteRequestRequestExchange"
type="//@typeDefinitions/(a)informationTypes.5">
- <semanticAnnotations
annotation="<jbossesb>
	<destination
name="{{Destination;The URI for the ESB
destination;string;;jms:queue/esb-tb-jmsBankRequestQueue}}"
		temporary="{{Temporary;Whether
the destination is temporary;boolean;;false}}"
/>
</jbossesb>
"
name="jbossesb"/>
- <semanticAnnotations
annotation="<jbossesb>
	<destination
name="{{Destination;The URI for the ESB
destination;string;;jms:queue/esb-tb-fileBankRequestQueue}}"
		temporary="{{Temporary;Whether
the destination is temporary;boolean;;false}}"
/>
</jbossesb>
"
name="jbossesb"/>
+ <semanticAnnotations
annotation="<jbossesb>
	<destination
name="{{Destination;The URI for the ESB
destination;string;;jms:queue/esb-tb-jmsBankRequestQueue}}"
		dynamicReplyTo="{{Dynamic
ReplyTo;Whether the replyTo destination is dynamic;boolean;;false}}"
/>
</jbossesb>
"
name="jbossesb"/>
+ <semanticAnnotations
annotation="<jbossesb>
	<destination
name="{{Destination;The URI for the ESB
destination;string;;jms:queue/esb-tb-fileBankRequestQueue}}"
		dynamicReplyTo="{{Dynamic
ReplyTo;Whether the replyTo destination is dynamic;boolean;;false}}"
/>
</jbossesb>
"
name="jbossesb"/>
</exchangeDetails>
<exchangeDetails description="This is the exchange details for the
respond exchange associated with interaction QuoteRequest"
name="QuoteRequestRespondExchange"
type="//@typeDefinitions/(a)informationTypes.3" action="Respond">
- <semanticAnnotations
annotation="<jbossesb>
	<destination
name="{{Destination;The URI for the ESB
destination;string;;jms:queue/esb-tb-jmsBankResponseQueue}}"
		temporary="{{Temporary;Whether
the destination is temporary;boolean;;false}}"
/>
</jbossesb>
"
name="jbossesb"/>
- <semanticAnnotations
annotation="<jbossesb>
	<destination
name="{{Destination;The URI for the ESB
destination;string;;jms:queue/esb-tb-fileBankResponseQueue}}"
		temporary="{{Temporary;Whether
the destination is temporary;boolean;;false}}"
/>
</jbossesb>
"
name="jbossesb"/>
+ <semanticAnnotations
annotation="<jbossesb>
	<destination
name="{{Destination;The URI for the ESB
destination;string;;jms:queue/esb-tb-jmsBankResponseQueue}}"
		dynamicReplyTo="{{Dynamic
ReplyTo;Whether the replyTo destination is dynamic;boolean;;false}}"
/>
</jbossesb>
"
name="jbossesb"/>
+ <semanticAnnotations
annotation="<jbossesb>
	<destination
name="{{Destination;The URI for the ESB
destination;string;;jms:queue/esb-tb-fileBankResponseQueue}}"
		dynamicReplyTo="{{Dynamic
ReplyTo;Whether the replyTo destination is dynamic;boolean;;false}}"
/>
</jbossesb>
"
name="jbossesb"/>
</exchangeDetails>
</activities>
<activities xsi:type="org.pi4soa.cdl:Interaction"
name="NotifyCustomer" operation="notify"
channelVariable="//@choreographies.0/@enclosedChoreographies.0/(a)variableDefinitions.1"
relationship="//@typeDefinitions/(a)relationshipTypes.2">
<exchangeDetails description="This is the exchange details for the
request exchange associated with interaction NotifyCustomer"
name="NotifyCustomerRequestExchange"
type="//@typeDefinitions/(a)informationTypes.3">
- <semanticAnnotations
annotation="<jbossesb>
	<destination
name="{{Destination;The URI for the ESB
destination;string;;jms:queue/esb-tb-customerNotifier}}"
		temporary="{{Temporary;Whether
the destination is temporary;boolean;;false}}"
/>
</jbossesb>
"
name="jbossesb"/>
+ <semanticAnnotations
annotation="<jbossesb>
	<destination
name="{{Destination;The URI for the ESB
destination;string;;jms:queue/esb-tb-customerNotifier}}"
		dynamicReplyTo="{{Dynamic
ReplyTo;Whether the replyTo destination is dynamic;boolean;;false}}"
/>
</jbossesb>
"
name="jbossesb"/>
</exchangeDetails>
</activities>
</enclosedChoreographies>
@@ -78,12 +78,12 @@
<variableDefinitions description="This is the variable
creditCheckResult" name="creditCheckResult"
type="//@typeDefinitions/(a)informationTypes.1"
roleTypes="//@typeDefinitions/(a)roleTypes.2"/>
<activities xsi:type="org.pi4soa.cdl:Interaction"
name="CreditCheck" operation="checkCredit"
channelVariable="//@choreographies.0/(a)variableDefinitions.0"
relationship="//@typeDefinitions/(a)relationshipTypes.1">
<exchangeDetails description="This is the exchange details for the request
exchange associated with interaction CreditCheck"
name="CreditCheckRequestExchange"
type="//@typeDefinitions/(a)informationTypes.0">
- <semanticAnnotations
annotation="<jbossesb>
	<destination
name="{{Destination;The URI for the ESB
destination;string;;jms:queue/esb-tb-creditAgencyQueue}}"
		temporary="{{Temporary;Whether
the destination is temporary;boolean;;false}}"
/>
</jbossesb>
"
name="jbossesb"/>
+ <semanticAnnotations
annotation="<jbossesb>
	<destination
name="{{Destination;The URI for the ESB
destination;string;;jms:queue/esb-tb-creditAgencyQueue}}"
		dynamicReplyTo="{{Dynamic
ReplyTo;Whether the replyTo destination is dynamic;boolean;;false}}"
/>
</jbossesb>
"
name="jbossesb"/>
</exchangeDetails>
</activities>
<activities xsi:type="org.pi4soa.cdl:Interaction"
name="CreditCheck" operation="checkCredit"
channelVariable="//@choreographies.0/(a)variableDefinitions.0"
relationship="//@typeDefinitions/(a)relationshipTypes.1">
<exchangeDetails description="This is the exchange details for the respond
exchange associated with interaction CreditCheck"
name="CreditCheckRespondExchange"
type="//@typeDefinitions/(a)informationTypes.1" action="Respond"
receiveVariable="//@choreographies.0/(a)variableDefinitions.2">
- <semanticAnnotations
annotation="<jbossesb>
	<destination
name="{{Destination;The URI for the ESB
destination;string;;jms:queue/esb-tb-creditAgencyQueue_reply}}"
		temporary="{{Temporary;Whether
the destination is temporary;boolean;;false}}"
/>
</jbossesb>
"
name="jbossesb"/>
+ <semanticAnnotations
annotation="<jbossesb>
	<destination
name="{{Destination;The URI for the ESB
destination;string;;jms:queue/esb-tb-creditAgencyQueue_reply}}"
		dynamicReplyTo="{{Dynamic
ReplyTo;Whether the replyTo destination is dynamic;boolean;;false}}"
/>
</jbossesb>
"
name="jbossesb"/>
</exchangeDetails>
</activities>
<activities xsi:type="org.pi4soa.cdl:Choice">
@@ -99,7 +99,9 @@
</activities>
<activities xsi:type="org.pi4soa.cdl:Sequence"
description="Insufficient credit">
<activities xsi:type="org.pi4soa.cdl:Interaction"
name="NotifyCustomer" operation="notify"
channelVariable="//@choreographies.0/(a)variableDefinitions.1"
relationship="//@typeDefinitions/(a)relationshipTypes.2">
- <exchangeDetails description="This is the exchange details for the
request exchange associated with interaction NotifyCustomer"
name="NotifyCustomerRequestExchange"
type="//@typeDefinitions/(a)informationTypes.2"/>
+ <exchangeDetails description="This is the exchange details for the
request exchange associated with interaction NotifyCustomer"
name="NotifyCustomerRequestExchange"
type="//@typeDefinitions/(a)informationTypes.2">
+ <semanticAnnotations
annotation="<jbossesb>
	<destination
name="{{Destination;The URI for the ESB
destination;string;;jms:queue/esb-tb-customerNotifier}}"
		dynamicReplyTo="{{Dynamic
ReplyTo;Whether the replyTo destination is dynamic;boolean;;false}}"
/>
</jbossesb>
"
name="jbossesb"/>
+ </exchangeDetails>
</activities>
</activities>
</activities>
Modified: cdl/trunk/validator/jbossesb-assembly/src/main/resources/models/TrailBlazer.cdm
===================================================================
---
cdl/trunk/validator/jbossesb-assembly/src/main/resources/models/TrailBlazer.cdm 2009-02-19
12:33:24 UTC (rev 518)
+++
cdl/trunk/validator/jbossesb-assembly/src/main/resources/models/TrailBlazer.cdm 2009-02-19
13:52:57 UTC (rev 519)
@@ -58,21 +58,33 @@
<variableDefinitions description="Channel to facilitate interaction to
Bank" name="BankChannel"
type="//@typeDefinitions/(a)channelTypes.0"
roleTypes="//@typeDefinitions/(a)roleTypes.0
//@typeDefinitions/(a)roleTypes.2"/>
<variableDefinitions description="Channel to facilitate interaction to
Notifier" name="NotifierChannel"
type="//@typeDefinitions/(a)channelTypes.2"
roleTypes="//@typeDefinitions/(a)roleTypes.2
//@typeDefinitions/(a)roleTypes.3"/>
<activities xsi:type="org.pi4soa.cdl:Interaction"
name="QuoteRequest" operation="requestQuote"
channelVariable="//@choreographies.0/@enclosedChoreographies.0/(a)variableDefinitions.0"
relationship="//@typeDefinitions/(a)relationshipTypes.0">
- <exchangeDetails description="This is the exchange details for the
request exchange associated with interaction QuoteRequest"
name="QuoteRequestRequestExchange"
type="//@typeDefinitions/(a)informationTypes.5"/>
- <exchangeDetails description="This is the exchange details for the
respond exchange associated with interaction QuoteRequest"
name="QuoteRequestRespondExchange"
type="//@typeDefinitions/(a)informationTypes.3" action="Respond"/>
+ <exchangeDetails description="This is the exchange details for the
request exchange associated with interaction QuoteRequest"
name="QuoteRequestRequestExchange"
type="//@typeDefinitions/(a)informationTypes.5">
+ <semanticAnnotations
annotation="<jbossesb>
	<destination
name="{{Destination;The URI for the ESB
destination;string;;jms:queue/esb-tb-jmsBankRequestQueue}}"
		dynamicReplyTo="{{Dynamic
ReplyTo;Whether the replyTo destination is dynamic;boolean;;false}}"
/>
</jbossesb>
"
name="jbossesb"/>
+ <semanticAnnotations
annotation="<jbossesb>
	<destination
name="{{Destination;The URI for the ESB
destination;string;;jms:queue/esb-tb-fileBankRequestQueue}}"
		dynamicReplyTo="{{Dynamic
ReplyTo;Whether the replyTo destination is dynamic;boolean;;false}}"
/>
</jbossesb>
"
name="jbossesb"/>
+ </exchangeDetails>
+ <exchangeDetails description="This is the exchange details for the
respond exchange associated with interaction QuoteRequest"
name="QuoteRequestRespondExchange"
type="//@typeDefinitions/(a)informationTypes.3" action="Respond">
+ <semanticAnnotations
annotation="<jbossesb>
	<destination
name="{{Destination;The URI for the ESB
destination;string;;jms:queue/esb-tb-jmsBankResponseQueue}}"
		dynamicReplyTo="{{Dynamic
ReplyTo;Whether the replyTo destination is dynamic;boolean;;false}}"
/>
</jbossesb>
"
name="jbossesb"/>
+ <semanticAnnotations
annotation="<jbossesb>
	<destination
name="{{Destination;The URI for the ESB
destination;string;;jms:queue/esb-tb-fileBankResponseQueue}}"
		dynamicReplyTo="{{Dynamic
ReplyTo;Whether the replyTo destination is dynamic;boolean;;false}}"
/>
</jbossesb>
"
name="jbossesb"/>
+ </exchangeDetails>
</activities>
<activities xsi:type="org.pi4soa.cdl:Interaction"
name="NotifyCustomer" operation="notify"
channelVariable="//@choreographies.0/@enclosedChoreographies.0/(a)variableDefinitions.1"
relationship="//@typeDefinitions/(a)relationshipTypes.2">
- <exchangeDetails description="This is the exchange details for the
request exchange associated with interaction NotifyCustomer"
name="NotifyCustomerRequestExchange"
type="//@typeDefinitions/(a)informationTypes.3"/>
+ <exchangeDetails description="This is the exchange details for the
request exchange associated with interaction NotifyCustomer"
name="NotifyCustomerRequestExchange"
type="//@typeDefinitions/(a)informationTypes.3">
+ <semanticAnnotations
annotation="<jbossesb>
	<destination
name="{{Destination;The URI for the ESB
destination;string;;jms:queue/esb-tb-customerNotifier}}"
		dynamicReplyTo="{{Dynamic
ReplyTo;Whether the replyTo destination is dynamic;boolean;;false}}"
/>
</jbossesb>
"
name="jbossesb"/>
+ </exchangeDetails>
</activities>
</enclosedChoreographies>
<variableDefinitions description="Channel to facilitate interaction to
CreditAgency" name="CreditAgencyChannel"
type="//@typeDefinitions/(a)channelTypes.1"
roleTypes="//@typeDefinitions/(a)roleTypes.1
//@typeDefinitions/(a)roleTypes.2"/>
<variableDefinitions description="This is the variable NotifierChannel"
name="NotifierChannel" type="//@typeDefinitions/(a)channelTypes.2"
roleTypes="//@typeDefinitions/(a)roleTypes.2
//@typeDefinitions/(a)roleTypes.3"/>
<variableDefinitions description="This is the variable
creditCheckResult" name="creditCheckResult"
type="//@typeDefinitions/(a)informationTypes.1"
roleTypes="//@typeDefinitions/(a)roleTypes.2"/>
<activities xsi:type="org.pi4soa.cdl:Interaction"
name="CreditCheck" operation="checkCredit"
channelVariable="//@choreographies.0/(a)variableDefinitions.0"
relationship="//@typeDefinitions/(a)relationshipTypes.1">
- <exchangeDetails description="This is the exchange details for the request
exchange associated with interaction CreditCheck"
name="CreditCheckRequestExchange"
type="//@typeDefinitions/(a)informationTypes.0"/>
+ <exchangeDetails description="This is the exchange details for the request
exchange associated with interaction CreditCheck"
name="CreditCheckRequestExchange"
type="//@typeDefinitions/(a)informationTypes.0">
+ <semanticAnnotations
annotation="<jbossesb>
	<destination
name="{{Destination;The URI for the ESB
destination;string;;jms:queue/esb-tb-creditAgencyQueue}}"
		dynamicReplyTo="{{Dynamic
ReplyTo;Whether the replyTo destination is dynamic;boolean;;false}}"
/>
</jbossesb>
"
name="jbossesb"/>
+ </exchangeDetails>
</activities>
<activities xsi:type="org.pi4soa.cdl:Interaction"
name="CreditCheck" operation="checkCredit"
channelVariable="//@choreographies.0/(a)variableDefinitions.0"
relationship="//@typeDefinitions/(a)relationshipTypes.1">
- <exchangeDetails description="This is the exchange details for the respond
exchange associated with interaction CreditCheck"
name="CreditCheckRespondExchange"
type="//@typeDefinitions/(a)informationTypes.1" action="Respond"
receiveVariable="//@choreographies.0/(a)variableDefinitions.2"/>
+ <exchangeDetails description="This is the exchange details for the respond
exchange associated with interaction CreditCheck"
name="CreditCheckRespondExchange"
type="//@typeDefinitions/(a)informationTypes.1" action="Respond"
receiveVariable="//@choreographies.0/(a)variableDefinitions.2">
+ <semanticAnnotations
annotation="<jbossesb>
	<destination
name="{{Destination;The URI for the ESB
destination;string;;jms:queue/esb-tb-creditAgencyQueue_reply}}"
		dynamicReplyTo="{{Dynamic
ReplyTo;Whether the replyTo destination is dynamic;boolean;;false}}"
/>
</jbossesb>
"
name="jbossesb"/>
+ </exchangeDetails>
</activities>
<activities xsi:type="org.pi4soa.cdl:Choice">
<activities xsi:type="org.pi4soa.cdl:Conditional"
description="Sufficient credit to request quotes" name="ValidCredit"
expression="cdl:getVariable('creditCheckResult','','//@score')
>= 4">
@@ -87,7 +99,9 @@
</activities>
<activities xsi:type="org.pi4soa.cdl:Sequence"
description="Insufficient credit">
<activities xsi:type="org.pi4soa.cdl:Interaction"
name="NotifyCustomer" operation="notify"
channelVariable="//@choreographies.0/(a)variableDefinitions.1"
relationship="//@typeDefinitions/(a)relationshipTypes.2">
- <exchangeDetails description="This is the exchange details for the
request exchange associated with interaction NotifyCustomer"
name="NotifyCustomerRequestExchange"
type="//@typeDefinitions/(a)informationTypes.2"/>
+ <exchangeDetails description="This is the exchange details for the
request exchange associated with interaction NotifyCustomer"
name="NotifyCustomerRequestExchange"
type="//@typeDefinitions/(a)informationTypes.2">
+ <semanticAnnotations
annotation="<jbossesb>
	<destination
name="{{Destination;The URI for the ESB
destination;string;;jms:queue/esb-tb-customerNotifier}}"
		dynamicReplyTo="{{Dynamic
ReplyTo;Whether the replyTo destination is dynamic;boolean;;false}}"
/>
</jbossesb>
"
name="jbossesb"/>
+ </exchangeDetails>
</activities>
</activities>
</activities>
Modified: cdl/trunk/validator/jbossesb-assembly/src/main/resources/validator-config.xml
===================================================================
---
cdl/trunk/validator/jbossesb-assembly/src/main/resources/validator-config.xml 2009-02-19
12:33:24 UTC (rev 518)
+++
cdl/trunk/validator/jbossesb-assembly/src/main/resources/validator-config.xml 2009-02-19
13:52:57 UTC (rev 519)
@@ -1,24 +1,2 @@
-<validator>
- <service model="TrailBlazer.cdm" role="LoanBrokerParticipant"
>
- <output epr="jms:queue/esb-tb-creditAgencyQueue" />
- <input epr="jms:queue/esb-tb-creditAgencyQueue_reply" />
- <output epr="jms:queue/esb-tb-jmsBankRequestQueue" />
- <output epr="jms:queue/esb-tb-fileBankRequestQueue" />
- <input epr="jms:queue/esb-tb-jmsBankResponseQueue" />
- <output epr="jms:queue/esb-tb-customerNotifier" />
- <input epr="jms:queue/esb-tb-fileBankResponseQueue" />
- </service>
- <service model="TrailBlazer.cdm" role="CreditAgencyParticipant"
>
- <input epr="jms:queue/esb-tb-creditAgencyQueue" />
- <output epr="jms:queue/esb-tb-creditAgencyQueue_reply" />
- </service>
- <service model="TrailBlazer.cdm" role="BankParticipant" >
- <input epr="jms:queue/esb-tb-jmsBankRequestQueue" />
- <input epr="jms:queue/esb-tb-fileBankRequestQueue" />
- <output epr="jms:queue/esb-tb-jmsBankResponseQueue" />
- <output epr="jms:queue/esb-tb-fileBankResponseQueue" />
- </service>
- <service model="TrailBlazer.cdm" role="NotifierParticipant" >
- <input epr="jms:queue/esb-tb-customerNotifier" />
- </service>
+<validator mode="monitor" replyToTimeout="10000" >
</validator>