You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Scott Stroud <Sc...@marklogic.com> on 2015/11/05 13:58:06 UTC

Persist & Replay Exchanges

Are there any approaches, patterns, or tools to: 
1) clone inbound route exchanges. Optionally the ability to capture outbound exchanges as well.
2) persist them to file (xml, json, binary, etc.)
3) then take that file of persisted exchanges to another environment and essentially replay them

Seems like something like this could be very powerful for debugging or regression & unit testing; think situations of “production” issues being debugged in a dev or QA environment, when several “interface” camel routes feed a single camel route, or to confirm that new code still produces the same exchange (data) in a CI type approach.  I assume you could do something similar when utilizing JMS with persistent queues but Im interested in something with a closer integration with Camel.  Any insight is appreciated.

Scott