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

RoutePolicy - To easily stop routes after X messages or time

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.19.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Sometimes people want to run a Camel route for 1 message, or until there are no more new messages, or stop after X seconds etc.

      We should provide some basic route policy / factory that people can use, and easily configure. And we can then add the logic to safely stop the routes while running, which can be a little tricky
      http://camel.apache.org/how-can-i-stop-a-route-from-a-route.html

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: