for (Map.Entry<String, Object> header : headers.entrySet()) { // filter header values. Object value = getValidRabbitMQHeaderValue(header.getValue()); if (value != null) { filteredHeaders.put(header.getKey(), header.getValue()); } else if (log.isDebugEnabled()) { log.debug("Ignoring header: {} of class: {} with value: {}", new Object[]{header.getKey(), header.getValue().getClass().getName(), header.getValue()}); } }
A null ptr exception occurs presumably because of this ' header.getValue().getClass().getName() ' -- View this message in context: http://camel.465427.n5.nabble.com/Bug-in-RabbitMQProducer-tp5753248.html Sent from the Camel Development mailing list archive at Nabble.com.