Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 848EB10410 for ; Mon, 23 Sep 2013 11:17:34 +0000 (UTC) Received: (qmail 25551 invoked by uid 500); 23 Sep 2013 11:12:40 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 25517 invoked by uid 500); 23 Sep 2013 11:12:37 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 25486 invoked by uid 99); 23 Sep 2013 11:12:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Sep 2013 11:12:29 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ronny.aerts@intris.be designates 213.199.154.81 as permitted sender) Received: from [213.199.154.81] (HELO emea01-am1-obe.outbound.protection.outlook.com) (213.199.154.81) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Sep 2013 11:12:23 +0000 Received: from DB3PR05MB089.eurprd05.prod.outlook.com (10.255.251.144) by DB3PR05MB092.eurprd05.prod.outlook.com (10.255.251.149) with Microsoft SMTP Server (TLS) id 15.0.775.9; Mon, 23 Sep 2013 11:11:56 +0000 Received: from DB3PR05MB089.eurprd05.prod.outlook.com ([169.254.2.195]) by DB3PR05MB089.eurprd05.prod.outlook.com ([169.254.2.195]) with mapi id 15.00.0775.005; Mon, 23 Sep 2013 11:11:56 +0000 From: Ronny Aerts To: "users@camel.apache.org" Subject: using imap or imaps with triggered reader instead of poller Thread-Topic: using imap or imaps with triggered reader instead of poller Thread-Index: Ac64TODsaDJ6rw9ATeSnXISJpgM4Ew== Date: Mon, 23 Sep 2013 11:11:55 +0000 Message-ID: <24fc5a8cc9e24849bfef1f86766fd246@DB3PR05MB089.eurprd05.prod.outlook.com> Accept-Language: en-US, nl-BE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [213.219.147.68] x-forefront-prvs: 09781D4C35 x-forefront-antispam-report: SFV:NSPM;SFS:(199002)(189002)(38564003)(71364002)(74662001)(65816001)(81342001)(31966008)(54316002)(83072001)(47976001)(56776001)(80022001)(80976001)(74502001)(74706001)(83322001)(74876001)(47446002)(19580395003)(81542001)(63696002)(18206015023)(19580405001)(15975445006)(47736001)(66066001)(74482001)(53806001)(15202345003)(81686001)(56816003)(16236675002)(69226001)(59766001)(74316001)(77982001)(4396001)(76482001)(77096001)(81816001)(54356001)(33646001)(46102001)(76576001)(76786001)(76796001)(79102001)(51856001)(50986001)(74366001)(76176001)(49866001)(24736002);DIR:OUT;SFP:;SCL:1;SRVR:DB3PR05MB092;H:DB3PR05MB089.eurprd05.prod.outlook.com;CLIP:213.219.147.68;FPR:;RD:InfoNoRecords;A:0;MX:1;LANG:en; Content-Type: multipart/alternative; boundary="_000_24fc5a8cc9e24849bfef1f86766fd246DB3PR05MB089eurprd05pro_" MIME-Version: 1.0 X-OriginatorOrg: intris.be X-Virus-Checked: Checked by ClamAV on apache.org --_000_24fc5a8cc9e24849bfef1f86766fd246DB3PR05MB089eurprd05pro_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, De standard camel mail reader uses the MailComponent component. The consume= r endpoint of this component is based on the ScheduledBatchPollingConsumer = which works fine but I'm not a lover of polling on the one hand and the ima= p and imaps protocol support triggered mail reading on the other hand. On t= he fly e-mails can be retrieved by using the javax.mail.event.MessageCountL= istener functionality. Is this triggered way of working available in camel = somehow? I search thru all camel sources but didn't find any MessageCountLi= stener references. -- kind regards, Ronny Aerts - Intris nv R&D Software Integration Architect [http://live.easyfairs.com/fileadmin/groups/6/TRANSPORT_LOGISTICS2013/468_6= 0_TL_Ant_BE_2013_ST_ALG_04.gif] Registreer hier INTRIS NV Wapenstilstandlaan 47 B-2600 Berchem Tel. +32 3 326 50 75 Fax +32 3 326 42 23 www.intris-group.com [http://www.intris-= group.com/documents/graphics/logos-partners/kmo-portefeuille.jpg] Recupereer 50% van uw opleidings- en advieskosten via de kmo-portefeuille Gelieve nieuwe of bestaande vragen (adhv het requestnummer) steeds te stell= en via support@intris.be Uw requestnummer (rq), verband houdend met uw vraag, vindt u terug in het s= ubject van deze mail. DISCLAIMER This is an e-mail from Intris. The information contained in this communicat= ion is intended solely for use by the individual or entity to whom it is ad= dressed. Use of this communication by others is prohibited. If the e-mail message wa= s sent to you by mistake, please notify support@intris.be, destroy it without reading, using, copying or disclosing its cont= ents to any other person. We accept no liability for damage related to data and/or documents which ar= e communicated by electronic mail. --_000_24fc5a8cc9e24849bfef1f86766fd246DB3PR05MB089eurprd05pro_--