You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2011/05/11 11:15:47 UTC

[jira] [Created] (CAMEL-3961) improving methods calls in bean component

improving methods calls in bean component
-----------------------------------------

                 Key: CAMEL-3961
                 URL: https://issues.apache.org/jira/browse/CAMEL-3961
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: Romain Manni-Bucau


To invoke a bean taking multiple parameters we need to create an array. It is not really fluent and it could be improved.

Claus suggested to modify the bean uri to provide parameters in a camel language.

Example:
from(...)
  .bean(XXX.class, "myMethod(${header.myHeader}, ${body}")
  .to(...).

This cool be a really cool and useful feature.

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

[jira] [Updated] (CAMEL-3961) improving methods calls in bean component

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

Claus Ibsen updated CAMEL-3961:
-------------------------------

    Fix Version/s: Future

> improving methods calls in bean component
> -----------------------------------------
>
>                 Key: CAMEL-3961
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3961
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Romain Manni-Bucau
>             Fix For: Future
>
>
> To invoke a bean taking multiple parameters we need to create an array. It is not really fluent and it could be improved.
> Claus suggested to modify the bean uri to provide parameters in a camel language.
> Example:
> from(...)
>   .bean(XXX.class, "myMethod(${header.myHeader}, ${body}")
>   .to(...).
> This cool be a really cool and useful feature.

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

[jira] [Commented] (CAMEL-3961) improving methods calls in bean component

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

Claus Ibsen commented on CAMEL-3961:
------------------------------------

This page will have more details
http://camel.apache.org/bean-binding.html

> improving methods calls in bean component
> -----------------------------------------
>
>                 Key: CAMEL-3961
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3961
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Romain Manni-Bucau
>            Assignee: Claus Ibsen
>             Fix For: 2.9.0
>
>
> To invoke a bean taking multiple parameters we need to create an array. It is not really fluent and it could be improved.
> Claus suggested to modify the bean uri to provide parameters in a camel language.
> Example:
> from(...)
>   .bean(XXX.class, "myMethod(${header.myHeader}, ${body}")
>   .to(...).
> This cool be a really cool and useful feature.

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

        

[jira] [Assigned] (CAMEL-3961) improving methods calls in bean component

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

Claus Ibsen reassigned CAMEL-3961:
----------------------------------

    Assignee: Claus Ibsen

> improving methods calls in bean component
> -----------------------------------------
>
>                 Key: CAMEL-3961
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3961
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Romain Manni-Bucau
>            Assignee: Claus Ibsen
>             Fix For: Future
>
>
> To invoke a bean taking multiple parameters we need to create an array. It is not really fluent and it could be improved.
> Claus suggested to modify the bean uri to provide parameters in a camel language.
> Example:
> from(...)
>   .bean(XXX.class, "myMethod(${header.myHeader}, ${body}")
>   .to(...).
> This cool be a really cool and useful feature.

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

        

[jira] [Updated] (CAMEL-3961) improving methods calls in bean component

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

Claus Ibsen updated CAMEL-3961:
-------------------------------

    Fix Version/s:     (was: Future)
                   2.9.0

This is now possible as shown above.



> improving methods calls in bean component
> -----------------------------------------
>
>                 Key: CAMEL-3961
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3961
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Romain Manni-Bucau
>            Assignee: Claus Ibsen
>             Fix For: 2.9.0
>
>
> To invoke a bean taking multiple parameters we need to create an array. It is not really fluent and it could be improved.
> Claus suggested to modify the bean uri to provide parameters in a camel language.
> Example:
> from(...)
>   .bean(XXX.class, "myMethod(${header.myHeader}, ${body}")
>   .to(...).
> This cool be a really cool and useful feature.

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

        

[jira] [Resolved] (CAMEL-3961) improving methods calls in bean component

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

Claus Ibsen resolved CAMEL-3961.
--------------------------------

    Resolution: Fixed

> improving methods calls in bean component
> -----------------------------------------
>
>                 Key: CAMEL-3961
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3961
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Romain Manni-Bucau
>            Assignee: Claus Ibsen
>             Fix For: 2.9.0
>
>
> To invoke a bean taking multiple parameters we need to create an array. It is not really fluent and it could be improved.
> Claus suggested to modify the bean uri to provide parameters in a camel language.
> Example:
> from(...)
>   .bean(XXX.class, "myMethod(${header.myHeader}, ${body}")
>   .to(...).
> This cool be a really cool and useful feature.

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