Implement your own org.apache.camel.processor.interceptor.TraceFormatter.
Check out [1].

[1] http://camel.apache.org/tracer.html -> Using Custom Formatter

Best,
Christian

On Mon, Oct 1, 2012 at 7:34 AM, Gnanaguru S <[email protected]
> wrote:

> Hi
>
> Can I get a suggestion for storing the trace messages to a database.
>
> I went through the camel tracer example. It stores the trace elements into
> the HSQL database. It uses
> org.apache.camel.processor.interceptor.JpaTraceEventMessage, where the
> number of elements to be stored is predefined.
>
> The camel tracer also gives bread crumb id, which is not configured in that
> class.
>
> Is it possible to store the trace elements to store into DB using jdbc
> component ? Does Tracer component pave way for storing specific trace
> element into a DB or any custom endpoint.
>
> Any suggestions ?
>
> regards
> Guru
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Storing-Camel-Tracer-Messages-to-Database-tp5720291.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



--

Reply via email to