camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-1171) add from(....).inOnly("....") or from("...").inOut("....") to allow explicit ExchangePatterns to be specified in the routing DSL
Date Wed, 10 Dec 2008 10:08:05 GMT

    [ 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.


Mime
View raw message