You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Stu Churchill (JIRA)" <ji...@apache.org> on 2011/05/26 18:41:47 UTC

[jira] [Created] (CAMEL-4018) Incorrect annotation parameter in examples

Incorrect annotation parameter in examples
------------------------------------------

                 Key: CAMEL-4018
                 URL: https://issues.apache.org/jira/browse/CAMEL-4018
             Project: Camel
          Issue Type: Bug
          Components: documentation
            Reporter: Stu Churchill
            Priority: Minor


In the "Parameter Binding Annotations" page at http://camel.apache.org/parameter-binding-annotations.html, a number of the examples include lines like;

{{public void doSomething(@Header(name = "JMSCorrelationID") String correlationID, @Body String body) {}}

The correct annotation parameter for @Header is actually "value", rather than "name".

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CAMEL-4018) Incorrect annotation parameter in examples

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang resolved CAMEL-4018.
---------------------------------

    Resolution: Fixed

Updated the wiki page.

> Incorrect annotation parameter in examples
> ------------------------------------------
>
>                 Key: CAMEL-4018
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4018
>             Project: Camel
>          Issue Type: Bug
>          Components: documentation
>            Reporter: Stu Churchill
>            Assignee: Willem Jiang
>            Priority: Minor
>
> In the "Parameter Binding Annotations" page at http://camel.apache.org/parameter-binding-annotations.html, a number of the examples include lines like;
> {{public void doSomething(@Header(name = "JMSCorrelationID") String correlationID, @Body String body) {}}
> The correct annotation parameter for @Header is actually "value", rather than "name".

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-4018) Incorrect annotation parameter in examples

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13040018#comment-13040018 ] 

Willem Jiang commented on CAMEL-4018:
-------------------------------------

Hi Stu

After digging the code change log, I find this issue is related to CAMEL-1378 which was fixed two years ago.
I just updated the wiki page for it, and thanks for your bug report.


> Incorrect annotation parameter in examples
> ------------------------------------------
>
>                 Key: CAMEL-4018
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4018
>             Project: Camel
>          Issue Type: Bug
>          Components: documentation
>            Reporter: Stu Churchill
>            Assignee: Willem Jiang
>            Priority: Minor
>
> In the "Parameter Binding Annotations" page at http://camel.apache.org/parameter-binding-annotations.html, a number of the examples include lines like;
> {{public void doSomething(@Header(name = "JMSCorrelationID") String correlationID, @Body String body) {}}
> The correct annotation parameter for @Header is actually "value", rather than "name".

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (CAMEL-4018) Incorrect annotation parameter in examples

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang reassigned CAMEL-4018:
-----------------------------------

    Assignee: Willem Jiang

> Incorrect annotation parameter in examples
> ------------------------------------------
>
>                 Key: CAMEL-4018
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4018
>             Project: Camel
>          Issue Type: Bug
>          Components: documentation
>            Reporter: Stu Churchill
>            Assignee: Willem Jiang
>            Priority: Minor
>
> In the "Parameter Binding Annotations" page at http://camel.apache.org/parameter-binding-annotations.html, a number of the examples include lines like;
> {{public void doSomething(@Header(name = "JMSCorrelationID") String correlationID, @Body String body) {}}
> The correct annotation parameter for @Header is actually "value", rather than "name".

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira