You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "James Strachan (JIRA)" <ji...@apache.org> on 2008/12/09 17:56:05 UTC

[jira] Created: (CAMEL-1171) add from(....).inOnly("....") or from("...").inOut("....") to allow explicit ExchangePatterns to be specified in the routing DSL

add from(....).inOnly("....") or from("...").inOut("....") to allow explicit ExchangePatterns to be specified in the routing DSL
--------------------------------------------------------------------------------------------------------------------------------

                 Key: CAMEL-1171
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1171
             Project: Apache Camel
          Issue Type: Improvement
            Reporter: James Strachan
             Fix For: 2.0.0


Right now the *to* will use the current default pattern that an endpoint prefers. It would be good to allow it to be explicitly specified in the route.

Not 100% sure the best names to use - is *inOnly()* and *inOut()* the best? Maybe *oneway()* and *request()*?

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


Re: [jira] Commented: (CAMEL-1171) add from(....).inOnly("....") or from("...").inOut("....") to allow explicit ExchangePatterns to be specified in the routing DSL

Posted by Ramon Buckland <ra...@thebuckland.com>.
This is much clearer and concise. nice.

On Wed, Dec 10, 2008 at 21:08, James Strachan (JIRA) <ji...@apache.org>wrote:

>
>    [
> https://issues.apache.org/activemq/browse/CAMEL-1171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48021#action_48021]
>
> James Strachan commented on CAMEL-1171:
> ---------------------------------------
>
> I was thinking maybe the to() methods could take as a 2nd optional argument
> an ExchangePattern - if folks wanted to use the uncommon stuff (RobustInOut
> etc).
>
> then inOnly(uri|endpoint) would be shorthand for to(uri|endpoint, InOnly)
> and ditto for inOut(uri|endpoint)
>
>
>
>
> > add from(....).inOnly("....") or from("...").inOut("....") to allow
> explicit ExchangePatterns to be specified in the routing DSL
> >
> --------------------------------------------------------------------------------------------------------------------------------
> >
> >                 Key: CAMEL-1171
> >                 URL:
> https://issues.apache.org/activemq/browse/CAMEL-1171
> >             Project: Apache Camel
> >          Issue Type: Improvement
> >            Reporter: James Strachan
> >            Assignee: Willem Jiang
> >             Fix For: 1.5.1, 2.0.0
> >
> >
> > Right now the *to* will use the current default pattern that an endpoint
> prefers. It would be good to allow it to be explicitly specified in the
> route.
> > Not 100% sure the best names to use - is *inOnly()* and *inOut()* the
> best? Maybe *oneway()* and *request()*?
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>

Re: [jira] Updated: (CAMEL-1171) add from(....).inOnly("....") or from("...").inOut("....") to allow explicit ExchangePatterns to be specified in the routing DSL

Posted by Willem Jiang <wi...@gmail.com>.
Yes, InOnly and InOut is enough for us now.
BTW, if you want to set the ExchangePattern other than the upper 2
pattern, you could call the setExchangePattern(ExchangePattern ep) in
the builder.

Willem

Claus Ibsen wrote:
> Hi Willem
> 
> Yeah align with the SMX team what patterns is used there.
> 
> Keep the fluent builders to only commonly used
> - InOnly
> - InOut
> is fine, if that is what the SMX team always uses.
> 
> Adding all the others might confuse people what the heck a RobustInOnly is etc.
> 
> /Claus Ibsen
> Apache Camel Committer
> Blog: http://davsclaus.blogspot.com/
> 
> 
> 
> On Wed, Dec 10, 2008 at 10:45 AM, Ramon Buckland <ra...@thebuckland.com> wrote:
>> The inOnly and inOut, robustInOnly and inOptionalOut are standard MEP's so
>> would make sense to stick with them.
>> my 2cents
>>
>> On Wed, Dec 10, 2008 at 20:42, Willem Jiang (JIRA) <ji...@apache.org> wrote:
>>
>>>     [
>>> https://issues.apache.org/activemq/browse/CAMEL-1171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>>>
>>> Willem Jiang updated CAMEL-1171:
>>> --------------------------------
>>>
>>>    Fix Version/s: 1.5.1
>>>
>>>> add from(....).inOnly("....") or from("...").inOut("....") to allow
>>> explicit ExchangePatterns to be specified in the routing DSL
>>> --------------------------------------------------------------------------------------------------------------------------------
>>>>                 Key: CAMEL-1171
>>>>                 URL:
>>> https://issues.apache.org/activemq/browse/CAMEL-1171
>>>>             Project: Apache Camel
>>>>          Issue Type: Improvement
>>>>            Reporter: James Strachan
>>>>            Assignee: Willem Jiang
>>>>             Fix For: 1.5.1, 2.0.0
>>>>
>>>>
>>>> Right now the *to* will use the current default pattern that an endpoint
>>> prefers. It would be good to allow it to be explicitly specified in the
>>> route.
>>>> Not 100% sure the best names to use - is *inOnly()* and *inOut()* the
>>> best? Maybe *oneway()* and *request()*?
>>>
>>> --
>>> This message is automatically generated by JIRA.
>>> -
>>> You can reply to this email to add a comment to the issue online.
>>>
>>>
> 


Re: [jira] Updated: (CAMEL-1171) add from(....).inOnly("....") or from("...").inOut("....") to allow explicit ExchangePatterns to be specified in the routing DSL

Posted by Claus Ibsen <cl...@gmail.com>.
Hi Willem

Yeah align with the SMX team what patterns is used there.

Keep the fluent builders to only commonly used
- InOnly
- InOut
is fine, if that is what the SMX team always uses.

Adding all the others might confuse people what the heck a RobustInOnly is etc.

/Claus Ibsen
Apache Camel Committer
Blog: http://davsclaus.blogspot.com/



On Wed, Dec 10, 2008 at 10:45 AM, Ramon Buckland <ra...@thebuckland.com> wrote:
> The inOnly and inOut, robustInOnly and inOptionalOut are standard MEP's so
> would make sense to stick with them.
> my 2cents
>
> On Wed, Dec 10, 2008 at 20:42, Willem Jiang (JIRA) <ji...@apache.org> wrote:
>
>>
>>     [
>> https://issues.apache.org/activemq/browse/CAMEL-1171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>>
>> Willem Jiang updated CAMEL-1171:
>> --------------------------------
>>
>>    Fix Version/s: 1.5.1
>>
>> > add from(....).inOnly("....") or from("...").inOut("....") to allow
>> explicit ExchangePatterns to be specified in the routing DSL
>> >
>> --------------------------------------------------------------------------------------------------------------------------------
>> >
>> >                 Key: CAMEL-1171
>> >                 URL:
>> https://issues.apache.org/activemq/browse/CAMEL-1171
>> >             Project: Apache Camel
>> >          Issue Type: Improvement
>> >            Reporter: James Strachan
>> >            Assignee: Willem Jiang
>> >             Fix For: 1.5.1, 2.0.0
>> >
>> >
>> > Right now the *to* will use the current default pattern that an endpoint
>> prefers. It would be good to allow it to be explicitly specified in the
>> route.
>> > Not 100% sure the best names to use - is *inOnly()* and *inOut()* the
>> best? Maybe *oneway()* and *request()*?
>>
>> --
>> This message is automatically generated by JIRA.
>> -
>> You can reply to this email to add a comment to the issue online.
>>
>>
>

Re: [jira] Updated: (CAMEL-1171) add from(....).inOnly("....") or from("...").inOut("....") to allow explicit ExchangePatterns to be specified in the routing DSL

Posted by Ramon Buckland <ra...@thebuckland.com>.
The inOnly and inOut, robustInOnly and inOptionalOut are standard MEP's so
would make sense to stick with them.
my 2cents

On Wed, Dec 10, 2008 at 20:42, Willem Jiang (JIRA) <ji...@apache.org> wrote:

>
>     [
> https://issues.apache.org/activemq/browse/CAMEL-1171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>
> Willem Jiang updated CAMEL-1171:
> --------------------------------
>
>    Fix Version/s: 1.5.1
>
> > add from(....).inOnly("....") or from("...").inOut("....") to allow
> explicit ExchangePatterns to be specified in the routing DSL
> >
> --------------------------------------------------------------------------------------------------------------------------------
> >
> >                 Key: CAMEL-1171
> >                 URL:
> https://issues.apache.org/activemq/browse/CAMEL-1171
> >             Project: Apache Camel
> >          Issue Type: Improvement
> >            Reporter: James Strachan
> >            Assignee: Willem Jiang
> >             Fix For: 1.5.1, 2.0.0
> >
> >
> > Right now the *to* will use the current default pattern that an endpoint
> prefers. It would be good to allow it to be explicitly specified in the
> route.
> > Not 100% sure the best names to use - is *inOnly()* and *inOut()* the
> best? Maybe *oneway()* and *request()*?
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>

[jira] Updated: (CAMEL-1171) add from(....).inOnly("....") or from("...").inOut("....") to allow explicit ExchangePatterns to be specified in the routing DSL

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

Willem Jiang updated CAMEL-1171:
--------------------------------

    Fix Version/s: 1.5.1

> add from(....).inOnly("....") or from("...").inOut("....") to allow explicit ExchangePatterns to be specified in the routing DSL
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-1171
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1171
>             Project: Apache Camel
>          Issue Type: Improvement
>            Reporter: James Strachan
>            Assignee: Willem Jiang
>             Fix For: 1.5.1, 2.0.0
>
>
> Right now the *to* will use the current default pattern that an endpoint prefers. It would be good to allow it to be explicitly specified in the route.
> Not 100% sure the best names to use - is *inOnly()* and *inOut()* the best? Maybe *oneway()* and *request()*?

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


[jira] Commented: (CAMEL-1171) add from(....).inOnly("....") or from("...").inOut("....") to allow explicit ExchangePatterns to be specified in the routing DSL

Posted by "James Strachan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48047#action_48047 ] 

James Strachan commented on CAMEL-1171:
---------------------------------------

added the <inOnly> and <inOut> XML elements - just need the Java DSL hacked, tests and documentation...

> add from(....).inOnly("....") or from("...").inOut("....") to allow explicit ExchangePatterns to be specified in the routing DSL
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-1171
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1171
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: James Strachan
>            Assignee: James Strachan
>             Fix For: 1.5.1, 2.0.0
>
>
> Right now the *to* will use the current default pattern that an endpoint prefers. It would be good to allow it to be explicitly specified in the route.
> Not 100% sure the best names to use - is *inOnly()* and *inOut()* the best? Maybe *oneway()* and *request()*?

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


[jira] Commented: (CAMEL-1171) add from(....).inOnly("....") or from("...").inOut("....") to allow explicit ExchangePatterns to be specified in the routing DSL

Posted by "James Strachan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48057#action_48057 ] 

James Strachan commented on CAMEL-1171:
---------------------------------------

:) it was my duff suggestion to use it the other way around to start with :)

Just about done - gonna commit this minor change shortly.

BTW made another minor change - the ToType now can take an ExchangePattern constructor argument as well - so that when sending to an endpoint (the common use case for the inOut/inOnly methods), we don't need 2 steps in the route

> add from(....).inOnly("....") or from("...").inOut("....") to allow explicit ExchangePatterns to be specified in the routing DSL
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-1171
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1171
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: James Strachan
>            Assignee: James Strachan
>             Fix For: 1.5.1, 2.0.0
>
>
> Right now the *to* will use the current default pattern that an endpoint prefers. It would be good to allow it to be explicitly specified in the route.
> Not 100% sure the best names to use - is *inOnly()* and *inOut()* the best? Maybe *oneway()* and *request()*?

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


[jira] Commented: (CAMEL-1171) add from(....).inOnly("....") or from("...").inOut("....") to allow explicit ExchangePatterns to be specified in the routing DSL

Posted by "James Strachan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48054#action_48054 ] 

James Strachan commented on CAMEL-1171:
---------------------------------------

refactoring Willem's change so that to(endpoint, pattern) becomes to(pattern, endpoint) so that we can use the same ordering of parameters with the ... notation.

e.g.

{code}
to(InOut, uri1, uri2, uri3, ...)
{code}



> add from(....).inOnly("....") or from("...").inOut("....") to allow explicit ExchangePatterns to be specified in the routing DSL
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-1171
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1171
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: James Strachan
>            Assignee: James Strachan
>             Fix For: 1.5.1, 2.0.0
>
>
> Right now the *to* will use the current default pattern that an endpoint prefers. It would be good to allow it to be explicitly specified in the route.
> Not 100% sure the best names to use - is *inOnly()* and *inOut()* the best? Maybe *oneway()* and *request()*?

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


[jira] Assigned: (CAMEL-1171) add from(....).inOnly("....") or from("...").inOut("....") to allow explicit ExchangePatterns to be specified in the routing DSL

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

James Strachan reassigned CAMEL-1171:
-------------------------------------

    Assignee: James Strachan  (was: Willem Jiang)

> add from(....).inOnly("....") or from("...").inOut("....") to allow explicit ExchangePatterns to be specified in the routing DSL
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-1171
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1171
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: James Strachan
>            Assignee: James Strachan
>             Fix For: 1.5.1, 2.0.0
>
>
> Right now the *to* will use the current default pattern that an endpoint prefers. It would be good to allow it to be explicitly specified in the route.
> Not 100% sure the best names to use - is *inOnly()* and *inOut()* the best? Maybe *oneway()* and *request()*?

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


[jira] Commented: (CAMEL-1171) add from(....).inOnly("....") or from("...").inOut("....") to allow explicit ExchangePatterns to be specified in the routing DSL

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

Claus Ibsen commented on CAMEL-1171:
------------------------------------

+1 to James suggestions

> add from(....).inOnly("....") or from("...").inOut("....") to allow explicit ExchangePatterns to be specified in the routing DSL
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-1171
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1171
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: James Strachan
>            Assignee: Willem Jiang
>             Fix For: 1.5.1, 2.0.0
>
>
> Right now the *to* will use the current default pattern that an endpoint prefers. It would be good to allow it to be explicitly specified in the route.
> Not 100% sure the best names to use - is *inOnly()* and *inOut()* the best? Maybe *oneway()* and *request()*?

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


[jira] Assigned: (CAMEL-1171) add from(....).inOnly("....") or from("...").inOut("....") to allow explicit ExchangePatterns to be specified in the routing DSL

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

Willem Jiang reassigned CAMEL-1171:
-----------------------------------

    Assignee: Willem Jiang

> add from(....).inOnly("....") or from("...").inOut("....") to allow explicit ExchangePatterns to be specified in the routing DSL
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-1171
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1171
>             Project: Apache Camel
>          Issue Type: Improvement
>            Reporter: James Strachan
>            Assignee: Willem Jiang
>             Fix For: 2.0.0
>
>
> Right now the *to* will use the current default pattern that an endpoint prefers. It would be good to allow it to be explicitly specified in the route.
> Not 100% sure the best names to use - is *inOnly()* and *inOut()* the best? Maybe *oneway()* and *request()*?

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


[jira] Commented: (CAMEL-1171) add from(....).inOnly("....") or from("...").inOut("....") to allow explicit ExchangePatterns to be specified in the routing DSL

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

Willem Jiang commented on CAMEL-1171:
-------------------------------------

Good point.
 I'd to admit James always thinks ahead of me.

> add from(....).inOnly("....") or from("...").inOut("....") to allow explicit ExchangePatterns to be specified in the routing DSL
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-1171
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1171
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: James Strachan
>            Assignee: James Strachan
>             Fix For: 1.5.1, 2.0.0
>
>
> Right now the *to* will use the current default pattern that an endpoint prefers. It would be good to allow it to be explicitly specified in the route.
> Not 100% sure the best names to use - is *inOnly()* and *inOut()* the best? Maybe *oneway()* and *request()*?

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


[jira] Commented: (CAMEL-1171) add from(....).inOnly("....") or from("...").inOut("....") to allow explicit ExchangePatterns to be specified in the routing DSL

Posted by "James Strachan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48021#action_48021 ] 

James Strachan commented on CAMEL-1171:
---------------------------------------

I was thinking maybe the to() methods could take as a 2nd optional argument an ExchangePattern - if folks wanted to use the uncommon stuff (RobustInOut etc).

then inOnly(uri|endpoint) would be shorthand for to(uri|endpoint, InOnly) and ditto for inOut(uri|endpoint)




> add from(....).inOnly("....") or from("...").inOut("....") to allow explicit ExchangePatterns to be specified in the routing DSL
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-1171
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1171
>             Project: Apache Camel
>          Issue Type: Improvement
>            Reporter: James Strachan
>            Assignee: Willem Jiang
>             Fix For: 1.5.1, 2.0.0
>
>
> Right now the *to* will use the current default pattern that an endpoint prefers. It would be good to allow it to be explicitly specified in the route.
> Not 100% sure the best names to use - is *inOnly()* and *inOut()* the best? Maybe *oneway()* and *request()*?

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


[jira] Updated: (CAMEL-1171) add from(....).inOnly("....") or from("...").inOut("....") to allow explicit ExchangePatterns to be specified in the routing DSL

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

Claus Ibsen updated CAMEL-1171:
-------------------------------

    Component/s: camel-core
     Issue Type: New Feature  (was: Improvement)

> add from(....).inOnly("....") or from("...").inOut("....") to allow explicit ExchangePatterns to be specified in the routing DSL
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-1171
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1171
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: James Strachan
>            Assignee: Willem Jiang
>             Fix For: 1.5.1, 2.0.0
>
>
> Right now the *to* will use the current default pattern that an endpoint prefers. It would be good to allow it to be explicitly specified in the route.
> Not 100% sure the best names to use - is *inOnly()* and *inOut()* the best? Maybe *oneway()* and *request()*?

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


[jira] Resolved: (CAMEL-1171) add from(....).inOnly("....") or from("...").inOut("....") to allow explicit ExchangePatterns to be specified in the routing DSL

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

James Strachan resolved CAMEL-1171.
-----------------------------------

    Resolution: Fixed

see the example documentation here...

* [Request Reply|http://cwiki.apache.org/confluence/display/CAMEL/Request+Reply]
* [Event Message|http://cwiki.apache.org/CAMEL/event-message.html]



> add from(....).inOnly("....") or from("...").inOut("....") to allow explicit ExchangePatterns to be specified in the routing DSL
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-1171
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1171
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: James Strachan
>            Assignee: James Strachan
>             Fix For: 1.5.1, 2.0.0
>
>
> Right now the *to* will use the current default pattern that an endpoint prefers. It would be good to allow it to be explicitly specified in the route.
> Not 100% sure the best names to use - is *inOnly()* and *inOut()* the best? Maybe *oneway()* and *request()*?

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