org.apache.camel
Interface MultipleConsumersSupport
- All Known Implementing Classes:
- SedaEndpoint, TimerEndpoint
public interface MultipleConsumersSupport
Endpoint
can optionally implement this interface to
indicate whether or not it supports multiple consumers.
By default endpoints are assumed not to support multiple consumers.
A rare few endpoints do in fact support multiple consumers and thus the purpose of this interface.
For example JMS endpoints which have topics that can be consumed by multiple consumers.
The purpose of this is to check on startup that we do not have multiple consumers
for the same endpoints. This prevents starting up with copy/paste mistakes in the Camel routes.
- Version:
isMultipleConsumersSupported
boolean isMultipleConsumersSupported()
- Are multiple consumers supported?
- Returns:
- true if multiple consumers are supported
Apache CAMEL