Versions Compared

Key

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

...

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.

Using a Processor

If you are writing a simple endpoint which just processes messages in some way, you can just implement a Processor and use that to create an endpoint.

Dependency injection and auto-discovery

...