You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2019/07/28 08:21:00 UTC

[jira] [Comment Edited] (CAMEL-13505) Camel-Tracer: New implementation

    [ https://issues.apache.org/jira/browse/CAMEL-13505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16894643#comment-16894643 ] 

Claus Ibsen edited comment on CAMEL-13505 at 7/28/19 8:20 AM:
--------------------------------------------------------------

Here is a sample output of the new tracer in action
{noformat}
2019-07-28 10:15:16,453 [main ] INFO DefaultCamelContext - Total 2 routes, of which 2 are started
 2019-07-28 10:15:16,455 [main ] INFO DefaultCamelContext - Apache Camel (CamelContext: camel-1) started in 0.280 seconds
 2019-07-28 10:15:16,475 [main ] INFO Tracing - [route1 ] [route1 ] [from[direct://start] ] Exchange[Id: ID-davsclaus-pro-local-1564301716465-0-1, ExchangePattern: InOnly, Headers: {}, BodyType: String, Body: Hello World]
 2019-07-28 10:15:16,476 [main ] INFO Tracing - >>>> [route1 ] [delay1 ] [delay[10] ] Exchange[Id: ID-davsclaus-pro-local-1564301716465-0-1, ExchangePattern: InOnly, Headers: {}, BodyType: String, Body: Hello World]
 2019-07-28 10:15:16,493 read #1 - Delay INFO Tracing - >>>> [route1 ] [to1 ] [mock:a ] Exchange[Id: ID-davsclaus-pro-local-1564301716465-0-1, ExchangePattern: InOnly, Headers: {}, BodyType: String, Body: Hello World]
 2019-07-28 10:15:16,496 read #1 - Delay INFO Tracing - >>>> [route1 ] [process1 ] [Processor@0x24fcf36f ] Exchange[Id: ID-davsclaus-pro-local-1564301716465-0-1, ExchangePattern: InOnly, Headers: {}, BodyType: String, Body: Hello World]
 2019-07-28 10:15:16,497 read #1 - Delay INFO TracingWithDelayTest - This is the processor being invoked between mock:a and mock:b
 2019-07-28 10:15:16,497 read #1 - Delay INFO Tracing - >>>> [route1 ] [to2 ] [mock:b ] Exchange[Id: ID-davsclaus-pro-local-1564301716465-0-1, ExchangePattern: InOnly, Headers: {}, BodyType: String, Body: Hello World]
 2019-07-28 10:15:16,498 read #1 - Delay INFO Tracing - >>>> [route1 ] [to3 ] [direct:c ] Exchange[Id: ID-davsclaus-pro-local-1564301716465-0-1, ExchangePattern: InOnly, Headers: {}, BodyType: String, Body: Hello World]
 2019-07-28 10:15:16,498 read #1 - Delay INFO Tracing - [route2 ] [route2 ] [from[direct:c] ] Exchange[Id: ID-davsclaus-pro-local-1564301716465-0-1, ExchangePattern: InOnly, Headers: {}, BodyType: String, Body: Hello World]
 2019-07-28 10:15:16,499 read #1 - Delay INFO Tracing - >>>> [route2 ] [transform1 ] [transform[Bye World] ] Exchange[Id: ID-davsclaus-pro-local-1564301716465-0-1, ExchangePattern: InOnly, Headers: {}, BodyType: String, Body: Hello World]
 2019-07-28 10:15:16,499 read #1 - Delay INFO Tracing - >>>> [route2 ] [to4 ] [mock:result ] Exchange[Id: ID-davsclaus-pro-local-1564301716465-0-1, ExchangePattern: InOnly, Headers: {}, BodyType: String, Body: Bye World]{noformat}


was (Author: davsclaus):
Here is a sample output of the new tracer in action

2019-07-28 10:15:16,453 [main           ] INFO  DefaultCamelContext            - Total 2 routes, of which 2 are started
2019-07-28 10:15:16,455 [main           ] INFO  DefaultCamelContext            - Apache Camel  (CamelContext: camel-1) started in 0.280 seconds
2019-07-28 10:15:16,475 [main           ] INFO  Tracing                        -        [route1            ] [route1            ] [from[direct://start]                  ] Exchange[Id: ID-davsclaus-pro-local-1564301716465-0-1, ExchangePattern: InOnly, Headers: {}, BodyType: String, Body: Hello World]
2019-07-28 10:15:16,476 [main           ] INFO  Tracing                        -  >>>>  [route1            ] [delay1            ] [delay[10]                             ] Exchange[Id: ID-davsclaus-pro-local-1564301716465-0-1, ExchangePattern: InOnly, Headers: {}, BodyType: String, Body: Hello World]
2019-07-28 10:15:16,493 [read #1 - Delay] INFO  Tracing                        -  >>>>  [route1            ] [to1               ] [mock:a                                ] Exchange[Id: ID-davsclaus-pro-local-1564301716465-0-1, ExchangePattern: InOnly, Headers: {}, BodyType: String, Body: Hello World]
2019-07-28 10:15:16,496 [read #1 - Delay] INFO  Tracing                        -  >>>>  [route1            ] [process1          ] [Processor@0x24fcf36f                  ] Exchange[Id: ID-davsclaus-pro-local-1564301716465-0-1, ExchangePattern: InOnly, Headers: {}, BodyType: String, Body: Hello World]
2019-07-28 10:15:16,497 [read #1 - Delay] INFO  TracingWithDelayTest           - This is the processor being invoked between mock:a and mock:b
2019-07-28 10:15:16,497 [read #1 - Delay] INFO  Tracing                        -  >>>>  [route1            ] [to2               ] [mock:b                                ] Exchange[Id: ID-davsclaus-pro-local-1564301716465-0-1, ExchangePattern: InOnly, Headers: {}, BodyType: String, Body: Hello World]
2019-07-28 10:15:16,498 [read #1 - Delay] INFO  Tracing                        -  >>>>  [route1            ] [to3               ] [direct:c                              ] Exchange[Id: ID-davsclaus-pro-local-1564301716465-0-1, ExchangePattern: InOnly, Headers: {}, BodyType: String, Body: Hello World]
2019-07-28 10:15:16,498 [read #1 - Delay] INFO  Tracing                        -        [route2            ] [route2            ] [from[direct:c]                        ] Exchange[Id: ID-davsclaus-pro-local-1564301716465-0-1, ExchangePattern: InOnly, Headers: {}, BodyType: String, Body: Hello World]
2019-07-28 10:15:16,499 [read #1 - Delay] INFO  Tracing                        -  >>>>  [route2            ] [transform1        ] [transform[Bye World]                  ] Exchange[Id: ID-davsclaus-pro-local-1564301716465-0-1, ExchangePattern: InOnly, Headers: {}, BodyType: String, Body: Hello World]
2019-07-28 10:15:16,499 [read #1 - Delay] INFO  Tracing                        -  >>>>  [route2            ] [to4               ] [mock:result                           ] Exchange[Id: ID-davsclaus-pro-local-1564301716465-0-1, ExchangePattern: InOnly, Headers: {}, BodyType: String, Body: Bye World]


> Camel-Tracer: New implementation
> --------------------------------
>
>                 Key: CAMEL-13505
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13505
>             Project: Camel
>          Issue Type: Task
>            Reporter: Andrea Cosentino
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.0.0, 3.0.0.M5
>
>
> We deprecated the 2.x one and removed it, hence we need a new implementation in Camel 3.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)