Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
3.1.12
-
None
-
Novice
Description
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.
Attachments
Issue Links
- links to