camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From atouret.nos...@free.fr
Subject Re: camel jpa tracer always set routeId as route1
Date Tue, 04 Oct 2011 09:08:53 GMT
Thanks for your response.

Regards
Alexandre

----- Mail original -----
De: "Claus Ibsen" <claus.ibsen@gmail.com>
À: users@camel.apache.org
Envoyé: Mardi 4 Octobre 2011 11:02:01
Objet: Re: camel jpa tracer always set routeId as route1

On Tue, Oct 4, 2011 at 10:36 AM,  <atouret.nospam@free.fr> wrote:
> Hi,
> I'm using camel 2.8.1
>

Its fixed in 2.9.0
https://issues.apache.org/jira/browse/CAMEL-4168

> Regards
>
> ----- Mail original -----
> De: "Claus Ibsen" <claus.ibsen@gmail.com>
> À: users@camel.apache.org
> Envoyé: Mardi 4 Octobre 2011 10:32:09
> Objet: Re: camel jpa tracer always set routeId as route1
>
> Hi
>
> What version of Camel are you using?
>
> On Tue, Oct 4, 2011 at 10:12 AM,  <atouret.nospam@free.fr> wrote:
>> Hi all,
>> I'm working on the camel jpa tracer.
>> It works fine but always produce a routeId field as 'route1'. However I initialied
all my rouet Ids fields as following :
>>
>>  <camelContext xmlns="http://camel.apache.org/schema/spring"
>>                id="proxycontext" trace="true">
>>        <camel:package>info.touret.exchange</camel:package>
>>        <camel:jmxAgent id="agent" createConnector="true" serviceUrlPath="/ws-proxy/camel"/>
>>        <routeBuilder ref="proxyroutebuilder" id="main" />
>>        <route id="audit">
>>            <from uri="seda:audit" />
>>            <to uri="bean:auditService?method=audit" />
>>        </route>
>>        <route id="gototoken">
>>            <from uri="seda:gototoken?multipleConsumers=true" />
>>            <to uri="http://uri..." />
>>        </route>
>>    </camelContext>
>>
>> Actually, I guess the jpa tracer should write in my case such audit, gototoke or
main.
>>
>> Did I miss any config parameter ?
>>
>> My config :
>>
>>    <camel:endpoint id="traced" uri="jpa://org.apache.camel.processor.interceptor.JpaTraceEventMessage?persistenceUnit=tracer"/>
>>
>>    <bean id="camelTracer" class="org.apache.camel.processor.interceptor.Tracer">
>>        <property name="traceOutExchanges" value="false" />
>>        <property name="useJpa" value="true" />
>>        <property name="destination" ref="traced" />
>>        <property name="logLevel" value="DEBUG" />
>>    </bean>
>>
>>    <bean id="traceFormatter"
>>                class="org.apache.camel.processor.interceptor.DefaultTraceFormatter">
>>        <property name="showOutBody" value="true" />
>>        <property name="showOutBodyType" value="false" />
>>        <property name="showOutHeaders" value="true" />
>>        <property name="breadCrumbLength" value="80" />
>>        <property name="showExchangeId" value="true" />
>>        <property name="showShortExchangeId" value="true" />
>>    </bean>
>>
>>
>>
>> Thanks in advance for your help.
>>
>> Regards,
>> Alexandre Touret
>>
>
>
>
> --
> Claus Ibsen
> -----------------
> FuseSource
> Email: cibsen@fusesource.com
> Web: http://fusesource.com
> Twitter: davsclaus, fusenews
> Blog: http://davsclaus.blogspot.com/
> Author of Camel in Action: http://www.manning.com/ibsen/
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Mime
View raw message