camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-6036) Comment doesnt fit to code in code snippet
Date Tue, 05 Feb 2013 02:19:11 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-6036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Willem Jiang resolved CAMEL-6036.
---------------------------------

    Resolution: Fixed

Fix the typo in the code base. The page should be OK a while later.
                
> 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
>            Assignee: Willem Jiang
>            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