Gergan Dimitrov created CXF-7471:
------------------------------------
Summary: WSRM - Use createResendCandidate() instead of constructor
directly
Key: CXF-7471
URL: https://issues.apache.org/jira/browse/CXF-7471
Project: CXF
Issue Type: Improvement
Components: WS-* Components
Affects Versions: 3.1.12
Reporter: Gergan Dimitrov
Priority: Minor
In the RetransmissionQueueImpl, cacheUnacknowledged() method, line 350, the
resend candidate is created with constructor directly:
candidate = new ResendCandidate(message);
I see there is a method createResendCandidate, which can be extended, but its
used only for tests. As I need custom logic in the resend candidate, but I want
to reuse the rest of the functionality, it would be good if this method is used
instead of the constructor directly.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)