How do I correlate transactions across multiple Apache Camel routes?
Use ApplicationInterchangeId. When the first Camel route receives a transaction (e.g., REST API call creates Order), generate a unique ID (UUID.randomUUID().toString()) and store in Camel Exchange property: exchange.setProperty("ApplicationInterchangeId", correlationId).
All subsequent routes processing the same Order pass the same ApplicationInterchangeId in their [JSON Log Event][] payload. Nodinite groups all events by ApplicationInterchangeId—you see the complete end-to-end flow in one view.
Advanced: Configure [BPM][] (Business Process Model) with expected process steps (Route 1: Order Received → Route 2: Validate Inventory → Route 3: Charge Payment → Route 4: Ship Order). Nodinite visualizes the process with color-coded status (green = completed, yellow = in progress, red = failed). Alerts fire if expected steps don't complete within SLA (e.g., "Order should reach 'Ship Order' within 2 hours").
Related Questions
See all FAQs: [Troubleshooting Overview][]