Source:
<code>public static String buildMessage(AMQP.BasicProperties properties, byte[] body, MessageContext msgContext) throws AxisFault { String amqpCorrelationID = properties.getCorrelationId(); if (amqpCorrelationID != null && amqpCorrelationID.length() > 0) { msgContext.setProperty(RabbitMQConstants.CORRELATION_ID, amqpCorrelationID); } else { msgContext.setProperty(RabbitMQConstants.CORRELATION_ID, properties.getMessageId()); } String contentType = properties.getContentType(); if (contentType == null) { contentType = RabbitMQConstants.DEFAULT_CONTENT_TYPE; } msgContext.setProperty(RabbitMQConstants.CONTENT_TYPE, contentType); if (properties.getContentEncoding() != null) { msgContext.setProperty(RabbitMQConstants.CONTENT_ENCODING, properties.getContentEncoding()); } int index = contentType.indexOf(';'); String type = index > 0 ? contentType.substring(0, index) : contentType; Builder builder = BuilderUtil.getBuilderFromSelector(type, msgContext); if (builder == null) { if (log.isDebugEnabled()) { log.debug("No message builder found for type '" + type + "'. Falling back to SOAP."); } builder = new SOAPBuilder(); } OMElement documentElement; String charSetEnc = null; try { charSetEnc = new ContentType(contentType).getParameter("charset"); } catch (ParseException ex) { <START> log.debug("Parse error", ex); <END> } msgContext.setProperty(Constants.Configuration.CHARACTER_SET_ENCODING, charSetEnc); documentElement = builder.processDocument( new ByteArrayInputStream(body), contentType, msgContext); msgContext.setEnvelope(TransportUtils.createSOAPEnvelope(documentElement)); return contentType; }</code><technical_language>this error log</technical_language>

Target:
public static String buildMessage(AMQP.BasicProperties properties, byte[] body, MessageContext msgContext) throws AxisFault { String amqpCorrelationID = properties.getCorrelationId(); if (amqpCorrelationID != null && amqpCorrelationID.length() > 0) { msgContext.setProperty(RabbitMQConstants.CORRELATION_ID, amqpCorrelationID); } else { msgContext.setProperty(RabbitMQConstants.CORRELATION_ID, properties.getMessageId()); } String contentType = properties.getContentType(); if (contentType == null) { contentType = RabbitMQConstants.DEFAULT_CONTENT_TYPE; } msgContext.setProperty(RabbitMQConstants.CONTENT_TYPE, contentType); if (properties.getContentEncoding() != null) { msgContext.setProperty(RabbitMQConstants.CONTENT_ENCODING, properties.getContentEncoding()); } int index = contentType.indexOf(';'); String type = index > 0 ? contentType.substring(0, index) : contentType; Builder builder = BuilderUtil.getBuilderFromSelector(type, msgContext); if (builder == null) { if (log.isDebugEnabled()) { log.debug("No message builder found for type '" + type + "'. Falling back to SOAP."); } builder = new SOAPBuilder(); } OMElement documentElement; String charSetEnc = null; try { charSetEnc = new ContentType(contentType).getParameter("charset"); } catch (ParseException ex) { log.error("Parse error", ex); } msgContext.setProperty(Constants.Configuration.CHARACTER_SET_ENCODING, charSetEnc); documentElement = builder.processDocument( new ByteArrayInputStream(body), contentType, msgContext); msgContext.setEnvelope(TransportUtils.createSOAPEnvelope(documentElement)); return contentType; }