camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Assigning a name to a thread in Camel
Date Fri, 24 May 2013 04:11:32 GMT

Its really quartz that sets the thread names on its worker threads.
I wonder if quartz have any api / hook we can use to let Camel use its
thread name factory to give these threads better names?
You may want to check the quartz api for that.

An alternative is to use MDC logging

On Thu, May 23, 2013 at 6:53 PM, Edwin <> wrote:
> Hi Folks,
> I have multiple Quartz driven routes in an application. When viewing the
> application log files, it can be difficult to determine which route the
> currently executing threads belong to i.e
> DefaultQuartzScheduler-camel_Worker-1
> DefaultQuartzScheduler-camel_Worker-2
> ...
> I'm wondering is it possible to assign a name to each thread which would
> make the log files more readable?
> Any insights are much appreciated.
> Thanks,
> Edwin
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
----------------- The open source integration conference.

Red Hat, Inc.
FuseSource is now part of Red Hat
Twitter: davsclaus
Author of Camel in Action:

View raw message