Interface KnativeTransport
-
- All Superinterfaces:
AutoCloseable
,org.apache.camel.Service
public interface KnativeTransport extends org.apache.camel.Service
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.apache.camel.Consumer
createConsumer(org.apache.camel.Endpoint endpoint, KnativeTransportConfiguration configuration, KnativeEnvironment.KnativeServiceDefinition service, org.apache.camel.Processor processor)
Create a camelConsumer
in place of the original endpoint for a specific protocol.org.apache.camel.Producer
createProducer(org.apache.camel.Endpoint endpoint, KnativeTransportConfiguration configuration, KnativeEnvironment.KnativeServiceDefinition service)
Create a camelProducer
in place of the original endpoint for a specific protocol.
-
-
-
Method Detail
-
createProducer
org.apache.camel.Producer createProducer(org.apache.camel.Endpoint endpoint, KnativeTransportConfiguration configuration, KnativeEnvironment.KnativeServiceDefinition service)
Create a camelProducer
in place of the original endpoint for a specific protocol.- Parameters:
endpoint
- the endpoint for which the producer should be createdconfiguration
- the general transport configurationservice
- the service definition containing information about how make reach the target service.- Returns:
-
createConsumer
org.apache.camel.Consumer createConsumer(org.apache.camel.Endpoint endpoint, KnativeTransportConfiguration configuration, KnativeEnvironment.KnativeServiceDefinition service, org.apache.camel.Processor processor)
Create a camelConsumer
in place of the original endpoint for a specific protocol.- Parameters:
endpoint
- the endpoint for which the consumer should be created.configuration
- the general transport configurationservice
- the service definition containing information about how make the route reachable from knative.- Returns:
-
-