CAMEL-23615: Add getLastExchangeFailureHandledTimestamp() to management API and dev consoles#23526
Conversation
gnodet
left a comment
There was a problem hiding this comment.
Adds getLastExchangeFailureHandledTimestamp() to the management API MBean interfaces and dev consoles. Useful for operators monitoring when the last failure was handled — complements the existing failure counters with temporal information.
Implementation is consistent across MBean interfaces and dev console output.
LGTM.
Fully automatic review from Claude Code
…nt API and dev consoles Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
🌟 Thank you for your contribution to the Apache Camel project! 🌟 🐫 Apache Camel Committers, please review the following items:
|
|
🧪 CI tested the following changed modules:
Build reactor — dependencies compiled but only changed modules were tested (3 modules)
|
Summary
getLastExchangeFailureHandledTimestamp()toManagedPerformanceCounterMBean— tracks when the last handled failure occurred (e.g. routed to dead letter channel)ManagedPerformanceCountersets the timestamp alongside the existingfailuresHandledcounter increment incompletedExchange()dumpStatsAsXml()andstatsAsJSon()outputTest plan
ManagedFailureHandledTimestampTest— verifies timestamp is set when usingdeadLetterChannel, andlastExchangeFailureTimestampremains nullManagedRouteDumpStatsAsXmlTestandManagedRouteDumpStatsAsJSonTestpass🤖 Generated with Claude Code