davsclaus opened a new pull request, #23526:
URL: https://github.com/apache/camel/pull/23526

   ## Summary
   - Adds `getLastExchangeFailureHandledTimestamp()` to 
`ManagedPerformanceCounterMBean` — tracks *when* the last handled failure 
occurred (e.g. routed to dead letter channel)
   - Implementation in `ManagedPerformanceCounter` sets the timestamp alongside 
the existing `failuresHandled` counter increment in `completedExchange()`
   - Includes the new timestamp in `dumpStatsAsXml()` and `statsAsJSon()` output
   - Added to all dev consoles: Route, RouteGroup, Processor, Consumer, Context 
(both text and JSON output)
   
   ## Test plan
   - [x] `ManagedFailureHandledTimestampTest` — verifies timestamp is set when 
using `deadLetterChannel`, and `lastExchangeFailureTimestamp` remains null
   - [x] Existing `ManagedRouteDumpStatsAsXmlTest` and 
`ManagedRouteDumpStatsAsJSonTest` pass
   - [ ] CI green
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
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]

Reply via email to