[ http://issues.apache.org/jira/browse/SYNAPSE-49?page=all ]
Tijs Rademakers updated SYNAPSE-49:
-----------------------------------
Attachment: synapse49-patch-UPDATEDVERSION.txt
IMPORTANT!!
This is an UPDATED version of the RMSequence mediator, please use only this one
as it is the succeeder of the other patch attached to this JIRA issue.
Details:
The previous patch lacked a way to identify a sequence and to terminate a
sequence based on message values. Therefore a new XML structure is used now.
<RMSequence ( correlation="xpath" [last-message="xpath"] ) | single="true"
[version="1.0|1.1"/>
correlation attribute: this attribute should contain an xpath expression that
selects one node from the XML message. The text value of the selected node
should identify the messages belonging to one sequence. This is a first basic
implementation of identifying a sequence, this could be enhanced in the next
revision.
last-message attribute: this attribute should contain an xpath expression that
is a boolean xpath expression in a XML message to determine of the message is
the last in the sequence. This attribute is optional, so Synapse users don't
have to specify the last message identification. However then the sequence will
not be terminated bu a terminatesequence message.
single attribute: instead of using a correlation and optionally a last-message
attribute the Synapse user can also specify that there is only one message in
every sequence.
version attribute: to specifiy the WS-RM specification version to be used, 1.0
or 1.1. This attribute is optional, when it is not specified version 1.0 is
used as this is also the Sandesha default.
Please review this patch.
> WS-RM sequence start and termination and version handling
> ---------------------------------------------------------
>
> Key: SYNAPSE-49
> URL: http://issues.apache.org/jira/browse/SYNAPSE-49
> Project: Synapse
> Issue Type: Improvement
> Components: Core
> Affects Versions: Incubating-0.90
> Reporter: Tijs Rademakers
> Attachments: synapse49-patch-UPDATEDVERSION.txt, synapse49-patch.txt
>
>
> In the current implementation of Synapse the WS-RM support does not include
> sequence management. The Synapse user is not able to start and terminate
> sequences at a given point in the Synapse configuration flow. Furthermore,
> there is no support to specify the WS-Reliable Messaging specification
> version to be used. Therefore an improvement is proposed based on a new
> mediator, called the RMSequence mediator. This mediator has the following
> syntax:
> <RMSequence action="start|end|single" [version="1.0|1.1"]/>
> With the action attribute the Synapse user can decide when to start a
> sequence and when to terminate one. There is also the possibility to have
> just one message as part of the sequence with the single value. When the
> sequence is started, this means with an action attribute value of start or
> single, the version can be specified.
> To be able to implement this functionality, there also has to be made a small
> change to the Axis2FlexibleMEPClient, because the options used to create an
> OperationClient to sent the message to the target endpoint is created there.
> The Sandesha WS-RM properties have to be set on this Options instance.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]