You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2011/08/02 09:24:27 UTC
[jira] [Reopened] (CAMEL-4168) Add getRouteId() to
TraceEventMessage
[ 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