davsclaus commented on PR #26626: URL: https://github.com/apache/camel/pull/26626#issuecomment-5749442568
Applied in 9af707e573b1. The capture moved into `DefaultMessageHistory.captureBody(Exchange)`, and the factories that build their own entries call it after construction: the default one, `MetricsMessageHistoryFactory` and `MicrometerMessageHistoryFactory`. There is no OpenTelemetry message history factory in the tree (camel-opentelemetry and camel-opentelemetry2 have none), so those two are all of them. Tests: the size strategy off (the type still captured, every size -1, the default outside the dev profile), and the error registry's step string on a null body (`bodyType=null bodySize=0`) through `captureMessageHistory` in `ErrorRegistryTest`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
