org.apache.camel.support.DefaultConsumer Java Examples
The following examples show how to use
org.apache.camel.support.DefaultConsumer.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: KnativeTransportNoop.java From camel-k-runtime with Apache License 2.0 | 4 votes |
@Override public Consumer createConsumer(Endpoint endpoint, KnativeTransportConfiguration configuration, KnativeEnvironment.KnativeServiceDefinition service, Processor processor) { return new DefaultConsumer(endpoint, processor); }
Example #2
Source File: AcmeEndpoint.java From syndesis with Apache License 2.0 | 4 votes |
@Override public Consumer createConsumer(Processor processor) throws Exception { return new DefaultConsumer(this, processor); }