Interface KnativeTransport

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

    public interface KnativeTransport
    extends org.apache.camel.Service
    • Method Detail

      • createProducer

        org.apache.camel.Producer createProducer​(org.apache.camel.Endpoint endpoint,
                                                 KnativeTransportConfiguration configuration,
                                                 KnativeEnvironment.KnativeServiceDefinition service)
        Create a camel Producer in place of the original endpoint for a specific protocol.
        Parameters:
        endpoint - the endpoint for which the producer should be created
        configuration - the general transport configuration
        service - 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 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: