Re: Obtaining jvmRoute from filter

2022-01-19 Thread Christopher Schultz
Mark, On 1/14/22 11:27, Mark Thomas wrote: On 14/01/2022 14:50, Christopher Schultz wrote: But I'm not sure how to get the "[Service]" name. I can cast HTtpServletRequest to o.a.c.connector.Request and from there I can get the o.a.coyote.Request but neither of those seem to have access to

Re: Obtaining jvmRoute from filter

2022-01-14 Thread Mark Thomas
On 14/01/2022 14:50, Christopher Schultz wrote: But I'm not sure how to get the "[Service]" name. I can cast HTtpServletRequest to o.a.c.connector.Request and from there I can get the o.a.coyote.Request but neither of those seem to have access to the engine, service, etc. I could make it a

Re: Obtaining jvmRoute from filter

2022-01-14 Thread Christopher Schultz
Mark, On 1/14/22 02:51, Mark Thomas wrote: On 13/01/2022 21:31, Christopher Schultz wrote: All, Does anyone know if it's possible and/or convenient to fetch the jvmRoute from a servlet filter? I'd like to write a Filter that puts some information like this into the response headers:   

Re: Obtaining jvmRoute from filter

2022-01-13 Thread Mark Thomas
On 13/01/2022 21:31, Christopher Schultz wrote: All, Does anyone know if it's possible and/or convenient to fetch the jvmRoute from a servlet filter? I'd like to write a Filter that puts some information like this into the response headers:   X-App-Server-IP: 10.0.0.1  

Obtaining jvmRoute from filter

2022-01-13 Thread Christopher Schultz
All, Does anyone know if it's possible and/or convenient to fetch the jvmRoute from a servlet filter? I'd like to write a Filter that puts some information like this into the response headers: X-App-Server-IP: 10.0.0.1 X-App-Server-Route: jvmRoute Is it possible to get that