synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Isuru Udana Loku Narangoda (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SYNAPSE-965) Callout mediator to use 'To' header as EPR
Date Sat, 10 Aug 2013 17:22:47 GMT

     [ https://issues.apache.org/jira/browse/SYNAPSE-965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Isuru Udana Loku Narangoda updated SYNAPSE-965:
-----------------------------------------------

    Attachment: SYNAPSE-965.patch

Patch attached for this improvement.
                
> Callout mediator to use 'To' header as EPR
> ------------------------------------------
>
>                 Key: SYNAPSE-965
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-965
>             Project: Synapse
>          Issue Type: Improvement
>            Reporter: Isuru Udana Loku Narangoda
>            Assignee: Hiranya Jayathilaka
>            Priority: Minor
>         Attachments: SYNAPSE-965.patch
>
>
> Callout mediator can be improved to use the 'To' header as the EPR when serviceURL is
not specified.
> This will allow us to dynamically set the EPR using the incoming message payload etc.

> This is similar to the use case of Default Endpoint which uses the 'To' header to send
the message out.
> So the sample config looks like follows when serviceURL is not specified.
>         <header name="To" value="http://localhost:9000/services/SimpleStockQuoteService"/>
>         <callout action="urn:getQuote">
>             <source xmlns:s11="http://schemas.xmlsoap.org/soap/envelope/"
>                     xmlns:s12="http://www.w3.org/2003/05/soap-envelope"
>                     xpath="s11:Body/child::*[fn:position()=1] | s12:Body/child::*[fn:position()=1]"/>
>             <target xmlns:s11="http://schemas.xmlsoap.org/soap/envelope/"
>                     xmlns:s12="http://www.w3.org/2003/05/soap-envelope"
>                     xpath="s11:Body/child::*[fn:position()=1] | s12:Body/child::*[fn:position()=1]"/>
>         </callout>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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


Mime
View raw message