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

camel-spring-boot - Allow to define static service discovery with metadata from yml

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.9.0
    • 3.10.0
    • camel-spring-boot
    • None
    • Unknown
    • Patch

    Description

      Services in a static service discovery can have metadata in Camel because they are represented by ServiceDefinition. However, it is not possible to configure such entries from a spring boot yml, because org.apache.camel.spring.boot.cloud.CamelCloudConfigurationProperties.ServiceDiscoveryConfiguration only contains a services configuration item which consists of a Map<String, List<String>> where the Key is the service name and the List of String has to contain host:port Strings.

      Suggestion: add a property serviceDefinitions with support for Service Metadata.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dschulten Dietrich Schulten
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: