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:44:43 UTC

[jira] Created: (SYNAPSE-720) 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



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


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

Posted by "Kasun Indrasiri (JIRA)" <ji...@apache.org>.
    [ 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


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

Posted by "Kasun Indrasiri (JIRA)" <ji...@apache.org>.
     [ 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


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

Posted by "Kasun Indrasiri (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kasun Indrasiri updated SYNAPSE-720:
------------------------------------

    Attachment: enrich-documentation.patch

> 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


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

Posted by "Supun Kamburugamuva (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983645#action_12983645 ] 

Supun Kamburugamuva commented on SYNAPSE-720:
---------------------------------------------

Kasun,

Please provide the documentation for the sample as well.  


> 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


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

Posted by "Supun Kamburugamuva (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Supun Kamburugamuva resolved SYNAPSE-720.
-----------------------------------------

    Resolution: Fixed

Applied the documentation patch and sample patch. Thanks Kasun for the contribution.

> 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