[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to