Domenico,

> You could implement an interceptor
Ah, I found "transformers", but missed "interceptors".
That makes it even easier as no divert or bridge is then needed.

Thank you! Grazie!

e.

-----Oorspronkelijk bericht-----
Van: Domenico Francesco Bruscino <bruscin...@gmail.com> 
Verzonden: vrijdag 19 februari 2021 15:09
Aan: users@activemq.apache.org
Onderwerp: Re: transforming a message into a persistent message?


EXTERNAL SENDER:   Do not click any links or open any attachments unless you 
trust the sender and know the content is safe.
EXPÉDITEUR EXTERNE:    Ne cliquez sur aucun lien et n’ouvrez aucune pièce 
jointe à moins qu’ils ne proviennent d’un expéditeur fiable, ou que vous ayez 
l'assurance que le contenu provient d'une source sûre.

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://urldefense.com/v3/__https://github.com/apache/activemq-artemis/tree/2.17.0/examples/features/standard/interceptor__;!!AaIhyw!-zd6wj2XyPyb_Fw9kH_MQ1YdQFFnO5htEVBw7PUIuGL5x0Ay7-QTCjs42L0lWGMK$
.

[1]
https://urldefense.com/v3/__https://activemq.apache.org/components/artemis/documentation/latest/intercepting-operations.html__;!!AaIhyw!-zd6wj2XyPyb_Fw9kH_MQ1YdQFFnO5htEVBw7PUIuGL5x0Ay7-QTCjs42AuXBI_J$
 

Regards,
Domenico

Il giorno gio 18 feb 2021 alle ore 10:30 Dondorp, Erwin < 
erwin.dond...@cgi.com> 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
>

Reply via email to