Hello,

I am facing a problem when it comes to how CXF LoggingInInterceptor is
logging every webservice call in my camel route.

For each webservice call i do, the reply received from the webservice is
logged in my console like this

*10:38:04,877 | SAMPLE | BLRMSADASHIVA | INFO  | 1-133 |
o.a.c.s.F.F.DefaultSEI           |   | Inbound Message
----------------------------
ID: 1
Response-Code: 200
Encoding: UTF-8
Content-Type: text/xml;charset=utf-8
Headers: {content-type=[text/xml;charset=utf-8], Date=[Fri, 19 Apr 2013
10:38:09 GMT], Server=[Apache-Coyote/1.1], transfer-encoding=[chunked]}
Payload:
*
After the  call to the webservice my processing is finished and hence i
close the camel route using a shutdown strategy. When the route re-runs
later anytime the logging happens as below

*10:38:04,877 | SAMPLE | BLRMSADASHIVA | INFO  | 1-133 |
o.a.c.s.F.F.DefaultSEI           |   | Inbound Message
----------------------------
ID: 2
Response-Code: 200
Encoding: UTF-8
Content-Type: text/xml;charset=utf-8
Headers: {content-type=[text/xml;charset=utf-8], Date=[Fri, 19 Apr 2013
10:38:09 GMT], Server=[Apache-Coyote/1.1], transfer-encoding=[chunked]}
Payload: *

The ID should start again from 1 but it goes on to be incremental. 







--
View this message in context: 
http://camel.465427.n5.nabble.com/CXF-LoggingInInterceptor-logs-ID-incrementally-tp5731141.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to