karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Wulff (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-5033) Provide a Camel EventNotifier collector
Date Tue, 21 Mar 2017 15:51:41 GMT

    [ https://issues.apache.org/jira/browse/KARAF-5033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15934788#comment-15934788

Oliver Wulff commented on KARAF-5033:

I'm looking into this feature right now but I also need to add some application related context
information to this event.
An option could be to use Camel headers or properties but then you have to write the headers
and properties as a list instead of List.toString():

data.put("properties", exchange.getProperties().isEmpty() ? null : exchange.getProperties().toString());

I think we should change this for camel-tracer as well - or provide a configuration option
for backwards compatibility.

> Provide a Camel EventNotifier collector
> ---------------------------------------
>                 Key: KARAF-5033
>                 URL: https://issues.apache.org/jira/browse/KARAF-5033
>             Project: Karaf
>          Issue Type: New Feature
>          Components: decanter
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
> Similar to the Camel Tracer collector, we could provide a Camel EventNotifier collector
receiving Camel events (like Exchange created, etc) as described here http://camel.apache.org/eventnotifier-to-log-details-about-all-sent-exchanges.html

This message was sent by Atlassian JIRA

View raw message