Domenico,

I think that is going to work.  Thank you!


From: Domenico Francesco Bruscino <bruscin...@gmail.com>
Date: Friday, May 30, 2025 at 1:08 AM
To: users@activemq.apache.org <users@activemq.apache.org>
Subject: Re: Apache Artemis Set Message Property/Header Of Client's External IP 
Address
Hi William,

you can create an interceptor[1] to put a property with the source IP in
the incoming message. See the example JMS Interceptor Example[2].

[1]
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Factivemq.apache.org%2Fcomponents%2Fartemis%2Fdocumentation%2Flatest%2Fintercepting-operations.html%23intercepting-operations&data=05%7C02%7CWCrowell%40perforce.com%7Caaf9664c8f084d04a17108dd9f37f464%7C95b666d19a7549ab95a38969fbcdc08c%7C0%7C0%7C638841784889282020%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=z9JbungE4lSCLRQYClp16jETTS441m%2BC2dSfm3qpfb0%3D&reserved=0<https://activemq.apache.org/components/artemis/documentation/latest/intercepting-operations.html#intercepting-operations>
[2]
https://github.com/apache/activemq-artemis-examples/tree/main/examples/features/standard/interceptor

Regards,
Domenico

On Thu, 29 May 2025 at 23:05, William Crowell <wcrow...@perforce.com.invalid>
wrote:

> In Apache Artemis Is it possible to send the external IP of clients
> publishing messages in a message header and/or property or add something to
> the broker configuration to put it in the message payload?  I know that
> connection routers have access to the SOURCE_IP.
>
> Regards,
>
> William Crowell
>
>
> This e-mail may contain information that is privileged or confidential. If
> you are not the intended recipient, please delete the e-mail and any
> attachments and notify us immediately.
>
>


CAUTION: This email originated from outside of the organization. Do not click 
on links or open attachments unless you recognize the sender and know the 
content is safe.


This e-mail may contain information that is privileged or confidential. If you 
are not the intended recipient, please delete the e-mail and any attachments 
and notify us immediately.

Reply via email to