[ https://issues.apache.org/jira/browse/CAMEL-4168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-4168: ------------------------------- Priority: Minor (was: Major) Fix Version/s: (was: 2.7.3) 2.8.0 > 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.8.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