[ https://issues.apache.org/jira/browse/CXF-7470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16259252#comment-16259252 ]
ASF GitHub Bot commented on CXF-7470: ------------------------------------- gerganp opened a new pull request #342: [CXF-7470] Cannot set target for recovered source sequence URL: https://github.com/apache/cxf/pull/342 This fixes https://issues.apache.org/jira/browse/CXF-7470 by making the setTarget method public. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > WSRM - Cannot set target for recovered source sequence > ------------------------------------------------------ > > Key: CXF-7470 > URL: https://issues.apache.org/jira/browse/CXF-7470 > Project: CXF > Issue Type: Bug > Components: WS-* Components > Affects Versions: 3.1.12 > Reporter: Gergan Dimitrov > Priority: Critical > Original Estimate: 1h > Remaining Estimate: 1h > > When source sequence is recovered during client creation, we cannot set the > target property, as its setter method is package private. If we have sequence > with only one message, and we get acknowledgment for the last message, in the > SourceSequence.setAcknowledged(...) method, there is a check on line 167: > if (null == target....) > As the target is null, the api does not automatically send close and > terminate sequence messages. > So several options here: > 1) Make the setTarget method public, or at least protected > 2) Allow setting the property from constructor > 3) Set the property from current endpoint's URL, during recovery. -- This message was sent by Atlassian JIRA (v6.4.14#64029)