Interface KnativeConsumerFactory
- All Superinterfaces:
AutoCloseable,org.apache.camel.Service
public interface KnativeConsumerFactory
extends org.apache.camel.Service
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.camel.ConsumercreateConsumer(org.apache.camel.Endpoint endpoint, KnativeTransportConfiguration configuration, KnativeResource service, org.apache.camel.Processor processor) Create a camelConsumerin place of the original endpoint for a specific protocol.Methods inherited from interface org.apache.camel.Service
build, close, init, start, stop
-
Method Details
-
createConsumer
org.apache.camel.Consumer createConsumer(org.apache.camel.Endpoint endpoint, KnativeTransportConfiguration configuration, KnativeResource service, org.apache.camel.Processor processor) Create a camelConsumerin 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:
-