[ 
https://issues.apache.org/jira/browse/CAMEL-4168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen reopened CAMEL-4168:
--------------------------------


> Add getRouteId() to TraceEventMessage
> -------------------------------------
>
>                 Key: CAMEL-4168
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4168
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.7.1
>         Environment: Eclipse on Windows XP, using Spring
>            Reporter: Lucien Schmitz
>            Assignee: Charles Moulliard
>            Priority: Minor
>             Fix For: 2.9.0
>
>
> It would be good to find the routeId from the TraceEventMessage, in the case 
> that the trace information is sent to a route.
> In my example, extracts from XML:
>       <bean id="CamelTracer" 
> class="org.apache.camel.processor.interceptor.Tracer">
>         <property name="destination" ref="traced"/>
>         <property name="logLevel" value="OFF"/>
>     </bean>
>         <endpoint id="traced" 
> uri="seda:auditrace?waitForTaskToComplete=Never"/>
> And my route is:
>       @EndpointInject(ref="traced")
>       Endpoint traced;        
>       @Override
>     public void configure() throws Exception {
>         from(traced)
>         .routeId("util.AuditTrace")
>         .noTracing()
>         .to("bean:AuditBO?method=trace");
>     }
> An instance object of TraceEventMessage is sent down this route and there is 
> no getRouteId() defined. This would make the TraceEventMessage even more 
> helpful.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to