Philipp Bachmann created CAMEL-13610:
----------------------------------------

             Summary: Allow for expressions as arguments to 
RouteBuilder.{from,to}() to dynamically change endpoint URIs using the Java DSL
                 Key: CAMEL-13610
                 URL: https://issues.apache.org/jira/browse/CAMEL-13610
             Project: Camel
          Issue Type: New Feature
          Components: camel-core
    Affects Versions: 2.22.1
            Reporter: Philipp Bachmann


We use Apache Camel, in particular its IMAP and SMTP endpoins. When, for 
whatever reason, the endpoints fail, e.g. the SMTP server is down, then it was 
nice if we were able to connect to an alternative endpoint. As I have 
researched so far, Apache Camel does not allow for a dynamic way of specifying 
the URIs e.g. in terms of a user supplied callback Strategy. The only way I 
have figured out are the load balancing features, but then you still have to 
know the URIs in advance.

So may I suggest to add overloads of the from() and to() methods that accept 
expressions, which in my opinion would gain the flexibility desired?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to