You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Matt Brinkman <mj...@gmail.com> on 2016/08/27 13:44:40 UTC

NullPointerException in MetricsMessageHistoryFactory.createName()

I am using the standard MetricsMessageHistoryFactory (2.17.0). 

Whenever an onException() route triggers, a NullPointerException occurs in
MetricsMesasgeHistoryFactory.createName() line 138, as it appears that the
onException()  is not correctly setting a routeId.

Contrary to the documentation
(http://camel.apache.org/metrics-component.html), it appears that the
namePattern is not a configurable option. Is there any way to use the
metrics history along with onException without doubling the number of
exceptions?





--
View this message in context: http://camel.465427.n5.nabble.com/NullPointerException-in-MetricsMessageHistoryFactory-createName-tp5786813.html
Sent from the Camel - Users mailing list archive at Nabble.com.