You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/09/24 07:18:00 UTC

[jira] [Created] (CAMEL-18546) camel-core - HostedService - To mark a consumer as a Camel hosted service

Claus Ibsen created CAMEL-18546:
-----------------------------------

             Summary: camel-core - HostedService - To mark a consumer as a Camel hosted service
                 Key: CAMEL-18546
                 URL: https://issues.apache.org/jira/browse/CAMEL-18546
             Project: Camel
          Issue Type: New Feature
          Components: camel-core
            Reporter: Claus Ibsen


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

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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)