Intercept messages against Virtual Topic before being sent to consumer queue in ActiveMQ

51 Views Asked by At

Is there any way to edit messages sent to a Virtual Topic before they are dispatched to consumer queue in ActiveMQ. I need to change the persistence property in the message before it is consumed by the queue.

Is there any plugin or already built in functionality for that? My main goal is to persist messages of QoS level 0

1

There are 1 best solutions below

0
On

There is no built-in functionality to change the QoS of an incoming MQTT message. Also, there is no available plugin that I'm aware of to do this either. You would need to write your own.