Endpoints
Camel supports the Message Endpoint pattern using the Endpoint interface.
Endpoint API
You will almost never have the need for creating endpoints manually via Java API.
From an Endpoint
you can use the following Java API methods to create producers or consumers to the endpoint:
-
createProducer()
will create a Producer for sending message exchanges to the endpoint. -
createConsumer()
implements the Event Driven Consumer pattern for consuming message exchanges from the endpoint via a Processor when creating a Consumer. -
createPollingConsumer()
implements the Polling Consumer pattern for consuming message exchanges from the endpoint via a PollingConsumer.