Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A82B89E76 for ; Sun, 23 Oct 2011 08:24:59 +0000 (UTC) Received: (qmail 44005 invoked by uid 500); 23 Oct 2011 08:24:58 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 43925 invoked by uid 500); 23 Oct 2011 08:24:57 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 43892 invoked by uid 99); 23 Oct 2011 08:24:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Oct 2011 08:24:54 +0000 X-ASF-Spam-Status: No, hits=-1999.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD,URI_HEX X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Oct 2011 08:24:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 174B5317CF2 for ; Sun, 23 Oct 2011 08:22:32 +0000 (UTC) Date: Sun, 23 Oct 2011 08:22:32 +0000 (UTC) From: "Claus Ibsen (Assigned) (JIRA)" To: dev@camel.apache.org Message-ID: <1121164527.6359.1319358152096.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1878215295.20081.1318845851753.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Assigned] (CAMEL-4551) NotifyBuilder wereSentTo condition fires too eagerly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CAMEL-4551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen reassigned CAMEL-4551: ---------------------------------- Assignee: Claus Ibsen > NotifyBuilder wereSentTo condition fires too eagerly > ---------------------------------------------------- > > Key: CAMEL-4551 > URL: https://issues.apache.org/jira/browse/CAMEL-4551 > Project: Camel > Issue Type: Improvement > Components: camel-core > Affects Versions: 2.9.0 > Reporter: Jason Parr > Assignee: Claus Ibsen > Fix For: 2.9.0 > > > Problem is: > NotifyBuilder notify = new NotifyBuilder(context) > .whenDone(2).wereSentTo("mock:bar"); > The wereSentTo condition will fire after first message gets to endpoint "mock:bar", so either needs to take preceding whenDone into account, or wereSentTo needs to have a count condition added to it's method signature. > See nabble trail for full details: > http://camel.465427.n5.nabble.com/NotifyBuilder-condition-fails-to-match-on-an-out-activemq-endpoint-tp4689038p4867857.html -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira