camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aritz (JIRA)" <>
Subject [jira] [Created] (CAMEL-5844) Camel Tracer not showing some EIP names
Date Mon, 03 Dec 2012 11:31:58 GMT
Aritz created CAMEL-5844:

             Summary: Camel Tracer not showing some EIP names
                 Key: CAMEL-5844
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.10.1
            Reporter: Aritz
            Priority: Minor

In order to debug Camel routes, I have enabled the Tracer as follows:         getContext().setTracing(true);

However, I have observed that some EIP names and routes are not being printed on console,
making it a bit confusing to follow. As far as I know, this happens with:
* process(): the processor is not printed in the tracer; it's just empty (see below)
* marshall(): the marshaller name is not printed in the tracer; it's just empty (see below)
* setBody(): this step is also printed empty
* from("activiti:..."): this route step is not printed altogether

For simplicity, I only provide the examples for process() and marshall(), bit I can provide
more information if needed.

{panel:title=Route2 Config}
  .process(new IncomingOrdersProcessor())
  .split(body())	// iterate list of Orders
  .process(new ActivitiStarterProcessor())

{panel:title=Route2 Tracer}
INFO  03-12 12:09:31,899 (  -ID-ES-CNU2113RXH-51211-1354532898719-0-3
>>> (route2) from(vm://processIncomingOrders) -->  <<< Pattern:InOnly,
INFO  03-12 12:09:34,899 (  -Processing incoming orders
(from Web Services)
[ORDER id:120 partName: wheel amount: 2 customerName: Honda Mechanics]
[ORDER id:121 partName: engine amount: 4 customerName: Volvo]
[ORDER id:122 partName: steering wheel amount: 3 customerName: Renault]
INFO  03-12 12:09:34,900 (  -ID-ES-CNU2113RXH-51211-1354532898719-0-3
>>> (route2)  --> split[body] <<< Pattern:InOnly, [...]

{panel:title=Route6 config}
  .marshal().bindy(BindyType.Csv, "net.atos.camel.entities")

{panel:title=Route6 Tracer}
INFO  03-12 12:09:37,313 (  -ID-ES-CNU2113RXH-51211-1354532898719-0-8
>>> (route6) direct://ordercsv -->  <<< Pattern:InOnly, [...]
INFO  03-12 12:09:37,320 (  -ID-ES-CNU2113RXH-51211-1354532898719-0-8
>>> (route6)  --> file://d://cameldata/orders?fileName=orders-%24%7Bdate%3Anow%3AyyyyMMdd-hhmmss%7D.csv
<<< Pattern:InOnly,  [...]

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message