You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Oliver Wulff (JIRA)" <ji...@apache.org> on 2017/07/10 09:26:00 UTC
[jira] [Commented] (KARAF-5033) Provide a Camel EventNotifier
collector
[ https://issues.apache.org/jira/browse/KARAF-5033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16080059#comment-16080059 ]
Oliver Wulff commented on KARAF-5033:
-------------------------------------
The EventNotifier is enabled by default for all camel contexts whereas the camel tracer can be swichted on/off on a per context level.
Therefore, we need the option to configure (etc file) for which camel-contexts and routes the EventNotifier should be active. Maybe just an include or exclude list for camel-context and camel-routes.
We should provide an interface where a user can customize the above behaviour when the EventNotifier should be active for a context/route without having to override the complete EventNotifier:
public boolean isEnabled(EventObject event)
For all events (exchange, context, route) we should provide an interface where the user can enrich the event by a Map with some data (ex. business context.
public Map addMetadata(Exchange exchange)
public Map addMetadata(Context context)
public Map addMetadata(Route route)
public Map addMetadata(Service service)
> 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é
> Fix For: decanter-1.4.0
>
>
> 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
(v6.4.14#64029)