synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Supun Kamburugamuva (JIRA)" <>
Subject [jira] Resolved: (SYNAPSE-716) Supporting Message Copying and Content Enriching with Enrich Mediator
Date Wed, 19 Jan 2011 10:30:43 GMT


Supun Kamburugamuva resolved SYNAPSE-716.

    Resolution: Fixed

Applied the patch. Thanks Kasun for the contributions.

> Supporting Message Copying and Content Enriching with Enrich Mediator
> ---------------------------------------------------------------------
>                 Key: SYNAPSE-716
>                 URL:
>             Project: Synapse
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Kasun Indrasiri
>         Attachments: enrich-inlinetext_J19.patch, enrich-mediator-j10.patch
> It is often required to copy/replace message content from/with a specified source such
as a inline xml, localentry or a property. Also we need to store a given message to a property
or create a custom message from a given source. 
> Enrich Mediator can process a message based on a given source configuration and then
perform the specified action on the message by using the target configuration. It basically
gets an OMElement using the configuration specified in the source and then modify the message
by putting it on the current message using the configuration in the target.
> Syntax: 
> <enrich>
>        <source [clone=true|false] [type=custom|envelope|body|property|inline] xpath=""
property="" />
>        <target [action=replace|child|sibiling] [type=custom|envelope|body|property|inline]
xpath="" property="" />
>  </enrich>
> Enrich Mediator that is included in this patch facilitates these requirements.
> Use Cases
> ---------------
> 1. Copy Message Content to a Property
> - Portion of a message (using xpath) to property
> - SOAP Body to Property
> - SOAP Envelope to Property
> - SOAP Headers to Property
> - Inline XML to property
> - Resource content(local entries) to property
> 2. Enrich a message from a given source
> - Property to a portion of the Message Body (using xpath)
> - Property to SOAP Body
> - Property to Envelope
> - Property to SOAP Header
> 3. Message to Message (self enriching)
> - Content of message can be move/copy with in the same message.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message