camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Bug in RabbitMQProducer
Date Thu, 03 Jul 2014 05:53:38 GMT
Hi

Ah yeah only if you have debug logging enabled. Thanks for spotting
this. I logged a ticket to get this fixed
https://issues.apache.org/jira/browse/CAMEL-7571

On Thu, Jul 3, 2014 at 7:12 AM, md97212 <md@qwizics.com> wrote:
>       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.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Mime
View raw message