[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Route statistics not updated on Exception


I have a problem with route statistics not being updated whenever my
Camel-CXF consumer throws Exception, be it SecurityException or
ValidatonException. Route-list command shows still the same number of
incoming messages. Nothing is in failed, inflight nor in total. CXF returns
correct SOAP Fault back. Is it because message doesn't go through <from>
element and thus Exchange cannot be created?

karaf@trun()> route-list
 Context           Route                             Status
Total #       Failed #     Inflight #   Uptime
 -------           -----                             ------
-------       --------     ----------   ------
context      ws-listener   Started                   0              0
        0   13 minutes

code snippet:

<cxfEndpoint id="myCXF"...>

<camelContext xmlns="";
streamCache="true" id="context" trace="false"
useMDCLogging="false" xmlns:soap="

<route id="ws-listener">
 <from uri="cxf:bean:myCXF" />
 <....some logic..>

Camel version: 2.17.6

Operating system: Linux Ubuntu 16.04, Windows 8
Java 8, various versions

Thank you,

( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-camel-users/msg03465.html on line 106
Call Stack
10.0007363544{main}( ).../msg03465.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-camel-users/msg03465.html on line 106
Call Stack
10.0007363544{main}( ).../msg03465.html:0