From 2f740b3658d49ede107cd1d625e914b6c0fafe1e Mon Sep 17 00:00:00 2001 From: Andreas Jacobsen Date: Wed, 10 Jul 2013 15:44:58 +0200 Subject: [PATCH] Improved javadoc for expectedMessageCount. --- .../java/org/apache/camel/component/mock/MockEndpoint.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/camel-core/src/main/java/org/apache/camel/component/mock/MockEndpoint.java b/camel-core/src/main/java/org/apache/camel/component/mock/MockEndpoint.java index 9d27541244699..78bd493ec4dc4 100644 --- a/camel-core/src/main/java/org/apache/camel/component/mock/MockEndpoint.java +++ b/camel-core/src/main/java/org/apache/camel/component/mock/MockEndpoint.java @@ -434,8 +434,12 @@ public void assertIsNotSatisfied(long timeoutForEmptyEndpoints) throws Interrupt * Specifies the expected number of message exchanges that should be * received by this endpoint * + * If you want to assert that exactly n messages arrives to this mock + * endpoint, then see also the {@link #setAssertPeriod(long)} method for further details. + * * @param expectedCount the number of message exchanges that should be * expected by this endpoint + * @see #setAssertPeriod(long) */ public void expectedMessageCount(int expectedCount) { setExpectedMessageCount(expectedCount);