Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3765B200CD0 for ; Mon, 10 Jul 2017 12:14:03 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 35FB116601C; Mon, 10 Jul 2017 10:14:03 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7B52B166011 for ; Mon, 10 Jul 2017 12:14:02 +0200 (CEST) Received: (qmail 35375 invoked by uid 500); 10 Jul 2017 10:14:01 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 35302 invoked by uid 99); 10 Jul 2017 10:14:01 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jul 2017 10:14:01 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 1D03E19243E for ; Mon, 10 Jul 2017 10:14:00 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id nqEGwNOz4-TP for ; Mon, 10 Jul 2017 10:13:59 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id D594F626B6 for ; Mon, 10 Jul 2017 09:26:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 6D966E0059 for ; Mon, 10 Jul 2017 09:26:02 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 3A2A92469C for ; Mon, 10 Jul 2017 09:26:00 +0000 (UTC) Date: Mon, 10 Jul 2017 09:26:00 +0000 (UTC) From: "Oliver Wulff (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-5033) Provide a Camel EventNotifier collector MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 10 Jul 2017 10:14:03 -0000 [ https://issues.apache.org/jira/browse/KARAF-5033?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1608= 0059#comment-16080059 ]=20 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-conte= xts 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 behavio= ur when the EventNotifier should be active for a context/route without havi= ng to override the complete EventNotifier: public boolean isEnabled(EventObject event) For all events (exchange, context, route) we should provide an interface wh= ere the user can enrich the event by a Map with some data (ex. business con= text. 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=C3=A9 > Assignee: Jean-Baptiste Onofr=C3=A9 > Fix For: decanter-1.4.0 > > > Similar to the Camel Tracer collector, we could provide a Camel EventNoti= fier collector receiving Camel events (like Exchange created, etc) as descr= ibed here http://camel.apache.org/eventnotifier-to-log-details-about-all-se= nt-exchanges.html -- This message was sent by Atlassian JIRA (v6.4.14#64029)