Gergan Dimitrov created CXF-7470:
------------------------------------
Summary: 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
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)