camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Matèrne (JIRA) <j...@apache.org>
Subject [jira] [Created] (CAMEL-6036) Comment doesnt fit to code in code snippet
Date Mon, 04 Feb 2013 20:10:14 GMT
Jan Matèrne created CAMEL-6036:
----------------------------------

             Summary: Comment doesnt fit to code in code snippet
                 Key: CAMEL-6036
                 URL: https://issues.apache.org/jira/browse/CAMEL-6036
             Project: Camel
          Issue Type: Bug
            Reporter: Jan Matèrne
            Priority: Trivial


The comment does not fit to the code in camel/trunk/tests/camel-itest/src/test/java/org/apache/camel/itest/async/HttpAsyncDslTest.java

The "e1" snippet is part of the documentation (http://camel.apache.org/async.html), so it
should be fixed.

Code:
// do some CPU heavy processing of the message (we simulate and delay just 500 ms)
.unmarshal(mySecureDataFormat).delay(1000).to("bean:handleOrder").to("mock:order");
// END SNIPPET: e1

The delay is 1000, but the comment says 500ms.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message