Udo Kohlmeyer created GEODE-10070:
-------------------------------------
Summary: Add method onto InternalGatewaySender to send batch
Key: GEODE-10070
URL: https://issues.apache.org/jira/browse/GEODE-10070
Project: Geode
Issue Type: Improvement
Components: wan
Affects Versions: 1.15.0, 1.16.0
Reporter: Udo Kohlmeyer
In the current Wan Copy feature, the `WanCopyRegionFunctionDelegate` has to:
# Create a ConnectionState
# retrieve the GatewaySenderEventDispatcher off the AbstractGatewaySender
# Send batch and handle all exception handling related to the sending of a
batch
This functionality is really something that needs to be consolidated into a
single location for reuse. Having the ability to get into guts of the system to
send batches and possibly affect how errors are handled in an inconsistent
manner (in comparison to the normal GatewaySender flow) can lead to many
problems.
Not exposing the sendBatch logic and complexity would be much simpler and more
consistent in behavior.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)