cmdematos
cmdematos

Reputation: 913

What is the easiest way to clone messages on acitivemq queues for replay?

Ideally we could apply configuration that would duplicate all messages arriving on one queue to a second queue for later replay.

Upvotes: 0

Views: 463

Answers (1)

Evan P
Evan P

Reputation: 1817

You can use the camel xml configuration and apply the wire-tap pattern

you may use this pattern to log, clone, or even send your messages in a repository (let's say file repository)

There should be an already demo of Apache camel XML configuration at the /conf/ directory of your activeMQ

Cheers!

Upvotes: 1

Related Questions