You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Isuru Udana Loku Narangoda (JIRA)" <ji...@apache.org> on 2016/05/28 19:30:13 UTC

[jira] [Resolved] (SYNAPSE-1021) Improve Header Mediator to add/remove transport headers

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

Isuru Udana Loku Narangoda resolved SYNAPSE-1021.
-------------------------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0

Hi Buddhima,

I am marking this as resolved. If you have any concerns/feedback on the refactoring made on your patch don't hesitate to raise.

Thanks.

> Improve Header Mediator to add/remove transport headers
> -------------------------------------------------------
>
>                 Key: SYNAPSE-1021
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-1021
>             Project: Synapse
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Buddhima Wijeweera
>            Assignee: Isuru Udana Loku Narangoda
>              Labels: features
>             Fix For: 3.0
>
>         Attachments: header_mediator_tran-scope_improvement.diff
>
>
> Currently header mediator is used for set or remove headers from the current SOAP infoset.
> With this, Header mediator is improved to set or remove headers from transport as well. Though this can be achieved also with property mediator, using header mediator will make configuration more readable and clearer.
> Syntax:
> {noformat}
> <header name="qname" (value="literal" | expression="xpath") [action="set"] [scope=default|transport]/>
> {noformat}
> Example:
> {noformat}
> <header name="Accept" value="text/html" scope="transport"/>
> {noformat}
> Please note that this will not affect already existing configurations as, null/default scope still mean altering SOAP headers.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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