CamelHttpTransportServlet & split, output not updated

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

CamelHttpTransportServlet & split, output not updated

Lars Hansen
So, I thought I was clever. I have a CamelHttpTransportServlet with a route mapped up, it takes parameters with some dates, performs a split, queries a MongoDB, an aggregator picks up the results from the two requests and merges them. BUT

Whenever I use split, what is printed on the OutputStream is what the body was like BEFORE my initial split. I have written a small route to illustrate it.

from("servlet:///test")
                .setBody().simple("hello\nworld")
                .split().tokenize("\n")
                .setBody().simple("modified ${body}")
                .aggregate(constant(true),new AggregationStrategy() {
                       
                        @Override
                        public Exchange aggregate(Exchange oldExchange, Exchange newExchange) {
                                newExchange.getIn().setBody("aggregated");
                                return newExchange;
                        }
                }).completionSize(2)
                .setBody().simple("finito ${body}")
                .log("${body}")

It takes the input hello\nworld, splits it in two, it has a rather plain AggregationStrategy, that always rejects the exchanges and sets the body to "aggregated". When done, the body is rewritten and I would expect the output of the Servlet to be "finito aggregated". That is however not the case.

The output is hello\nworld

I am running Camel 2.14.1.

I have enabled full trace and captured the output, I noted this line myself
UnitOfWork afterRouteL: route2 for ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 with Exchange[Message: hello which indicates to me that the result is fetched prior to the actual work within the split / aggregation pipeline has been executed.

Any ideas are greatly appreciated. Would hate to take a step backwards and start injecting beans to do the work and transformations.

[          http-bio-9090-exec-8] CamelHttpTransportServlet      DEBUG Service: org.apache.catalina.connector.RequestFacade@48fab4ad
[          http-bio-9090-exec-8] DefaultHttpBinding             DEBUG readRequest org.apache.catalina.connector.RequestFacade@48fab4ad
[          http-bio-9090-exec-8] DefaultHttpBinding             DEBUG HTTP method GET with Content-Type null
[          http-bio-9090-exec-8] DefaultHttpBinding             DEBUG HTTP method GET
[          http-bio-9090-exec-8] DefaultHttpBinding             DEBUG HTTP query null
[          http-bio-9090-exec-8] DefaultHttpBinding             DEBUG HTTP url http://localhost:9090/attribution-web/reports/test
[          http-bio-9090-exec-8] DefaultHttpBinding             DEBUG HTTP uri /attribution-web/reports/test
[          http-bio-9090-exec-8] DefaultHttpBinding             DEBUG HTTP path /test
[          http-bio-9090-exec-8] DefaultHttpBinding             DEBUG HTTP content-type null
[          http-bio-9090-exec-8] DefaultUnitOfWork              DEBUG UnitOfWork created for ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 with Exchange[Message: [Body is null]]
[          http-bio-9090-exec-8] EventHelper                    DEBUG Notification of event is disabled: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 exchange created: Exchange[Message: [Body is null]]
[          http-bio-9090-exec-8] CamelHttpTransportServlet      DEBUG Processing request for exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1
[          http-bio-9090-exec-8] DefaultUnitOfWork              DEBUG UnitOfWork beforeRoute: route2 for ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 with Exchange[Message: [Body is null]]
[          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG Processing exchange for exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 -> Exchange[Message: [Body is null]]
[          http-bio-9090-exec-8] Pipeline                       DEBUG ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 should continue routing: true
[          http-bio-9090-exec-8] Pipeline                       DEBUG Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 >>> Exchange[Message: [Body is null]]
[          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG Processing exchange for exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 -> Exchange[Message: [Body is null]]
[          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG isRunAllowed() -> true (Run allowed if we are not stopped/stopping)
[          http-bio-9090-exec-8] Tracer                         INFO  Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 >>> (route2) from(servlet:///test) --> setBody[Simple: hello
world] <<< Pattern:InOut, Headers:{accept-encoding=gzip, deflate, CamelHttpQuery=null, breadcrumbId=Id-Lorem-Ipsum-w7016-64641-1449789898589-0-2, CamelHttpUrl=http://localhost:9090/attribution-web/reports/test, Content-Type=null, CamelHttpMethod=GET, user-agent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0, CamelHttpUri=/attribution-web/reports/test, CamelHttpServletResponse=org.apache.catalina.connector.ResponseFacade@3e4b53b4, accept-language=en-US,en;q=0.5, connection=keep-alive, host=localhost:9090, cache-control=max-age=0, CamelHttpServletRequest=org.apache.catalina.connector.RequestFacade@48fab4ad, CamelServletContextPath=/test, CamelHttpPath=, accept=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8}, BodyType:null, Body:[Body is null]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.Object with value: hello
world
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: hello
world
[          http-bio-9090-exec-8] InstrumentationProcessor       DEBUG setBody: Recording duration: 2 millis for exchange: Exchange[Message: hello
world]
[          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 interrupted? false
[          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 done? true
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: hello
world
[          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG Exchange processed and is continued routed synchronously for exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 -> Exchange[Message: hello
world]
[          http-bio-9090-exec-8] Pipeline                       DEBUG Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 is continued being processed synchronously
[          http-bio-9090-exec-8] Pipeline                       DEBUG ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 should continue routing: true
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: hello
world
[          http-bio-9090-exec-8] Pipeline                       DEBUG Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 >>> Exchange[Message: hello
world]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: hello
world
[          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG Processing exchange for exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 -> Exchange[Message: hello
world]
[          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG isRunAllowed() -> true (Run allowed if we are not stopped/stopping)
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: hello
world
[          http-bio-9090-exec-8] Tracer                         INFO  Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 >>> (route2) setBody[Simple: hello
world] --> split[tokenize(body,
)] <<< Pattern:InOut, Headers:{CamelServletContextPath=/test, CamelHttpServletRequest=org.apache.catalina.connector.RequestFacade@48fab4ad, CamelHttpServletResponse=org.apache.catalina.connector.ResponseFacade@3e4b53b4, accept=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8, CamelHttpPath=, CamelHttpUri=/attribution-web/reports/test, CamelHttpUrl=http://localhost:9090/attribution-web/reports/test, Content-Type=null, breadcrumbId=Id-Lorem-Ipsum-w7016-64641-1449789898589-0-2, cache-control=max-age=0, accept-language=en-US,en;q=0.5, accept-encoding=gzip, deflate, connection=keep-alive, host=localhost:9090, user-agent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0, CamelHttpMethod=GET, CamelHttpQuery=null}, BodyType:String, Body:hello
world
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.Object with value: hello
world
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.util.Scanner -> java.lang.Object with value: java.util.Scanner[delimiters=
][position=0][match valid=false][need input=false][source closed=false][skipped=false][group separator=\,][decimal separator=\.][positive prefix=][negative prefix=\Q-\E][positive suffix=][negative suffix=][NaN string=\Q?\E][infinity string=\Q?\E]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.Boolean -> boolean with value: false
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Using converter: StaticMethodTypeConverter: public static boolean org.apache.camel.converter.ObjectConverter.toBool(java.lang.Object) to convert [class java.lang.Boolean=>boolean]
[          http-bio-9090-exec-8] MulticastProcessor             DEBUG Creating error handler for: Pipeline[[Channel[SetBody(Simple: modified ${body})], Channel[AggregateProcessor[to: Pipeline[[Channel[SetBody(Simple: finito ${body})], Channel[Log(route2)[body]]]]]]]]
[          http-bio-9090-exec-8] ServiceSupport                 DEBUG Starting service
[          http-bio-9090-exec-8] ServiceSupport                 DEBUG Service already started
[          http-bio-9090-exec-8] ServiceSupport                 DEBUG Service already started
[          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Redelivery enabled: false on error handler: DefaultErrorHandler[Pipeline[[Channel[SetBody(Simple: modified ${body})], Channel[AggregateProcessor[to: Pipeline[[Channel[SetBody(Simple: finito ${body})], Channel[Log(route2)[body]]]]]]]]]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.Boolean -> boolean with value: false
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Using converter: StaticMethodTypeConverter: public static boolean org.apache.camel.converter.ObjectConverter.toBool(java.lang.Object) to convert [class java.lang.Boolean=>boolean]
[          http-bio-9090-exec-8] MulticastProcessor             DEBUG Using existing error handler for: Pipeline[[Channel[SetBody(Simple: modified ${body})], Channel[AggregateProcessor[to: Pipeline[[Channel[SetBody(Simple: finito ${body})], Channel[Log(route2)[body]]]]]]]]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: hello
[          http-bio-9090-exec-8] DefaultUnitOfWork              DEBUG UnitOfWork created for ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 with Exchange[Message: hello]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: hello
[          http-bio-9090-exec-8] EventHelper                    DEBUG Notification of event is disabled: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 exchange created: Exchange[Message: hello]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: hello
[          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG Processing exchange for exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 -> Exchange[Message: hello]
[          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG isRunAllowed() -> true (Run allowed if we are not stopped/stopping)
[          http-bio-9090-exec-8] Pipeline                       DEBUG ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 should continue routing: true
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: hello
[          http-bio-9090-exec-8] Pipeline                       DEBUG Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 >>> Exchange[Message: hello]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: hello
[          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG Processing exchange for exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 -> Exchange[Message: hello]
[          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG isRunAllowed() -> true (Run allowed if we are not stopped/stopping)
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: hello
[          http-bio-9090-exec-8] Tracer                         INFO  Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 >>> (route2) from(servlet:///test) --> setBody[Simple: modified ${body}] <<< Pattern:InOut, Headers:{CamelHttpPath=, connection=keep-alive, CamelHttpServletRequest=org.apache.catalina.connector.RequestFacade@48fab4ad, CamelHttpUri=/attribution-web/reports/test, CamelServletContextPath=/test, cache-control=max-age=0, CamelHttpServletResponse=org.apache.catalina.connector.ResponseFacade@3e4b53b4, CamelHttpUrl=http://localhost:9090/attribution-web/reports/test, accept-language=en-US,en;q=0.5, accept-encoding=gzip, deflate, Content-Type=null, CamelHttpMethod=GET, CamelHttpQuery=null, breadcrumbId=Id-Lorem-Ipsum-w7016-64641-1449789898589-0-2, accept=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8, host=localhost:9090, user-agent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0}, BodyType:String, Body:hello
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: modified
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: hello
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.Object with value: modified hello
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: modified hello
[          http-bio-9090-exec-8] InstrumentationProcessor       DEBUG setBody: Recording duration: 0 millis for exchange: Exchange[Message: modified hello]
[          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 interrupted? false
[          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 done? true
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: modified hello
[          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG Exchange processed and is continued routed synchronously for exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 -> Exchange[Message: modified hello]
[          http-bio-9090-exec-8] Pipeline                       DEBUG Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 is continued being processed synchronously
[          http-bio-9090-exec-8] Pipeline                       DEBUG ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 should continue routing: true
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: modified hello
[          http-bio-9090-exec-8] Pipeline                       DEBUG Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 >>> Exchange[Message: modified hello]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: modified hello
[          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG Processing exchange for exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 -> Exchange[Message: modified hello]
[          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG isRunAllowed() -> true (Run allowed if we are not stopped/stopping)
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: modified hello
[          http-bio-9090-exec-8] Tracer                         INFO  Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 >>> (route2) setBody[Simple: modified ${body}] --> aggregate[true] <<< Pattern:InOut, Headers:{CamelHttpPath=, connection=keep-alive, CamelHttpServletRequest=org.apache.catalina.connector.RequestFacade@48fab4ad, CamelHttpUri=/attribution-web/reports/test, CamelServletContextPath=/test, cache-control=max-age=0, CamelHttpServletResponse=org.apache.catalina.connector.ResponseFacade@3e4b53b4, CamelHttpUrl=http://localhost:9090/attribution-web/reports/test, accept-language=en-US,en;q=0.5, accept-encoding=gzip, deflate, Content-Type=null, CamelHttpMethod=GET, CamelHttpQuery=null, breadcrumbId=Id-Lorem-Ipsum-w7016-64641-1449789898589-0-2, accept=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8, host=localhost:9090, user-agent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0}, BodyType:String, Body:modified hello
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.Boolean -> boolean with value: false
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Using converter: StaticMethodTypeConverter: public static boolean org.apache.camel.converter.ObjectConverter.toBool(java.lang.Object) to convert [class java.lang.Boolean=>boolean]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.Boolean -> java.lang.String with value: true
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Using converter: StaticMethodTypeConverter: public static java.lang.String org.apache.camel.converter.ObjectConverter.toString(java.lang.Boolean) to convert [class java.lang.Boolean=>class java.lang.String]
[          http-bio-9090-exec-8] AggregateProcessor             DEBUG onAggregation +++ start +++ with correlation key: true
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: aggregated
[          http-bio-9090-exec-8] AggregateProcessor             DEBUG In progress aggregated oldExchange: null, newExchange: Exchange[Message: aggregated] with correlation key: true
[          http-bio-9090-exec-8] AggregateProcessor             DEBUG onAggregation +++  end  +++ with correlation key: true
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.Boolean -> boolean with value: false
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Using converter: StaticMethodTypeConverter: public static boolean org.apache.camel.converter.ObjectConverter.toBool(java.lang.Object) to convert [class java.lang.Boolean=>boolean]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: modified hello
[          http-bio-9090-exec-8] InstrumentationProcessor       DEBUG aggregate: Recording duration: 0 millis for exchange: Exchange[Message: modified hello]
[          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 interrupted? false
[          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 done? true
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: modified hello
[          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG Exchange processed and is continued routed synchronously for exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 -> Exchange[Message: modified hello]
[          http-bio-9090-exec-8] Pipeline                       DEBUG Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 is continued being processed synchronously
[          http-bio-9090-exec-8] Pipeline                       DEBUG ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 should continue routing: false
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: modified hello
[          http-bio-9090-exec-8] Pipeline                       DEBUG Processing complete for exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 >>> Exchange[Message: modified hello]
[          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 interrupted? false
[          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 done? true
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: modified hello
[          http-bio-9090-exec-8] DefaultUnitOfWork              DEBUG UnitOfWork done for ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 with Exchange[Message: modified hello]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: modified hello
[          http-bio-9090-exec-8] EventHelper                    DEBUG Notification of event is disabled: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 exchange completed: Exchange[Message: modified hello]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: modified hello
[          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG Exchange processed and is continued routed synchronously for exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 -> Exchange[Message: modified hello]
[          http-bio-9090-exec-8] MulticastProcessor             DEBUG Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 is continued being processed synchronously
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: modified hello
[          http-bio-9090-exec-8] MulticastProcessor             DEBUG Sequential processing complete for number 0 exchange: Exchange[Message: modified hello]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: world
[          http-bio-9090-exec-8] DefaultUnitOfWork              DEBUG UnitOfWork created for ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 with Exchange[Message: world]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: world
[          http-bio-9090-exec-8] EventHelper                    DEBUG Notification of event is disabled: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 exchange created: Exchange[Message: world]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: world
[          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG Processing exchange for exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 -> Exchange[Message: world]
[          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG isRunAllowed() -> true (Run allowed if we are not stopped/stopping)
[          http-bio-9090-exec-8] Pipeline                       DEBUG ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 should continue routing: true
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: world
[          http-bio-9090-exec-8] Pipeline                       DEBUG Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 >>> Exchange[Message: world]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: world
[          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG Processing exchange for exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 -> Exchange[Message: world]
[          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG isRunAllowed() -> true (Run allowed if we are not stopped/stopping)
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: world
[          http-bio-9090-exec-8] Tracer                         INFO  Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 >>> (route2) from(servlet:///test) --> setBody[Simple: modified ${body}] <<< Pattern:InOut, Headers:{accept-language=en-US,en;q=0.5, CamelHttpUri=/attribution-web/reports/test, CamelHttpQuery=null, Content-Type=null, host=localhost:9090, breadcrumbId=Id-Lorem-Ipsum-w7016-64641-1449789898589-0-2, accept=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8, CamelHttpServletRequest=org.apache.catalina.connector.RequestFacade@48fab4ad, CamelHttpServletResponse=org.apache.catalina.connector.ResponseFacade@3e4b53b4, accept-encoding=gzip, deflate, cache-control=max-age=0, CamelHttpMethod=GET, CamelHttpUrl=http://localhost:9090/attribution-web/reports/test, CamelServletContextPath=/test, CamelHttpPath=, user-agent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0, connection=keep-alive}, BodyType:String, Body:world
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: modified
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: world
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.Object with value: modified world
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: modified world
[          http-bio-9090-exec-8] InstrumentationProcessor       DEBUG setBody: Recording duration: 0 millis for exchange: Exchange[Message: modified world]
[          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 interrupted? false
[          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 done? true
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: modified world
[          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG Exchange processed and is continued routed synchronously for exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 -> Exchange[Message: modified world]
[          http-bio-9090-exec-8] Pipeline                       DEBUG Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 is continued being processed synchronously
[          http-bio-9090-exec-8] Pipeline                       DEBUG ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 should continue routing: true
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: modified world
[          http-bio-9090-exec-8] Pipeline                       DEBUG Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 >>> Exchange[Message: modified world]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: modified world
[          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG Processing exchange for exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 -> Exchange[Message: modified world]
[          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG isRunAllowed() -> true (Run allowed if we are not stopped/stopping)
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: modified world
[          http-bio-9090-exec-8] Tracer                         INFO  Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 >>> (route2) setBody[Simple: modified ${body}] --> aggregate[true] <<< Pattern:InOut, Headers:{accept-language=en-US,en;q=0.5, CamelHttpUri=/attribution-web/reports/test, CamelHttpQuery=null, Content-Type=null, host=localhost:9090, breadcrumbId=Id-Lorem-Ipsum-w7016-64641-1449789898589-0-2, accept=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8, CamelHttpServletRequest=org.apache.catalina.connector.RequestFacade@48fab4ad, CamelHttpServletResponse=org.apache.catalina.connector.ResponseFacade@3e4b53b4, accept-encoding=gzip, deflate, cache-control=max-age=0, CamelHttpMethod=GET, CamelHttpUrl=http://localhost:9090/attribution-web/reports/test, CamelServletContextPath=/test, CamelHttpPath=, user-agent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0, connection=keep-alive}, BodyType:String, Body:modified world
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.Boolean -> boolean with value: false
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Using converter: StaticMethodTypeConverter: public static boolean org.apache.camel.converter.ObjectConverter.toBool(java.lang.Object) to convert [class java.lang.Boolean=>boolean]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.Boolean -> java.lang.String with value: true
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Using converter: StaticMethodTypeConverter: public static java.lang.String org.apache.camel.converter.ObjectConverter.toString(java.lang.Boolean) to convert [class java.lang.Boolean=>class java.lang.String]
[          http-bio-9090-exec-8] AggregateProcessor             DEBUG onAggregation +++ start +++ with correlation key: true
[          http-bio-9090-exec-8] AggregateProcessor             DEBUG onAggregation +++  end  +++ with correlation key: true
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: aggregated
[          http-bio-9090-exec-8] AggregateProcessor             DEBUG Aggregation complete for correlation key true sending aggregated exchange: Exchange[Message: aggregated]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: aggregated
[          http-bio-9090-exec-8] AggregateProcessor             DEBUG Processing aggregated exchange: Exchange[Message: aggregated]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: aggregated
[          http-bio-9090-exec-8] DefaultUnitOfWork              DEBUG UnitOfWork created for ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 with Exchange[Message: aggregated]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: aggregated
[          http-bio-9090-exec-8] EventHelper                    DEBUG Notification of event is disabled: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 exchange created: Exchange[Message: aggregated]
[          http-bio-9090-exec-8] DefaultUnitOfWork              DEBUG Adding synchronization AggregateOnCompletion
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: aggregated
[          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG Processing exchange for exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 -> Exchange[Message: aggregated]
[          http-bio-9090-exec-8] Pipeline                       DEBUG ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 should continue routing: true
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: aggregated
[          http-bio-9090-exec-8] Pipeline                       DEBUG Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 >>> Exchange[Message: aggregated]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: aggregated
[          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG Processing exchange for exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 -> Exchange[Message: aggregated]
[          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG isRunAllowed() -> true (Run allowed if we are not stopped/stopping)
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: aggregated
[          http-bio-9090-exec-8] Tracer                         INFO  Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 >>> (route2) aggregate[true] --> setBody[Simple: finito ${body}] <<< Pattern:InOut, Headers:{user-agent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0, CamelServletContextPath=/test, cache-control=max-age=0, accept-language=en-US,en;q=0.5, accept-encoding=gzip, deflate, CamelHttpUrl=http://localhost:9090/attribution-web/reports/test, CamelHttpPath=, CamelHttpUri=/attribution-web/reports/test, CamelHttpServletRequest=org.apache.catalina.connector.RequestFacade@48fab4ad, CamelHttpServletResponse=org.apache.catalina.connector.ResponseFacade@3e4b53b4, connection=keep-alive, host=localhost:9090, CamelHttpQuery=null, breadcrumbId=Id-Lorem-Ipsum-w7016-64641-1449789898589-0-2, accept=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8, CamelHttpMethod=GET, Content-Type=null}, BodyType:String, Body:aggregated
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: finito
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: aggregated
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.Object with value: finito aggregated
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: finito aggregated
[          http-bio-9090-exec-8] InstrumentationProcessor       DEBUG setBody: Recording duration: 0 millis for exchange: Exchange[Message: finito aggregated]
[          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 interrupted? false
[          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 done? true
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: finito aggregated
[          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG Exchange processed and is continued routed synchronously for exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 -> Exchange[Message: finito aggregated]
[          http-bio-9090-exec-8] Pipeline                       DEBUG Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 is continued being processed synchronously
[          http-bio-9090-exec-8] Pipeline                       DEBUG ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 should continue routing: true
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: finito aggregated
[          http-bio-9090-exec-8] Pipeline                       DEBUG Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 >>> Exchange[Message: finito aggregated]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: finito aggregated
[          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG Processing exchange for exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 -> Exchange[Message: finito aggregated]
[          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG isRunAllowed() -> true (Run allowed if we are not stopped/stopping)
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: finito aggregated
[          http-bio-9090-exec-8] Tracer                         INFO  Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 >>> (route2) setBody[Simple: finito ${body}] --> log[body] <<< Pattern:InOut, Headers:{user-agent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0, CamelServletContextPath=/test, cache-control=max-age=0, accept-language=en-US,en;q=0.5, accept-encoding=gzip, deflate, CamelHttpUrl=http://localhost:9090/attribution-web/reports/test, CamelHttpPath=, CamelHttpUri=/attribution-web/reports/test, CamelHttpServletRequest=org.apache.catalina.connector.RequestFacade@48fab4ad, CamelHttpServletResponse=org.apache.catalina.connector.ResponseFacade@3e4b53b4, connection=keep-alive, host=localhost:9090, CamelHttpQuery=null, breadcrumbId=Id-Lorem-Ipsum-w7016-64641-1449789898589-0-2, accept=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8, CamelHttpMethod=GET, Content-Type=null}, BodyType:String, Body:finito aggregated
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: finito aggregated
[          http-bio-9090-exec-8] route2                         INFO  finito aggregated
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: finito aggregated
[          http-bio-9090-exec-8] InstrumentationProcessor       DEBUG log: Recording duration: 0 millis for exchange: Exchange[Message: finito aggregated]
[          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 interrupted? false
[          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 done? true
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: finito aggregated
[          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG Exchange processed and is continued routed synchronously for exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 -> Exchange[Message: finito aggregated]
[          http-bio-9090-exec-8] Pipeline                       DEBUG Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 is continued being processed synchronously
[          http-bio-9090-exec-8] Pipeline                       DEBUG ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 should continue routing: false
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: finito aggregated
[          http-bio-9090-exec-8] Pipeline                       DEBUG Processing complete for exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 >>> Exchange[Message: finito aggregated]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: finito aggregated
[          http-bio-9090-exec-8] DefaultUnitOfWork              DEBUG UnitOfWork done for ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 with Exchange[Message: finito aggregated]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: finito aggregated
[          http-bio-9090-exec-8] DefaultUnitOfWork              DEBUG Invoking synchronization.onComplete: AggregateOnCompletion with Exchange[Message: finito aggregated]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: finito aggregated
[          http-bio-9090-exec-8] AggregateProcessor             DEBUG Aggregated exchange onComplete: Exchange[Message: finito aggregated]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: finito aggregated
[          http-bio-9090-exec-8] EventHelper                    DEBUG Notification of event is disabled: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 exchange completed: Exchange[Message: finito aggregated]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: finito aggregated
[          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG Exchange processed and is continued routed synchronously for exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 -> Exchange[Message: finito aggregated]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: finito aggregated
[          http-bio-9090-exec-8] AggregateProcessor             DEBUG Processing aggregated exchange: Exchange[Message: finito aggregated] complete.
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.Boolean -> boolean with value: false
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Using converter: StaticMethodTypeConverter: public static boolean org.apache.camel.converter.ObjectConverter.toBool(java.lang.Object) to convert [class java.lang.Boolean=>boolean]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: modified world
[          http-bio-9090-exec-8] InstrumentationProcessor       DEBUG aggregate: Recording duration: 4 millis for exchange: Exchange[Message: modified world]
[          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 interrupted? false
[          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 done? true
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: modified world
[          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG Exchange processed and is continued routed synchronously for exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 -> Exchange[Message: modified world]
[          http-bio-9090-exec-8] Pipeline                       DEBUG Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 is continued being processed synchronously
[          http-bio-9090-exec-8] Pipeline                       DEBUG ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 should continue routing: false
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: modified world
[          http-bio-9090-exec-8] Pipeline                       DEBUG Processing complete for exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 >>> Exchange[Message: modified world]
[          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 interrupted? false
[          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 done? true
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: modified world
[          http-bio-9090-exec-8] DefaultUnitOfWork              DEBUG UnitOfWork done for ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 with Exchange[Message: modified world]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: modified world
[          http-bio-9090-exec-8] EventHelper                    DEBUG Notification of event is disabled: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 exchange completed: Exchange[Message: modified world]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: modified world
[          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG Exchange processed and is continued routed synchronously for exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 -> Exchange[Message: modified world]
[          http-bio-9090-exec-8] MulticastProcessor             DEBUG Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 is continued being processed synchronously
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: modified world
[          http-bio-9090-exec-8] MulticastProcessor             DEBUG Sequential processing complete for number 1 exchange: Exchange[Message: modified world]
[          http-bio-9090-exec-8] MulticastProcessor             DEBUG Done sequential processing 2 exchanges
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: hello
world
[          http-bio-9090-exec-8] InstrumentationProcessor       DEBUG split: Recording duration: 11 millis for exchange: Exchange[Message: hello
world]
[          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 interrupted? false
[          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 done? true
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: hello
world
[          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG Exchange processed and is continued routed synchronously for exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 -> Exchange[Message: hello
world]
[          http-bio-9090-exec-8] Pipeline                       DEBUG Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 is continued being processed synchronously
[          http-bio-9090-exec-8] Pipeline                       DEBUG ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 should continue routing: false
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: hello
world
[          http-bio-9090-exec-8] Pipeline                       DEBUG Processing complete for exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 >>> Exchange[Message: hello
world]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: hello
world
[          http-bio-9090-exec-8] DefaultUnitOfWork              DEBUG UnitOfWork afterRouteL: route2 for ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 with Exchange[Message: hello
world]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: hello
world
[          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG route: Recording duration: 19 millis for exchange: Exchange[Message: hello
world]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: hello
world
[          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG Exchange processed and is continued routed synchronously for exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 -> Exchange[Message: hello
world]
[          http-bio-9090-exec-8] CamelHttpTransportServlet      DEBUG Writing response for exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: chunked
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting org.apache.catalina.connector.RequestFacade -> java.lang.String with value: org.apache.catalina.connector.RequestFacade@48fab4ad
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Fallback type converter org.apache.camel.impl.converter.ToStringTypeConverter@49803f68 converted type from: java.lang.String to: org.apache.catalina.connector.RequestFacade
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: max-age=0
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: GET
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting org.apache.catalina.connector.ResponseFacade -> java.lang.String with value: org.apache.catalina.connector.ResponseFacade@3e4b53b4
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Fallback type converter org.apache.camel.impl.converter.ToStringTypeConverter@49803f68 converted type from: java.lang.String to: org.apache.catalina.connector.ResponseFacade
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: keep-alive
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: /attribution-web/reports/test
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: gzip, deflate
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: /test
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-2
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: http://localhost:9090/attribution-web/reports/test
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: localhost:9090
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: en-US,en;q=0.5
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.io.InputStream with value: hello
world
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Using converter: StaticMethodTypeConverter: public static java.io.InputStream org.apache.camel.converter.IOConverter.toInputStream(java.lang.String,org.apache.camel.Exchange) throws java.io.IOException to convert [class java.lang.String=>class java.io.InputStream]
[          http-bio-9090-exec-8] DefaultHttpBinding             DEBUG Streaming response in chunked mode with buffer size 8192
[          http-bio-9090-exec-8] IOHelper                       DEBUG Copying InputStream: java.io.ByteArrayInputStream@1476c28f -> OutputStream: org.apache.catalina.connector.CoyoteOutputStream@214a1a5e with buffer: 11 and flush on each write true
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: hello
world
[          http-bio-9090-exec-8] DefaultUnitOfWork              DEBUG UnitOfWork done for ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 with Exchange[Message: hello
world]
[          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Converting java.lang.String -> java.lang.String with value: hello
world
[          http-bio-9090-exec-8] EventHelper                    DEBUG Notification of event is disabled: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 exchange completed: Exchange[Message: hello
world]
Reply | Threaded
Open this post in threaded view
|

Re: CamelHttpTransportServlet & split, output not updated

Claus Ibsen-2
See the splitter only example at
http://camel.apache.org/composed-message-processor.html



On Fri, Dec 11, 2015 at 12:42 AM, Lars Hansen <[hidden email]> wrote:

> So, I thought I was clever. I have a CamelHttpTransportServlet with a route
> mapped up, it takes parameters with some dates, performs a split, queries a
> MongoDB, an aggregator picks up the results from the two requests and merges
> them. BUT
>
> Whenever I use split, what is printed on the OutputStream is what the body
> was like BEFORE my initial split. I have written a small route to illustrate
> it.
>
> from("servlet:///test")
>                 .setBody().simple("hello\nworld")
>                 .split().tokenize("\n")
>                 .setBody().simple("modified ${body}")
>                 .aggregate(constant(true),new AggregationStrategy() {
>
>                         @Override
>                         public Exchange aggregate(Exchange oldExchange, Exchange newExchange) {
>                                 newExchange.getIn().setBody("aggregated");
>                                 return newExchange;
>                         }
>                 }).completionSize(2)
>                 .setBody().simple("finito ${body}")
>                 .log("${body}")
>
> It takes the input hello\nworld, splits it in two, it has a rather plain
> AggregationStrategy, that always rejects the exchanges and sets the body to
> "aggregated". When done, the body is rewritten and I would expect the output
> of the Servlet to be "finito aggregated". That is however not the case.
>
> The output is hello\nworld
>
> I am running Camel 2.14.1.
>
> I have enabled full trace and captured the output, I noted this line myself
> /UnitOfWork afterRouteL: route2 for ExchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 with Exchange[Message: hello/
> which indicates to me that the result is fetched prior to the actual work
> within the split / aggregation pipeline has been executed.
>
> Any ideas are greatly appreciated. Would hate to take a step backwards and
> start injecting beans to do the work and transformations.
>
> [          http-bio-9090-exec-8] CamelHttpTransportServlet      DEBUG
> Service: org.apache.catalina.connector.RequestFacade@48fab4ad
> [          http-bio-9090-exec-8] DefaultHttpBinding             DEBUG
> readRequest org.apache.catalina.connector.RequestFacade@48fab4ad
> [          http-bio-9090-exec-8] DefaultHttpBinding             DEBUG HTTP
> method GET with Content-Type null
> [          http-bio-9090-exec-8] DefaultHttpBinding             DEBUG HTTP
> method GET
> [          http-bio-9090-exec-8] DefaultHttpBinding             DEBUG HTTP
> query null
> [          http-bio-9090-exec-8] DefaultHttpBinding             DEBUG HTTP
> url http://localhost:9090/attribution-web/reports/test
> [          http-bio-9090-exec-8] DefaultHttpBinding             DEBUG HTTP
> uri /attribution-web/reports/test
> [          http-bio-9090-exec-8] DefaultHttpBinding             DEBUG HTTP
> path /test
> [          http-bio-9090-exec-8] DefaultHttpBinding             DEBUG HTTP
> content-type null
> [          http-bio-9090-exec-8] DefaultUnitOfWork              DEBUG
> UnitOfWork created for ExchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 with Exchange[Message: [Body is
> null]]
> [          http-bio-9090-exec-8] EventHelper                    DEBUG
> Notification of event is disabled:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 exchange created:
> Exchange[Message: [Body is null]]
> [          http-bio-9090-exec-8] CamelHttpTransportServlet      DEBUG
> Processing request for exchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1
> [          http-bio-9090-exec-8] DefaultUnitOfWork              DEBUG
> UnitOfWork beforeRoute: route2 for ExchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 with Exchange[Message: [Body is
> null]]
> [          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG
> Processing exchange for exchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 -> Exchange[Message: [Body is
> null]]
> [          http-bio-9090-exec-8] Pipeline                       DEBUG
> ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 should continue
> routing: true
> [          http-bio-9090-exec-8] Pipeline                       DEBUG
> Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 >>>
> Exchange[Message: [Body is null]]
> [          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG
> Processing exchange for exchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 -> Exchange[Message: [Body is
> null]]
> [          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG
> isRunAllowed() -> true (Run allowed if we are not stopped/stopping)
> [          http-bio-9090-exec-8] Tracer                         INFO
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 >>> (route2)
> from(servlet:///test) --> setBody[Simple: hello
> world] <<< Pattern:InOut, Headers:{accept-encoding=gzip, deflate,
> CamelHttpQuery=null,
> breadcrumbId=Id-Lorem-Ipsum-w7016-64641-1449789898589-0-2,
> CamelHttpUrl=http://localhost:9090/attribution-web/reports/test,
> Content-Type=null, CamelHttpMethod=GET, user-agent=Mozilla/5.0 (Windows NT
> 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0,
> CamelHttpUri=/attribution-web/reports/test,
> CamelHttpServletResponse=org.apache.catalina.connector.ResponseFacade@3e4b53b4,
> accept-language=en-US,en;q=0.5, connection=keep-alive, host=localhost:9090,
> cache-control=max-age=0,
> CamelHttpServletRequest=org.apache.catalina.connector.RequestFacade@48fab4ad,
> CamelServletContextPath=/test, CamelHttpPath=,
> accept=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8},
> BodyType:null, Body:[Body is null]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.Object with value: hello
> world
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: hello
> world
> [          http-bio-9090-exec-8] InstrumentationProcessor       DEBUG
> setBody: Recording duration: 2 millis for exchange: Exchange[Message: hello
> world]
> [          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is
> exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 interrupted? false
> [          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is
> exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 done? true
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: hello
> world
> [          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG
> Exchange processed and is continued routed synchronously for exchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 -> Exchange[Message: hello
> world]
> [          http-bio-9090-exec-8] Pipeline                       DEBUG
> Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 is
> continued being processed synchronously
> [          http-bio-9090-exec-8] Pipeline                       DEBUG
> ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 should continue
> routing: true
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: hello
> world
> [          http-bio-9090-exec-8] Pipeline                       DEBUG
> Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 >>>
> Exchange[Message: hello
> world]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: hello
> world
> [          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG
> Processing exchange for exchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 -> Exchange[Message: hello
> world]
> [          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG
> isRunAllowed() -> true (Run allowed if we are not stopped/stopping)
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: hello
> world
> [          http-bio-9090-exec-8] Tracer                         INFO
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 >>> (route2) setBody[Simple:
> hello
> world] --> split[tokenize(body,
> )] <<< Pattern:InOut, Headers:{CamelServletContextPath=/test,
> CamelHttpServletRequest=org.apache.catalina.connector.RequestFacade@48fab4ad,
> CamelHttpServletResponse=org.apache.catalina.connector.ResponseFacade@3e4b53b4,
> accept=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,
> CamelHttpPath=, CamelHttpUri=/attribution-web/reports/test,
> CamelHttpUrl=http://localhost:9090/attribution-web/reports/test,
> Content-Type=null,
> breadcrumbId=Id-Lorem-Ipsum-w7016-64641-1449789898589-0-2,
> cache-control=max-age=0, accept-language=en-US,en;q=0.5,
> accept-encoding=gzip, deflate, connection=keep-alive, host=localhost:9090,
> user-agent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101
> Firefox/42.0, CamelHttpMethod=GET, CamelHttpQuery=null}, BodyType:String,
> Body:hello
> world
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.Object with value: hello
> world
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.util.Scanner -> java.lang.Object with value:
> java.util.Scanner[delimiters=
> ][position=0][match valid=false][need input=false][source
> closed=false][skipped=false][group separator=\,][decimal
> separator=\.][positive prefix=][negative prefix=\Q-\E][positive
> suffix=][negative suffix=][NaN string=\Q?\E][infinity string=\Q?\E]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.Boolean -> boolean with value: false
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Using
> converter: StaticMethodTypeConverter: public static boolean
> org.apache.camel.converter.ObjectConverter.toBool(java.lang.Object) to
> convert [class java.lang.Boolean=>boolean]
> [          http-bio-9090-exec-8] MulticastProcessor             DEBUG
> Creating error handler for: Pipeline[[Channel[SetBody(Simple: modified
> ${body})], Channel[AggregateProcessor[to: Pipeline[[Channel[SetBody(Simple:
> finito ${body})], Channel[Log(route2)[body]]]]]]]]
> [          http-bio-9090-exec-8] ServiceSupport                 DEBUG
> Starting service
> [          http-bio-9090-exec-8] ServiceSupport                 DEBUG
> Service already started
> [          http-bio-9090-exec-8] ServiceSupport                 DEBUG
> Service already started
> [          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG
> Redelivery enabled: false on error handler:
> DefaultErrorHandler[Pipeline[[Channel[SetBody(Simple: modified ${body})],
> Channel[AggregateProcessor[to: Pipeline[[Channel[SetBody(Simple: finito
> ${body})], Channel[Log(route2)[body]]]]]]]]]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.Boolean -> boolean with value: false
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Using
> converter: StaticMethodTypeConverter: public static boolean
> org.apache.camel.converter.ObjectConverter.toBool(java.lang.Object) to
> convert [class java.lang.Boolean=>boolean]
> [          http-bio-9090-exec-8] MulticastProcessor             DEBUG Using
> existing error handler for: Pipeline[[Channel[SetBody(Simple: modified
> ${body})], Channel[AggregateProcessor[to: Pipeline[[Channel[SetBody(Simple:
> finito ${body})], Channel[Log(route2)[body]]]]]]]]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: hello
> [          http-bio-9090-exec-8] DefaultUnitOfWork              DEBUG
> UnitOfWork created for ExchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 with Exchange[Message: hello]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: hello
> [          http-bio-9090-exec-8] EventHelper                    DEBUG
> Notification of event is disabled:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 exchange created:
> Exchange[Message: hello]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: hello
> [          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG
> Processing exchange for exchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 -> Exchange[Message: hello]
> [          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG
> isRunAllowed() -> true (Run allowed if we are not stopped/stopping)
> [          http-bio-9090-exec-8] Pipeline                       DEBUG
> ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 should continue
> routing: true
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: hello
> [          http-bio-9090-exec-8] Pipeline                       DEBUG
> Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 >>>
> Exchange[Message: hello]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: hello
> [          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG
> Processing exchange for exchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 -> Exchange[Message: hello]
> [          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG
> isRunAllowed() -> true (Run allowed if we are not stopped/stopping)
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: hello
> [          http-bio-9090-exec-8] Tracer                         INFO
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 >>> (route2)
> from(servlet:///test) --> setBody[Simple: modified ${body}] <<<
> Pattern:InOut, Headers:{CamelHttpPath=, connection=keep-alive,
> CamelHttpServletRequest=org.apache.catalina.connector.RequestFacade@48fab4ad,
> CamelHttpUri=/attribution-web/reports/test, CamelServletContextPath=/test,
> cache-control=max-age=0,
> CamelHttpServletResponse=org.apache.catalina.connector.ResponseFacade@3e4b53b4,
> CamelHttpUrl=http://localhost:9090/attribution-web/reports/test,
> accept-language=en-US,en;q=0.5, accept-encoding=gzip, deflate,
> Content-Type=null, CamelHttpMethod=GET, CamelHttpQuery=null,
> breadcrumbId=Id-Lorem-Ipsum-w7016-64641-1449789898589-0-2,
> accept=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,
> host=localhost:9090, user-agent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0)
> Gecko/20100101 Firefox/42.0}, BodyType:String, Body:hello
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: modified
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: hello
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.Object with value: modified hello
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: modified hello
> [          http-bio-9090-exec-8] InstrumentationProcessor       DEBUG
> setBody: Recording duration: 0 millis for exchange: Exchange[Message:
> modified hello]
> [          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is
> exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 interrupted? false
> [          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is
> exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 done? true
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: modified hello
> [          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG
> Exchange processed and is continued routed synchronously for exchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 -> Exchange[Message: modified
> hello]
> [          http-bio-9090-exec-8] Pipeline                       DEBUG
> Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 is
> continued being processed synchronously
> [          http-bio-9090-exec-8] Pipeline                       DEBUG
> ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 should continue
> routing: true
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: modified hello
> [          http-bio-9090-exec-8] Pipeline                       DEBUG
> Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 >>>
> Exchange[Message: modified hello]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: modified hello
> [          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG
> Processing exchange for exchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 -> Exchange[Message: modified
> hello]
> [          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG
> isRunAllowed() -> true (Run allowed if we are not stopped/stopping)
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: modified hello
> [          http-bio-9090-exec-8] Tracer                         INFO
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 >>> (route2) setBody[Simple:
> modified ${body}] --> aggregate[true] <<< Pattern:InOut,
> Headers:{CamelHttpPath=, connection=keep-alive,
> CamelHttpServletRequest=org.apache.catalina.connector.RequestFacade@48fab4ad,
> CamelHttpUri=/attribution-web/reports/test, CamelServletContextPath=/test,
> cache-control=max-age=0,
> CamelHttpServletResponse=org.apache.catalina.connector.ResponseFacade@3e4b53b4,
> CamelHttpUrl=http://localhost:9090/attribution-web/reports/test,
> accept-language=en-US,en;q=0.5, accept-encoding=gzip, deflate,
> Content-Type=null, CamelHttpMethod=GET, CamelHttpQuery=null,
> breadcrumbId=Id-Lorem-Ipsum-w7016-64641-1449789898589-0-2,
> accept=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,
> host=localhost:9090, user-agent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0)
> Gecko/20100101 Firefox/42.0}, BodyType:String, Body:modified hello
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.Boolean -> boolean with value: false
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Using
> converter: StaticMethodTypeConverter: public static boolean
> org.apache.camel.converter.ObjectConverter.toBool(java.lang.Object) to
> convert [class java.lang.Boolean=>boolean]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.Boolean -> java.lang.String with value: true
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Using
> converter: StaticMethodTypeConverter: public static java.lang.String
> org.apache.camel.converter.ObjectConverter.toString(java.lang.Boolean) to
> convert [class java.lang.Boolean=>class java.lang.String]
> [          http-bio-9090-exec-8] AggregateProcessor             DEBUG
> onAggregation +++ start +++ with correlation key: true
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: aggregated
> [          http-bio-9090-exec-8] AggregateProcessor             DEBUG In
> progress aggregated oldExchange: null, newExchange: Exchange[Message:
> aggregated] with correlation key: true
> [          http-bio-9090-exec-8] AggregateProcessor             DEBUG
> onAggregation +++  end  +++ with correlation key: true
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.Boolean -> boolean with value: false
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Using
> converter: StaticMethodTypeConverter: public static boolean
> org.apache.camel.converter.ObjectConverter.toBool(java.lang.Object) to
> convert [class java.lang.Boolean=>boolean]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: modified hello
> [          http-bio-9090-exec-8] InstrumentationProcessor       DEBUG
> aggregate: Recording duration: 0 millis for exchange: Exchange[Message:
> modified hello]
> [          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is
> exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 interrupted? false
> [          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is
> exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 done? true
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: modified hello
> [          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG
> Exchange processed and is continued routed synchronously for exchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 -> Exchange[Message: modified
> hello]
> [          http-bio-9090-exec-8] Pipeline                       DEBUG
> Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 is
> continued being processed synchronously
> [          http-bio-9090-exec-8] Pipeline                       DEBUG
> ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 should continue
> routing: false
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: modified hello
> [          http-bio-9090-exec-8] Pipeline                       DEBUG
> Processing complete for exchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 >>> Exchange[Message: modified
> hello]
> [          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is
> exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 interrupted? false
> [          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is
> exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 done? true
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: modified hello
> [          http-bio-9090-exec-8] DefaultUnitOfWork              DEBUG
> UnitOfWork done for ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3
> with Exchange[Message: modified hello]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: modified hello
> [          http-bio-9090-exec-8] EventHelper                    DEBUG
> Notification of event is disabled:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 exchange completed:
> Exchange[Message: modified hello]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: modified hello
> [          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG
> Exchange processed and is continued routed synchronously for exchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 -> Exchange[Message: modified
> hello]
> [          http-bio-9090-exec-8] MulticastProcessor             DEBUG
> Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-3 is
> continued being processed synchronously
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: modified hello
> [          http-bio-9090-exec-8] MulticastProcessor             DEBUG
> Sequential processing complete for number 0 exchange: Exchange[Message:
> modified hello]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: world
> [          http-bio-9090-exec-8] DefaultUnitOfWork              DEBUG
> UnitOfWork created for ExchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 with Exchange[Message: world]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: world
> [          http-bio-9090-exec-8] EventHelper                    DEBUG
> Notification of event is disabled:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 exchange created:
> Exchange[Message: world]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: world
> [          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG
> Processing exchange for exchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 -> Exchange[Message: world]
> [          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG
> isRunAllowed() -> true (Run allowed if we are not stopped/stopping)
> [          http-bio-9090-exec-8] Pipeline                       DEBUG
> ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 should continue
> routing: true
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: world
> [          http-bio-9090-exec-8] Pipeline                       DEBUG
> Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 >>>
> Exchange[Message: world]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: world
> [          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG
> Processing exchange for exchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 -> Exchange[Message: world]
> [          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG
> isRunAllowed() -> true (Run allowed if we are not stopped/stopping)
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: world
> [          http-bio-9090-exec-8] Tracer                         INFO
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 >>> (route2)
> from(servlet:///test) --> setBody[Simple: modified ${body}] <<<
> Pattern:InOut, Headers:{accept-language=en-US,en;q=0.5,
> CamelHttpUri=/attribution-web/reports/test, CamelHttpQuery=null,
> Content-Type=null, host=localhost:9090,
> breadcrumbId=Id-Lorem-Ipsum-w7016-64641-1449789898589-0-2,
> accept=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,
> CamelHttpServletRequest=org.apache.catalina.connector.RequestFacade@48fab4ad,
> CamelHttpServletResponse=org.apache.catalina.connector.ResponseFacade@3e4b53b4,
> accept-encoding=gzip, deflate, cache-control=max-age=0, CamelHttpMethod=GET,
> CamelHttpUrl=http://localhost:9090/attribution-web/reports/test,
> CamelServletContextPath=/test, CamelHttpPath=, user-agent=Mozilla/5.0
> (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0,
> connection=keep-alive}, BodyType:String, Body:world
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: modified
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: world
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.Object with value: modified world
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: modified world
> [          http-bio-9090-exec-8] InstrumentationProcessor       DEBUG
> setBody: Recording duration: 0 millis for exchange: Exchange[Message:
> modified world]
> [          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is
> exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 interrupted? false
> [          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is
> exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 done? true
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: modified world
> [          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG
> Exchange processed and is continued routed synchronously for exchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 -> Exchange[Message: modified
> world]
> [          http-bio-9090-exec-8] Pipeline                       DEBUG
> Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 is
> continued being processed synchronously
> [          http-bio-9090-exec-8] Pipeline                       DEBUG
> ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 should continue
> routing: true
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: modified world
> [          http-bio-9090-exec-8] Pipeline                       DEBUG
> Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 >>>
> Exchange[Message: modified world]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: modified world
> [          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG
> Processing exchange for exchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 -> Exchange[Message: modified
> world]
> [          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG
> isRunAllowed() -> true (Run allowed if we are not stopped/stopping)
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: modified world
> [          http-bio-9090-exec-8] Tracer                         INFO
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 >>> (route2) setBody[Simple:
> modified ${body}] --> aggregate[true] <<< Pattern:InOut,
> Headers:{accept-language=en-US,en;q=0.5,
> CamelHttpUri=/attribution-web/reports/test, CamelHttpQuery=null,
> Content-Type=null, host=localhost:9090,
> breadcrumbId=Id-Lorem-Ipsum-w7016-64641-1449789898589-0-2,
> accept=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,
> CamelHttpServletRequest=org.apache.catalina.connector.RequestFacade@48fab4ad,
> CamelHttpServletResponse=org.apache.catalina.connector.ResponseFacade@3e4b53b4,
> accept-encoding=gzip, deflate, cache-control=max-age=0, CamelHttpMethod=GET,
> CamelHttpUrl=http://localhost:9090/attribution-web/reports/test,
> CamelServletContextPath=/test, CamelHttpPath=, user-agent=Mozilla/5.0
> (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0,
> connection=keep-alive}, BodyType:String, Body:modified world
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.Boolean -> boolean with value: false
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Using
> converter: StaticMethodTypeConverter: public static boolean
> org.apache.camel.converter.ObjectConverter.toBool(java.lang.Object) to
> convert [class java.lang.Boolean=>boolean]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.Boolean -> java.lang.String with value: true
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Using
> converter: StaticMethodTypeConverter: public static java.lang.String
> org.apache.camel.converter.ObjectConverter.toString(java.lang.Boolean) to
> convert [class java.lang.Boolean=>class java.lang.String]
> [          http-bio-9090-exec-8] AggregateProcessor             DEBUG
> onAggregation +++ start +++ with correlation key: true
> [          http-bio-9090-exec-8] AggregateProcessor             DEBUG
> onAggregation +++  end  +++ with correlation key: true
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: aggregated
> [          http-bio-9090-exec-8] AggregateProcessor             DEBUG
> Aggregation complete for correlation key true sending aggregated exchange:
> Exchange[Message: aggregated]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: aggregated
> [          http-bio-9090-exec-8] AggregateProcessor             DEBUG
> Processing aggregated exchange: Exchange[Message: aggregated]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: aggregated
> [          http-bio-9090-exec-8] DefaultUnitOfWork              DEBUG
> UnitOfWork created for ExchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 with Exchange[Message:
> aggregated]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: aggregated
> [          http-bio-9090-exec-8] EventHelper                    DEBUG
> Notification of event is disabled:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 exchange created:
> Exchange[Message: aggregated]
> [          http-bio-9090-exec-8] DefaultUnitOfWork              DEBUG Adding
> synchronization AggregateOnCompletion
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: aggregated
> [          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG
> Processing exchange for exchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 -> Exchange[Message:
> aggregated]
> [          http-bio-9090-exec-8] Pipeline                       DEBUG
> ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 should continue
> routing: true
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: aggregated
> [          http-bio-9090-exec-8] Pipeline                       DEBUG
> Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 >>>
> Exchange[Message: aggregated]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: aggregated
> [          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG
> Processing exchange for exchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 -> Exchange[Message:
> aggregated]
> [          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG
> isRunAllowed() -> true (Run allowed if we are not stopped/stopping)
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: aggregated
> [          http-bio-9090-exec-8] Tracer                         INFO
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 >>> (route2) aggregate[true]
> --> setBody[Simple: finito ${body}] <<< Pattern:InOut,
> Headers:{user-agent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0)
> Gecko/20100101 Firefox/42.0, CamelServletContextPath=/test,
> cache-control=max-age=0, accept-language=en-US,en;q=0.5,
> accept-encoding=gzip, deflate,
> CamelHttpUrl=http://localhost:9090/attribution-web/reports/test,
> CamelHttpPath=, CamelHttpUri=/attribution-web/reports/test,
> CamelHttpServletRequest=org.apache.catalina.connector.RequestFacade@48fab4ad,
> CamelHttpServletResponse=org.apache.catalina.connector.ResponseFacade@3e4b53b4,
> connection=keep-alive, host=localhost:9090, CamelHttpQuery=null,
> breadcrumbId=Id-Lorem-Ipsum-w7016-64641-1449789898589-0-2,
> accept=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,
> CamelHttpMethod=GET, Content-Type=null}, BodyType:String, Body:aggregated
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: finito
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: aggregated
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.Object with value: finito
> aggregated
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: finito
> aggregated
> [          http-bio-9090-exec-8] InstrumentationProcessor       DEBUG
> setBody: Recording duration: 0 millis for exchange: Exchange[Message: finito
> aggregated]
> [          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is
> exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 interrupted? false
> [          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is
> exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 done? true
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: finito
> aggregated
> [          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG
> Exchange processed and is continued routed synchronously for exchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 -> Exchange[Message: finito
> aggregated]
> [          http-bio-9090-exec-8] Pipeline                       DEBUG
> Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 is
> continued being processed synchronously
> [          http-bio-9090-exec-8] Pipeline                       DEBUG
> ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 should continue
> routing: true
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: finito
> aggregated
> [          http-bio-9090-exec-8] Pipeline                       DEBUG
> Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 >>>
> Exchange[Message: finito aggregated]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: finito
> aggregated
> [          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG
> Processing exchange for exchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 -> Exchange[Message: finito
> aggregated]
> [          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG
> isRunAllowed() -> true (Run allowed if we are not stopped/stopping)
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: finito
> aggregated
> [          http-bio-9090-exec-8] Tracer                         INFO
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 >>> (route2) setBody[Simple:
> finito ${body}] --> log[body] <<< Pattern:InOut,
> Headers:{user-agent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0)
> Gecko/20100101 Firefox/42.0, CamelServletContextPath=/test,
> cache-control=max-age=0, accept-language=en-US,en;q=0.5,
> accept-encoding=gzip, deflate,
> CamelHttpUrl=http://localhost:9090/attribution-web/reports/test,
> CamelHttpPath=, CamelHttpUri=/attribution-web/reports/test,
> CamelHttpServletRequest=org.apache.catalina.connector.RequestFacade@48fab4ad,
> CamelHttpServletResponse=org.apache.catalina.connector.ResponseFacade@3e4b53b4,
> connection=keep-alive, host=localhost:9090, CamelHttpQuery=null,
> breadcrumbId=Id-Lorem-Ipsum-w7016-64641-1449789898589-0-2,
> accept=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,
> CamelHttpMethod=GET, Content-Type=null}, BodyType:String, Body:finito
> aggregated
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: finito
> aggregated
> [          http-bio-9090-exec-8] route2                         INFO  finito
> aggregated
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: finito
> aggregated
> [          http-bio-9090-exec-8] InstrumentationProcessor       DEBUG log:
> Recording duration: 0 millis for exchange: Exchange[Message: finito
> aggregated]
> [          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is
> exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 interrupted? false
> [          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is
> exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 done? true
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: finito
> aggregated
> [          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG
> Exchange processed and is continued routed synchronously for exchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 -> Exchange[Message: finito
> aggregated]
> [          http-bio-9090-exec-8] Pipeline                       DEBUG
> Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 is
> continued being processed synchronously
> [          http-bio-9090-exec-8] Pipeline                       DEBUG
> ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 should continue
> routing: false
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: finito
> aggregated
> [          http-bio-9090-exec-8] Pipeline                       DEBUG
> Processing complete for exchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 >>> Exchange[Message: finito
> aggregated]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: finito
> aggregated
> [          http-bio-9090-exec-8] DefaultUnitOfWork              DEBUG
> UnitOfWork done for ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5
> with Exchange[Message: finito aggregated]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: finito
> aggregated
> [          http-bio-9090-exec-8] DefaultUnitOfWork              DEBUG
> Invoking synchronization.onComplete: AggregateOnCompletion with
> Exchange[Message: finito aggregated]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: finito
> aggregated
> [          http-bio-9090-exec-8] AggregateProcessor             DEBUG
> Aggregated exchange onComplete: Exchange[Message: finito aggregated]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: finito
> aggregated
> [          http-bio-9090-exec-8] EventHelper                    DEBUG
> Notification of event is disabled:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 exchange completed:
> Exchange[Message: finito aggregated]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: finito
> aggregated
> [          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG
> Exchange processed and is continued routed synchronously for exchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-5 -> Exchange[Message: finito
> aggregated]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: finito
> aggregated
> [          http-bio-9090-exec-8] AggregateProcessor             DEBUG
> Processing aggregated exchange: Exchange[Message: finito aggregated]
> complete.
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.Boolean -> boolean with value: false
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Using
> converter: StaticMethodTypeConverter: public static boolean
> org.apache.camel.converter.ObjectConverter.toBool(java.lang.Object) to
> convert [class java.lang.Boolean=>boolean]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: modified world
> [          http-bio-9090-exec-8] InstrumentationProcessor       DEBUG
> aggregate: Recording duration: 4 millis for exchange: Exchange[Message:
> modified world]
> [          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is
> exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 interrupted? false
> [          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is
> exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 done? true
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: modified world
> [          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG
> Exchange processed and is continued routed synchronously for exchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 -> Exchange[Message: modified
> world]
> [          http-bio-9090-exec-8] Pipeline                       DEBUG
> Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 is
> continued being processed synchronously
> [          http-bio-9090-exec-8] Pipeline                       DEBUG
> ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 should continue
> routing: false
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: modified world
> [          http-bio-9090-exec-8] Pipeline                       DEBUG
> Processing complete for exchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 >>> Exchange[Message: modified
> world]
> [          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is
> exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 interrupted? false
> [          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is
> exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 done? true
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: modified world
> [          http-bio-9090-exec-8] DefaultUnitOfWork              DEBUG
> UnitOfWork done for ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4
> with Exchange[Message: modified world]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: modified world
> [          http-bio-9090-exec-8] EventHelper                    DEBUG
> Notification of event is disabled:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 exchange completed:
> Exchange[Message: modified world]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: modified world
> [          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG
> Exchange processed and is continued routed synchronously for exchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 -> Exchange[Message: modified
> world]
> [          http-bio-9090-exec-8] MulticastProcessor             DEBUG
> Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-4 is
> continued being processed synchronously
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: modified world
> [          http-bio-9090-exec-8] MulticastProcessor             DEBUG
> Sequential processing complete for number 1 exchange: Exchange[Message:
> modified world]
> [          http-bio-9090-exec-8] MulticastProcessor             DEBUG Done
> sequential processing 2 exchanges
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: hello
> world
> [          http-bio-9090-exec-8] InstrumentationProcessor       DEBUG split:
> Recording duration: 11 millis for exchange: Exchange[Message: hello
> world]
> [          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is
> exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 interrupted? false
> [          http-bio-9090-exec-8] DefaultErrorHandler            DEBUG Is
> exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 done? true
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: hello
> world
> [          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG
> Exchange processed and is continued routed synchronously for exchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 -> Exchange[Message: hello
> world]
> [          http-bio-9090-exec-8] Pipeline                       DEBUG
> Processing exchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 is
> continued being processed synchronously
> [          http-bio-9090-exec-8] Pipeline                       DEBUG
> ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 should continue
> routing: false
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: hello
> world
> [          http-bio-9090-exec-8] Pipeline                       DEBUG
> Processing complete for exchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 >>> Exchange[Message: hello
> world]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: hello
> world
> [          http-bio-9090-exec-8] DefaultUnitOfWork              DEBUG
> UnitOfWork afterRouteL: route2 for ExchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 with Exchange[Message: hello
> world]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: hello
> world
> [          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG route:
> Recording duration: 19 millis for exchange: Exchange[Message: hello
> world]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: hello
> world
> [          http-bio-9090-exec-8] CamelInternalProcessor         DEBUG
> Exchange processed and is continued routed synchronously for exchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 -> Exchange[Message: hello
> world]
> [          http-bio-9090-exec-8] CamelHttpTransportServlet      DEBUG
> Writing response for exchangeId:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value:
> text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: Mozilla/5.0
> (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: chunked
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting org.apache.catalina.connector.RequestFacade -> java.lang.String
> with value: org.apache.catalina.connector.RequestFacade@48fab4ad
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Fallback type converter
> org.apache.camel.impl.converter.ToStringTypeConverter@49803f68 converted
> type from: java.lang.String to: org.apache.catalina.connector.RequestFacade
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: max-age=0
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: GET
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting org.apache.catalina.connector.ResponseFacade -> java.lang.String
> with value: org.apache.catalina.connector.ResponseFacade@3e4b53b4
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Fallback type converter
> org.apache.camel.impl.converter.ToStringTypeConverter@49803f68 converted
> type from: java.lang.String to: org.apache.catalina.connector.ResponseFacade
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: keep-alive
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value:
> /attribution-web/reports/test
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: gzip, deflate
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: /test
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-2
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value:
> http://localhost:9090/attribution-web/reports/test
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: localhost:9090
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: en-US,en;q=0.5
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.io.InputStream with value: hello
> world
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG Using
> converter: StaticMethodTypeConverter: public static java.io.InputStream
> org.apache.camel.converter.IOConverter.toInputStream(java.lang.String,org.apache.camel.Exchange)
> throws java.io.IOException to convert [class java.lang.String=>class
> java.io.InputStream]
> [          http-bio-9090-exec-8] DefaultHttpBinding             DEBUG
> Streaming response in chunked mode with buffer size 8192
> [          http-bio-9090-exec-8] IOHelper                       DEBUG
> Copying InputStream: java.io.ByteArrayInputStream@1476c28f -> OutputStream:
> org.apache.catalina.connector.CoyoteOutputStream@214a1a5e with buffer: 11
> and flush on each write true
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: hello
> world
> [          http-bio-9090-exec-8] DefaultUnitOfWork              DEBUG
> UnitOfWork done for ExchangeId: Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1
> with Exchange[Message: hello
> world]
> [          http-bio-9090-exec-8] DefaultTypeConverter           DEBUG
> Converting java.lang.String -> java.lang.String with value: hello
> world
> [          http-bio-9090-exec-8] EventHelper                    DEBUG
> Notification of event is disabled:
> Id-Lorem-Ipsum-w7016-64641-1449789898589-0-1 exchange completed:
> Exchange[Message: hello
> world]
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/CamelHttpTransportServlet-split-output-not-updated-tp5774971.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



--
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2