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

camel-asterix - Endpoint should be singleton

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.19.0
    • Component/s: None
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      We should favor to not store state on the endpoint but keep them as plain configuration.

      I added a TODO in the endpoint source code.

      Also is the hostname option required to be configured? I think so, and if so then add required=true to the UriParam. And also add some logic to check its configured.

      And also when the consumer stops, then the listener should be removed, eg when you add a listetener, you should consider to also remove it.

        Attachments

          Activity

            People

            • Assignee:
              lb Luca Burgazzoli
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: