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.Modifier and Type | Method and Description |
---|---|
boolean |
isMultipleConsumersSupported()
Are multiple consumers supported?
|
boolean isMultipleConsumersSupported()
Apache Camel