[ 
https://issues.apache.org/jira/browse/CAMEL-18546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-18546:
--------------------------------
    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.

  was:
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.


> 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
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 4.7.0
>
>
> 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.



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

Reply via email to