You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Kasun Indrasiri (JIRA)" <ji...@apache.org> on 2011/02/03 08:43:29 UTC

[jira] Commented: (SYNAPSE-720) Enrich Mediator Sample

    [ https://issues.apache.org/jira/browse/SYNAPSE-720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12990000#comment-12990000 ] 

Kasun Indrasiri commented on SYNAPSE-720:
-----------------------------------------

Hi Supun,

I have attached the patch that contains the documentation for the Enrich Mediator sample.

Thanks.

> Enrich Mediator Sample
> ----------------------
>
>                 Key: SYNAPSE-720
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-720
>             Project: Synapse
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Kasun Indrasiri
>            Priority: Minor
>         Attachments: enrich-documentation.patch, enrich-sample.patch
>
>
> Message Copying and Content Enriching with Enrich Mediator 
> ------------------------------------------------------------------------------------
> Description:
> This sample uses enrich mediator do message copying and content enriching. The original IBM request is changed to MSFT using the enrich mediator. Also, the original payload and the symbol is stored as synapse properties. Once the reply comes to synapse, the 'lastTradeTimestamp' value of the response is added as a soap header (merely to show the enrich mediator functionalities). Also the request payload and request symbol values are logged in the out sequence. 
> synapse:
> sh synapse.sh -sample 15
> service:
> SimpleStockQuoteService
> sh axis2server.sh
> client:
> ant stockquote -Dtrpurl=http://localhost:8280/services/StockQuote

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org