You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by bo...@apache.org on 2007/09/24 20:54:26 UTC
svn commit: r578900 -
/ode/branches/APACHE_ODE_1.1/jbi/src/main/java/org/apache/ode/jbi/msgmap/ServiceMixMapper.java
Author: boisvert
Date: Mon Sep 24 11:54:24 2007
New Revision: 578900
URL: http://svn.apache.org/viewvc?rev=578900&view=rev
Log:
Message conversion exception is logged at WARN level
Modified:
ode/branches/APACHE_ODE_1.1/jbi/src/main/java/org/apache/ode/jbi/msgmap/ServiceMixMapper.java
Modified: ode/branches/APACHE_ODE_1.1/jbi/src/main/java/org/apache/ode/jbi/msgmap/ServiceMixMapper.java
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.1/jbi/src/main/java/org/apache/ode/jbi/msgmap/ServiceMixMapper.java?rev=578900&r1=578899&r2=578900&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.1/jbi/src/main/java/org/apache/ode/jbi/msgmap/ServiceMixMapper.java (original)
+++ ode/branches/APACHE_ODE_1.1/jbi/src/main/java/org/apache/ode/jbi/msgmap/ServiceMixMapper.java Mon Sep 24 11:54:24 2007
@@ -39,7 +39,7 @@
* Message mapper for dealing with the degenerate messages that servicemix components such as servicemix-http provide. These
* messages are not normalized and hence do not conform to the JBI specification. They are in fact whatever the SOAP body element
* happens to be. This mapper will make a reasonable attempt to handle these messages, which means don't count on it working.
- *
+ *
*/
public class ServiceMixMapper extends BaseXmlMapper implements Mapper {
@@ -59,7 +59,7 @@
__log.debug("isRecognized() message: " + prettyPrint(msg));
}
} catch (MessageTranslationException e) {
- __log.debug("Unable to parse message: ", e);
+ __log.warn("Unable to parse message: ", e);
return Recognized.FALSE;
}
@@ -130,7 +130,7 @@
throw new MessageTranslationException("Message for fault \"" + fault + "\" does not contain an element part.");
if (firstPartEl == null) {
- // Oooops, our assumption did not pan out; we'll do our best i.e. create empty content.
+ // Oooops, our assumption did not pan out; we'll do our best i.e. create empty content.
__log.warn("Proceessing fault \"" + fault + "\" with empty content (check your BPEL).");
Document doc = newDocument();