Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Users can then either explicitly create your component, configure it and register with a CamelContext or users can use a URI which auto-creates your component.

...

When implementing an Endpoint you typically may implement one or more of the following methods

Typically you just derive from DefaultEndpoint and implement the createProducer() and / or createConsumer() methods. The createPollingConsumer() method will be created by default for you in the DefaultEndpoint class.

If your endpoint is a polling-centric component you can derive from DefaultPollingEndpoint and then implement createPollingConsumer(); the createConsumer() method will be created for you which avoids you having to write any polling code.

...