Package | Description |
---|---|
org.apache.camel |
The core Camel API.
|
org.apache.camel.spi |
Service Provider Interfaces used by the Camel runtime which are plugin strategies.
|
Modifier and Type | Interface and Description |
---|---|
interface |
BatchConsumer
A consumer of a batch of message exchanges from an
Endpoint |
interface |
PollingConsumer
Represents a Polling Consumer where the caller polls for
messages when it is ready.
|
Modifier and Type | Method and Description |
---|---|
Consumer |
Endpoint.createConsumer(Processor processor)
Creates a new Event Driven Consumer which
consumes messages from the endpoint using the given processor
|
Consumer |
Route.getConsumer()
Gets the inbound
Consumer |
Modifier and Type | Method and Description |
---|---|
Consumer |
RestApiConsumerFactory.createApiConsumer(CamelContext camelContext,
Processor processor,
String contextPath,
RestConfiguration configuration,
Map<String,Object> parameters)
Creates a new REST API Event Driven Consumer,
which provides API listing of the REST services
|
Consumer |
RestConsumerFactory.createConsumer(CamelContext camelContext,
Processor processor,
String verb,
String basePath,
String uriTemplate,
String consumes,
String produces,
RestConfiguration configuration,
Map<String,Object> parameters)
Creates a new REST Event Driven Consumer, which
consumes messages from the endpoint using the given processor
|
Consumer |
RestRegistry.RestService.getConsumer()
Gets the consumer of the REST service
|
Modifier and Type | Method and Description |
---|---|
List<Consumer> |
RouteStartupOrder.getInputs()
Gets the input to this route (often only one consumer)
|
Modifier and Type | Method and Description |
---|---|
void |
RestRegistry.addRestService(Consumer consumer,
String url,
String baseUrl,
String basePath,
String uriTemplate,
String method,
String consumes,
String produces,
String inType,
String outType,
String routeId,
String description)
Adds a new REST service to the registry.
|
boolean |
PollingConsumerPollStrategy.begin(Consumer consumer,
Endpoint endpoint)
Called when poll is about to begin
|
void |
PollingConsumerPollStrategy.commit(Consumer consumer,
Endpoint endpoint,
int polledMessages)
Called when poll is completed successfully
|
Object |
ManagementObjectStrategy.getManagedObjectForConsumer(CamelContext context,
Consumer consumer) |
ObjectName |
ManagementObjectNameStrategy.getObjectNameForConsumer(CamelContext context,
Consumer consumer) |
void |
ScheduledPollConsumerScheduler.onInit(Consumer consumer)
Initializes this
ScheduledPollConsumerScheduler with the associated Consumer . |
void |
RestRegistry.removeRestService(Consumer consumer)
Removes the REST service from the registry
|
boolean |
PollingConsumerPollStrategy.rollback(Consumer consumer,
Endpoint endpoint,
int retryCounter,
Exception cause)
Called when poll failed
|
Apache Camel