orpiske opened a new pull request, #9968: URL: https://github.com/apache/camel/pull/9968
This introduces a trait that works similarly to the internal properties one in the Exchange so that we carry certain details about the message without relying on type specifications. Among other things this: - avoids unnecessarily recreating the DefaultMessage multiple times - moved the data type aware checks out of the hot path - reworks the isTransactedRedelivered to avoid costlier checks for specific message types This superseds the proposed changes on #9432. Additionally, this implements the same pattern of using an array for internal properties as we already do on the Exchange. Subsequently, my idea is to abstract this complex array manipulation in an specific class so we can reuse code and simplify maintenance. -- 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: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org