Interface KnativeConsumerFactory

  • All Superinterfaces:
    AutoCloseable, org.apache.camel.Service

    public interface KnativeConsumerFactory
    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, KnativeResource service, org.apache.camel.Processor processor)
      Create a camel Consumer in place of the original endpoint for a specific protocol.
      • Methods inherited from interface org.apache.camel.Service

        build, close, init, start, stop
    • Method Detail

      • createConsumer

        org.apache.camel.Consumer createConsumer​(org.apache.camel.Endpoint endpoint,
                                                 KnativeTransportConfiguration configuration,
                                                 KnativeResource service,
                                                 org.apache.camel.Processor processor)
        Create a camel Consumer 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 configuration
        service - the service definition containing information about how make the route reachable from knative.
        Returns: