Hi All,


I am new to configure WS-RM with CXF. Here last  couple of days i try to 
configured Policy Parameter

i.e. <wsrm-policy:InactivityTimeout Milliseconds="8000" /> on client side at 
Bus level but it seems to me not working on client side. Same feature i had 
tested on Server side code which sequence code get terminate in defined time.


Actually i want to achieve fail over scenario. Lets say on server gets 
down/restarted  then client will try to send message with current sequence code 
which is always gone a rejected by server.



This is my current configuration on client side.

As per  configuration it should terminate sequence after 10 sec of inactive.

Do i missing some thing from my end, Please help me on this.


    <cxf:bus>
        <cxf:features>
            <cxf:logging/>
            <wsa:addressing/>

            <wsrm-mgr:reliableMessaging>
                <wsrm-policy:RMAssertion>
                <wsrm-policy:InactivityTimeout Milliseconds="10000"/>
                    <wsrm-policy:BaseRetransmissionInterval 
Milliseconds="4000"/>
                    <wsrm-policy:ExponentialBackoff/>
                    <wsrm-policy:AcknowledgementInterval Milliseconds="2000"/>
                </wsrm-policy:RMAssertion>
            <wsrm-mgr:deliveryAssurance>
            <wsrm-mgr:ExactlyOnce/>
            </wsrm-mgr:deliveryAssurance>
            <wsrm-mgr:sourcePolicy >
            <wsrm-mgr:sequenceTerminationPolicy terminateOnShutdown="true" 
maxUnacknowledged="5"/>
            <wsrm-mgr:retryPolicy maxRetries="2"/>
            </wsrm-mgr:sourcePolicy>
            </wsrm-mgr:reliableMessaging>
        </cxf:features>
    </cxf:bus>






Regards,

Miteshkumar Parmar


CONFIDENTIALITY NOTICE TO RECIPIENT: This transmission contains confidential 
information belonging to the sender that is legally privileged and proprietary 
and may be subject to protection under the law, including the Health Insurance 
Portability and Accountability Act (HIPAA). If you are not the intended 
recipient of this e-mail, you are prohibited from sharing, copying, or 
otherwise using or disclosing its contents. If you have received this e-mail in 
error, please notify the sender immediately by reply e-mail and permanently 
delete this e-mail and any attachments without reading, forwarding or saving 
them. Thank you.

Reply via email to