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/01/19 10:46:44 UTC
[jira] Updated: (SYNAPSE-720) Enrich Mediator Sample
[ https://issues.apache.org/jira/browse/SYNAPSE-720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kasun Indrasiri updated SYNAPSE-720:
------------------------------------
Attachment: enrich-sample.patch
Attaching the Enrich Mediator Sample.
> 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-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.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org