On Wednesday 19 January 2011 5:24:58 am Dennis Sosnoski wrote: > I've verified that the current WS-RM code only implements transmit > handling (retry until acknowledged). A correct WS-RM implementation also > requires receive handling, to postpone the delivery of messages received > out of order when InOrder delivery assurance is used, and to block the > delivery of duplicate messages when AtMostOnce or ExactlyOnce is used. > > In order to implement the receive handling, I need to be able to > short-circuit the processing of an in-bound message in an interceptor so > that no further processing is done at this time but the appropriate > transport response goes back to the sender (such as an HTTP 200 code).
Take a look at the OneWayInInterceptor for this. Basically, it calls back into the destination with basically and empty message to notify the destination that we're "done" with this. > I > also need to be able to later resume processing of an in-bound message > from the point it left off. How can I best do this in CXF? Also look at the OneWayInInterceptor. :-) You can just pause the chain and store the chain someplace. When ready, restart it. -- Daniel Kulp dk...@apache.org http://dankulp.com/blog