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

camel-core - HostedService - To mark a consumer as a Camel hosted service

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.7.0
    • camel-core
    • None
    • Unknown

    Description

      A few components hosts a service exclusive in Camel such as HTTP/TCP based

      from cxf
      from platform-http
      from servlet
      from netty (not in client mode)
      from mina
      from mllp
      from jetty

      There may be a few others.

      Its not the same as

      from file
      from jms
      from kafka

      As these are camel consumer that reacts on events from another "service", eg JMS broker or Kafka broker.

      If we have an API/SPI to mark a consumer as being a HostedConsumer (or come up with a better name). Then we can collect service information, such as

      • name
      • protocol
      • ur to call the service
      • additional metadata
      • api schema (optional)

      Then we can make camel-core able to detect all its consumers that are hosted, and be able to expose this so its easier for tooling etc to gather a list of services.

      There is something related to this in RestRegistry in camel-core but that was for RESTful hosted service only.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: