Hi Dan, I've been looking into the WS-RM code with the intent of fixing the current WS-RM 1.0 implementation and adding WS-RM 1.1/1.2 support.
On 01/19/2011 03:10 PM, Dan Diephouse wrote: > I have two quick questions about the WS-RM implementation: > 1. It appears that retries happen in a separate thread. Does the thread > sending the message block until an ack is received? > The transmit retrys are implemented in org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl, and are scheduled using a java.util.Timer - so the retransmits run off the Timer thread. The thread does not block for an ack, but I assume it probably waits for an HTTP response (assuming HTTP is the transport). > 2. Will CXF ever give up sending retries? I couldn't find any logic to > cancel a retry after a given # of times. > It does not give up after any fixed number of retrys, but from what I've observed in testing it will give up if the endpoint is no longer reachable. AFAIK this is standard for WS-RM. - Dennis
