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

camel-asterix - Endpoint should be singleton

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.19.0
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: