You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Lucien Schmitz (JIRA)" <ji...@apache.org> on 2011/06/30 18:23:28 UTC

[jira] [Created] (CAMEL-4168) Add getRouteId() to TraceEventMessage

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
             Fix For: 2.7.3


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

        

[jira] [Reopened] (CAMEL-4168) Add getRouteId() to TraceEventMessage

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ 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

        

[jira] [Resolved] (CAMEL-4168) Add getRouteId() to TraceEventMessage

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-4168.
--------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.8.0)
                   2.9.0

Thanks for spotting this. I have committed a fix for that.

> 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

        

[jira] [Assigned] (CAMEL-4168) Add getRouteId() to TraceEventMessage

Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charles Moulliard reassigned CAMEL-4168:
----------------------------------------

    Assignee: Charles Moulliard

> 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
>             Fix For: 2.7.3
>
>
> 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

        

[jira] [Commented] (CAMEL-4168) Add getRouteId() to TraceEventMessage

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13060332#comment-13060332 ] 

Claus Ibsen commented on CAMEL-4168:
------------------------------------

I have added the field to camel-jpa as well.

> 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

        

[jira] [Commented] (CAMEL-4168) Add getRouteId() to TraceEventMessage

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13058692#comment-13058692 ] 

Claus Ibsen commented on CAMEL-4168:
------------------------------------

Charles i think you also need to add the new field to a class in camel-jpa

> 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
>             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

        

[jira] [Commented] (CAMEL-4168) Add getRouteId() to TraceEventMessage

Posted by "Lucien Schmitz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13076058#comment-13076058 ] 

Lucien Schmitz commented on CAMEL-4168:
---------------------------------------

I think getRouteId has also to be added to TraceEventMessage (the interface class)

> 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

        

[jira] [Updated] (CAMEL-4168) Add getRouteId() to TraceEventMessage

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ 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

        

[jira] [Commented] (CAMEL-4168) Add getRouteId() to TraceEventMessage

Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13058473#comment-13058473 ] 

Charles Moulliard commented on CAMEL-4168:
------------------------------------------

routeId has been added to the class --> DefaultTraceEventMessage.java

> 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
>             Fix For: 2.7.3
>
>
> 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

        

[jira] [Resolved] (CAMEL-4168) Add getRouteId() to TraceEventMessage

Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charles Moulliard resolved CAMEL-4168.
--------------------------------------

    Resolution: Fixed

> 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
>             Fix For: 2.7.3
>
>
> 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