Updated Branches: refs/heads/camel-2.10.x 49e1fa7ae -> 412862992
CAMEL-6408 - cxf endpoint should log the exception when failing to extract the root element name Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/41286299 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/41286299 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/41286299 Branch: refs/heads/camel-2.10.x Commit: 412862992e215ebdad8aaa2f217b6c91074e6f6d Parents: 49e1fa7 Author: Akitoshi Yoshida <a...@apache.org> Authored: Mon Jul 15 16:56:04 2013 +0200 Committer: Akitoshi Yoshida <a...@apache.org> Committed: Mon Jul 15 18:00:21 2013 +0200 ---------------------------------------------------------------------- .../src/main/java/org/apache/camel/component/cxf/CxfEndpoint.java | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/41286299/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/CxfEndpoint.java ---------------------------------------------------------------------- diff --git a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/CxfEndpoint.java b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/CxfEndpoint.java index bed2035..6d8379b 100644 --- a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/CxfEndpoint.java +++ b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/CxfEndpoint.java @@ -948,6 +948,8 @@ public class CxfEndpoint extends DefaultEndpoint implements HeaderFilterStrategy } } catch (XMLStreamException e) { //ignore + LOG.warn("Error finding the start element.", e); + return null; } return r.getLocalName(); }