-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Open
Labels
in: corerelated-to: item-readers-writersstatus: waiting-for-reporterIssues for which we are waiting for feedback from the reporterIssues for which we are waiting for feedback from the reporterstatus: waiting-for-triageIssues that we did not analyse yetIssues that we did not analyse yettype: feature
Description
Krishna Bhamidipati opened BATCH-2357 and commented
Currently, the reader allows for some custom logic in the doRead method via the protected moveCursorToNextFragment method.
It would be convenient to plug-in custom logic for mapping the fragment as well by refactoring the doRead method to call another protected method like below:
protected T mapFragment(FragmentEventReader fragmentReader) {
T mappedFragment = (T) unmarshaller.unmarshal(StaxUtils.getSource(fragmentReader));
return mappedFragment;
}
Affects: 3.0.3
Metadata
Metadata
Assignees
Labels
in: corerelated-to: item-readers-writersstatus: waiting-for-reporterIssues for which we are waiting for feedback from the reporterIssues for which we are waiting for feedback from the reporterstatus: waiting-for-triageIssues that we did not analyse yetIssues that we did not analyse yettype: feature