You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Dennis Sosnoski (JIRA)" <ji...@apache.org> on 2015/04/10 08:51:12 UTC

[jira] [Commented] (CXF-6323) WS-RM redelivery not implemented

    [ https://issues.apache.org/jira/browse/CXF-6323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14489056#comment-14489056 ] 

Dennis Sosnoski commented on CXF-6323:
--------------------------------------

It's been a while since I looked at the code, but from what I recall the issue with restarting deliveries would be with the source sequence handling, not the destination sequence. I do see that the source sequence recovery (RMManager.recoverSourceSequence()) is adding messages to the retransmission queue, so at least the basic approach looks like it's in place.

That aside, I don't know whether recovery after a restart has ever worked correctly. Most of the users of WS-RM seem more concerned with redelivery in a running system, and that's the focus of the integration tests.

> WS-RM redelivery not implemented
> --------------------------------
>
>                 Key: CXF-6323
>                 URL: https://issues.apache.org/jira/browse/CXF-6323
>             Project: CXF
>          Issue Type: Bug
>          Components: WS-* Components
>    Affects Versions: 2.7.14, 3.0.4
>            Reporter: Jochen Riedlinger
>
> We build an application based on CXF using WS-RM.
> Since we have/had some issues I tried with 2.7.14 and 3.0.4.
> After the baisc things worked we tested the reliability of the WS-RM implementation and crashed the application after the message was put in the store.
> I expected that the application-server tries to redeliver the message after restart. Unfortunately that never happens.
> Debugging the problem and taking a look into the source code I found that code (in org.apache.cxf.ws.rm.RMManager):
> {code:java}
> private void reconverDestinationSequence(Endpoint endpoint, Conduit conduit, Destination d, 
>                                              DestinationSequence ds) {
>         d.addSequence(ds, false);
>         //TODO add the redelivery code
>     }
> {code}
> It would be nice if someone could correct/implement this;-)
> Befor that you the WS-RM implementation is not reliable.;-)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)