You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/06/02 06:52:50 UTC

[jira] Created: (CAMEL-1665) Add a send to endpoint expression in the expression builder

Add a send to endpoint expression in the expression builder
-----------------------------------------------------------

                 Key: CAMEL-1665
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1665
             Project: Apache Camel
          Issue Type: New Feature
          Components: camel-core
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
            Priority: Minor
             Fix For: 2.0.0


When using expressions you can invoke beans, use xpaths and the likes. But we do not have a send to endpoint and use the reply as value.

This should be possible:
{code}
                from("direct:start")
                    .transform(to("direct:foo")).to("mock:result");
{code}

Yeah the transform might be a bit of lame example, as you can just use the to directly. But in some other expression situations its valuable to send the message to endpoint and use the reply as value.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CAMEL-1665) Add a send to endpoint expression in the expression builder

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

Claus Ibsen resolved CAMEL-1665.
--------------------------------

    Resolution: Fixed

trunk: 780937.

I also added a {{prepend}} as we had an {{append}} already.

> Add a send to endpoint expression in the expression builder
> -----------------------------------------------------------
>
>                 Key: CAMEL-1665
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1665
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> When using expressions you can invoke beans, use xpaths and the likes. But we do not have a send to endpoint and use the reply as value.
> This should be possible:
> {code}
>                 from("direct:start")
>                     .transform(to("direct:foo")).to("mock:result");
> {code}
> Yeah the transform might be a bit of lame example, as you can just use the to directly. But in some other expression situations its valuable to send the message to endpoint and use the reply as value.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-1665) Add a send to endpoint expression in the expression builder

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

Willem Jiang commented on CAMEL-1665:
-------------------------------------

@Claus,

This change conflicts with the ScriptRouteBuilder ProcessorDefinition to(String uri).
So I change the to endpoint expression to "sendTo" to resolve this conflict.

http://svn.apache.org/viewvc?rev=781237&view=rev

> Add a send to endpoint expression in the expression builder
> -----------------------------------------------------------
>
>                 Key: CAMEL-1665
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1665
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> When using expressions you can invoke beans, use xpaths and the likes. But we do not have a send to endpoint and use the reply as value.
> This should be possible:
> {code}
>                 from("direct:start")
>                     .transform(to("direct:foo")).to("mock:result");
> {code}
> Yeah the transform might be a bit of lame example, as you can just use the to directly. But in some other expression situations its valuable to send the message to endpoint and use the reply as value.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-1665) Add a send to endpoint expression in the expression builder

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

Claus Ibsen commented on CAMEL-1665:
------------------------------------

@Willem

+1. Good work.

> Add a send to endpoint expression in the expression builder
> -----------------------------------------------------------
>
>                 Key: CAMEL-1665
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1665
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> When using expressions you can invoke beans, use xpaths and the likes. But we do not have a send to endpoint and use the reply as value.
> This should be possible:
> {code}
>                 from("direct:start")
>                     .transform(to("direct:foo")).to("mock:result");
> {code}
> Yeah the transform might be a bit of lame example, as you can just use the to directly. But in some other expression situations its valuable to send the message to endpoint and use the reply as value.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.