davsclaus commented on code in PR #23090:
URL: https://github.com/apache/camel/pull/23090#discussion_r3212712928
##########
core/camel-api/src/main/java/org/apache/camel/ExchangeExtension.java:
##########
@@ -128,6 +128,36 @@ public interface ExchangeExtension {
*/
void setRedeliveryExhausted(boolean redeliveryExhausted);
+ /**
+ * Gets the internal redelivery counter, which is resilient to header
removal. Returns -1 if not set.
Review Comment:
do not call this internal, it would become the official API for this
information. And then we copy it over to the headers as well for backwards
compatibility (as read only headers)
--
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]