synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Chinthaka Suriarachchi (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SYNAPSE-611) Synapse Axis2FlexibleMep client does not set the policy correctly
Date Mon, 22 Feb 2010 17:46:28 GMT

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

Amila Chinthaka Suriarachchi updated SYNAPSE-611:
-------------------------------------------------

    Attachment: patch.txt

this patch fix the issue. It populate a SandesahProperty bean and set as a parameter.

eg. synapse.xml
<definitions xmlns="http://ws.apache.org/ns/synapse">
<localEntry key="my_policy">
    <sandesha2:RMAssertion xmlns:sandesha2="http://ws.apache.org/sandesha2/policy">
        <wsp:Policy xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
                    xmlns:wsrm="http://ws.apache.org/sandesha2/policy" wsu:Id="RMPolicy">
            <wsrm:AcknowledgementInterval>3000</wsrm:AcknowledgementInterval>
            <wsrm:RetransmissionInterval>20000</wsrm:RetransmissionInterval>
            <wsrm:MaximumRetransmissionCount>5</wsrm:MaximumRetransmissionCount>

            <wsrm:ExponentialBackoff>false</wsrm:ExponentialBackoff>
            <wsrm:InactivityTimeout>60</wsrm:InactivityTimeout>
            <wsrm:InactivityTimeoutMeasure>seconds</wsrm:InactivityTimeoutMeasure>
            <wsrm:InvokeInOrder>true</wsrm:InvokeInOrder>
            <wsrm:MessageTypesToDrop>none</wsrm:MessageTypesToDrop>
        </wsp:Policy>
    </sandesha2:RMAssertion>
</localEntry>

   <sequence name="main" onError="onError">
    <in>
        <RMSequence single="true" version="1.0"/>
        <send>
                <endpoint name="reliable">
                        <address uri="http://localhost:9001/services/ReliableStockQuoteService">
                                <enableRM policy="my_policy"/>
                                <enableAddressing/>
                            </address>
            </endpoint>
        </send>
    </in>


> Synapse Axis2FlexibleMep client does not set the policy correctly
> -----------------------------------------------------------------
>
>                 Key: SYNAPSE-611
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-611
>             Project: Synapse
>          Issue Type: Bug
>            Reporter: Amila Chinthaka Suriarachchi
>         Attachments: patch.txt
>
>
> Synapse Axis2FlexibleMepClient does not set the policy correctly. Polices have to set
as a SandeshaPolicyBean as a service parameter.

-- 
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


Mime
View raw message