You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Gnanaguru S <gn...@wipro.com> on 2012/10/01 07:34:04 UTC
Storing Camel Tracer Messages to Database
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.
Re: Storing Camel Tracer Messages to Database
Posted by Christian Müller <ch...@gmail.com>.
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 <gnanaguru.sattanathan@wipro.com
> 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.
>
--