-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
Current Behavior
When using a batch listener the BatchMessagingMessageConverter
will put any ConversionException
s into the CONVERSION_FAILURES
header and provide a null
payload for this message in the batch passed to the listener.
The exception is not visible in the log at all. The error handling is left up completely to the listener, that needs to inject the header and act on it.
Expected Behavior
In addition to putting the exception in the header it should also be logged as error or warning.
Optional: Provide a configuration property to skip such messages completely after logging the error instead of providing them with a null
payload to the listener.
tfactor2 and orange-buffalo