Is there a way to log active mq Artemis diverts? So you can see which divert was applied to a given message? I can't seem to find this in the docs.
1
votes
2 Answers
2
votes
You can activate TRACE logging for org.apache.activemq.artemis.core.server.impl.DivertImpl. This will log a message for each diverted message. See the logging code here.
1
votes
An option could be found here in docs:
Diverts can also be configured to apply a Transformer. If specified, all diverted messages will have the opportunity of being transformed by the Transformer.
Since Transformer is a class you could implement and trace with a Logger implementation, just without touching the message.