You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Christoph Deppisch (Jira)" <ji...@apache.org> on 2024/02/14 18:42:00 UTC

[jira] [Created] (CAMEL-20421) KnativeProducer creates Platform Http Service in JBang

Christoph Deppisch created CAMEL-20421:
------------------------------------------

             Summary: KnativeProducer creates Platform Http Service in JBang
                 Key: CAMEL-20421
                 URL: https://issues.apache.org/jira/browse/CAMEL-20421
             Project: Camel
          Issue Type: Improvement
          Components: camel-jbang, camel-knative
    Affects Versions: 4.x
            Reporter: Christoph Deppisch


The Knative component consumer leverages the Platform Http service in order to provide a Http endpoint that is called by the Knative broker subscription.

Therefore the Knative component starts the MainHttpServer when run with Camel JBang.

In case the route uses only the Knative producer the Http Platform service is not necessary because the producer connects to the Knative broker as a client. However Camel JBang always starts the Http platform service when the Knative component is involved.

We should only use the Http platform service when a Knative consumer is involved.



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