camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lucien Schmitz (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-4167) Label of marshal and unmarshal processors do not appear in trace output
Date Thu, 30 Jun 2011 16:17:28 GMT
Label of marshal and unmarshal processors do not appear in trace output
-----------------------------------------------------------------------

                 Key: CAMEL-4167
                 URL: https://issues.apache.org/jira/browse/CAMEL-4167
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.7.1
         Environment: Eclipse on Windows XP, unsing Spring
            Reporter: Lucien Schmitz
             Fix For: 2.7.3


My route is defined as following:

        from(mqIn)
        .routeId(Helper.getRouteId(this.getClass().getName()))
        .errorHandler(deadLetterChannel("log:DEAD").maximumRedeliveries(1).retryAttemptedLogLevel(LoggingLevel.WARN))
        .onException(EAIException.class).maximumRedeliveries(0).handled(true).to("bean:AuditBO?method=handleException").end()
        //.transacted("PROPAGATION_REQUIRES_NEW")
        .setHeader("UBS_ID",new AuditId())
        .wireTap("seda:auditNew")
        .unmarshal("SwiftDataFormat")
        .setHeader("MT", getMT)
        .setHeader("SWIFTAddress", getSwiftAddress)
        .to(mqOut);

The tracing output is the following
[                          main] Tracer                         INFO  ID-w01b2bc3-3197-1309192772128-0-2
>>> (wmswift.in.IcgToCore) wireTap(seda://auditNew) -->  <<< Pattern:InOnly,
Headers:{UBS_ID=5932bc56-2f7e-45cf-a2b4-ef851ff661d7}, BodyType:String, ...
[                          main] Tracer                         INFO  ID-w01b2bc3-3197-1309192772128-0-2
>>> (wmswift.in.IcgToCore)  --> setHeader[MT] <<< Pattern:InOnly, Headers:{UBS_ID=5932bc56-2f7e-45cf-a2b4-ef851ff661d7},
BodyType:com.ubs.eai.wmswift.SwiftDataMessage, Body:com.ubs.eai.wmswift.SwiftDataMessage@91b9b0
[                          main] Tracer                         INFO  ID-w01b2bc3-3197-1309192772128-0-2
>>> (wmswift.in.IcgToCore) setHeader[MT] --> setHeader[SWIFTAddress] <<<
Pattern:InOnly, Headers:{MT=502, UBS_ID=5932bc56-2f7e-45cf-a2b4-ef851ff661d7}, BodyType:com.ubs.eai.wmswift.SwiftDataMessage,
Body:com.ubs.eai.wmswift.SwiftDataMessage@91b9b0
[                          main] Tracer                         INFO  ID-w01b2bc3-3197-1309192772128-0-2
>>> (wmswift.in.IcgToCore) setHeader[SWIFTAddress] --> direct://core <<<
Pattern:InOnly, Headers:{SWIFTAddress=ZYAMCHZ0XXXX, MT=502, UBS_ID=5932bc56-2f7e-45cf-a2b4-ef851ff661d7},
BodyType:com.ubs.eai.wmswift.SwiftDataMessage, Body:com.ubs.eai.wmswift.SwiftDataMessage@91b9b0
[                          main] Tracer                         INFO  ID-w01b2bc3-3197-1309192772128-0-2
>>> (wmswift.core.CoreToMQ) direct://core -->  <<< Pattern:InOnly, Headers:{SWIFTAddress=ZYAMCHZ0XXXX,
MT=502, UBS_ID=5932bc56-2f7e-45cf-a2b4-ef851ff661d7}, BodyType:com.ubs.eai.wmswift.SwiftDataMessage,
Body:com.ubs.eai.wmswift.SwiftDataMessage@91b9b0
[                          main] Tracer                         INFO  ID-w01b2bc3-3197-1309192772128-0-2
>>> (wmswift.core.CoreToMQ)  --> choice <<< Pattern:InOnly, Headers:{MT=502,
UBS_ID=5932bc56-2f7e-45cf-a2b4-ef851ff661d7, SWIFTAddress=ZYAMCHZ0XXXX}, 

The bug I found is the missing label of the unmarshal processor.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message