Hello All,

I am experiencing a peculiar behavior while trying out the WS-RM. I have
configured WS-RM both at client and server end through a JAX-WS frontend for
a two way synchronous invocation call. Client sends 5 messages with (message
# counter)  and service responds back with a "recieved message #" . I have
also added the messageLossSimulator interceptor at the client side and
tweaked it so that it gobbles up message #3 and does not send it out.

When I ran this, I expected messages #1,2,4,5 to be sent and only message #3
would be retried. But whats happening is along with message #3, message #1 
is retried too. I'am not sure why message #1 is retried?? this leads to my
service method getting invoked six times (message #1 is sent twice) as
opposed to five times.

I'am using the following assertion snippet at service end <code>  
<wsrm-policy:RMAssertion>
                    <wsrm-policy:BaseRetransmissionInterval
Milliseconds="4000"/>           
                    <wsrm-policy:AcknowledgementInterval
Milliseconds="3000"/>   
                </wsrm-policy:RMAssertion>
</code>

This issue gets solved if I change AcknowledgementInterval  with value  3000
to 0. 
Also when I use <code> <wsa:addressing allowDuplicates="false"/> </code>
with AcknowledgementInterval  =3000 , I get duplicate ID Exception but my
service method is called 5 times which is right.

Can you please help me this behavior? Iam using CXF 2.6.2

Thanks, 
Gaurav






--
View this message in context: 
http://cxf.547215.n5.nabble.com/WS-RM-AcknowledgementInterval-leads-to-duplicates-tp5714148.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to