Updated Branches: refs/heads/master 35c4f8296 -> 48f2ff131
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/48f2ff13 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/48f2ff13 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/48f2ff13 Branch: refs/heads/master Commit: 48f2ff1317488cc038d0d73d57cda09946d361fd Parents: 35c4f82 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 16:56:04 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/48f2ff13/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 0eadfb8..0d722ef 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 @@ -974,6 +974,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(); }