You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by James Murphy <ja...@bbc.co.uk> on 2014/11/14 15:52:51 UTC

Re: Using custom MDC values with Camel

Joni Nousiainen <jo...@...> writes:

> 
> Thank you for your answer! I'll look into creating a custom UoW
> factory. Also, I will follow the JIRA issue (CAMEL-7444) for future
> updates.
> 
> BR,
> Joni
> 
> 
> 

Hi Joni,

How did you get on with this?

I'm looking into something very similar myself. I want to output to MDC a
custom header from the exchange and expose it when logging any exceptions
rather than logging the body/breadcrumbId of the exchange etc.

I'll look at implementing a custom UoW Factory for MDC and adding the
exchange headers that way.

Regards
James