Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-13610

Allow for expressions as arguments to RouteBuilder.{from,to}() to dynamically change endpoint URIs using the Java DSL

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 2.22.1
    • None
    • camel-core
    • None
    • Unknown

    Description

      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?

      Attachments

        Activity

          People

            Unassigned Unassigned
            bachlipp Philipp Bachmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: