Hi Erwin, AFAIK there isn't any predefined method to make a message persistent. You could implement an interceptor[1]. You can find an interceptor example at https://github.com/apache/activemq-artemis/tree/2.17.0/examples/features/standard/interceptor .
[1] https://activemq.apache.org/components/artemis/documentation/latest/intercepting-operations.html Regards, Domenico Il giorno gio 18 feb 2021 alle ore 10:30 Dondorp, Erwin < [email protected]> ha scritto: > Hello, > > Using Artemis, I have messages that are entering the broker as > non-persistent messages. > But, I need to make the messages persistent as soon as possible. So > preferably within the broker. > Is there any predefined method to do that? (I could not find one...) > Or is this a job for a custom transformer icw "setJMSDeliveryMode"? > > thx, > Erwin >
