camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Parr (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-4551) NotifyBuilder wereSentTo condition fires too eagerly
Date Mon, 17 Oct 2011 10:04:11 GMT
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
             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

        

Mime
View raw message