Re: InterceptSendToEndpoint and access the intercepted endpoint details?

2023-09-17 Thread Claus Ibsen
Hi

Yes a header with key Exchange.INTERCEPTED_ENDPOINT



On Wed, Sep 6, 2023 at 12:03 PM Mikael Koskinen  wrote:

> Hi,
>
> If I'm intercepting (using InterceptSendToEndpoint) the exchange before it
> is sent to an endpoint, can I somehow access the details of the endpoint
> which I intercepted?
>
> For example if I have Log-component in my route and I use
> InterceptSendToEndpoint to intercept the request, can I somehow check the
> details of the intercepted Log-component (like parameters etc.)?
>
> Thank you in advance.
>
> Best regards,
> Mikael
>


-- 
Claus Ibsen
-
@davsclaus
Camel in Action 2: https://www.manning.com/ibsen2


InterceptSendToEndpoint and access the intercepted endpoint details?

2023-09-06 Thread Mikael Koskinen
Hi,

If I'm intercepting (using InterceptSendToEndpoint) the exchange before it
is sent to an endpoint, can I somehow access the details of the endpoint
which I intercepted?

For example if I have Log-component in my route and I use
InterceptSendToEndpoint to intercept the request, can I somehow check the
details of the intercepted Log-component (like parameters etc.)?

Thank you in advance.

Best regards,
Mikael