public interface DeferServiceFactory
Producers and defer starting the created service, until
CamelContext has been started.| Modifier and Type | Field and Description |
|---|---|
static String |
FACTORY
Service factory key.
|
| Modifier and Type | Method and Description |
|---|---|
Producer |
createProducer(Endpoint endpoint)
Creates the
Producer which is deferred started until CamelContext is being
started. |
static final String FACTORY
Producer createProducer(Endpoint endpoint) throws Exception
Producer which is deferred started until CamelContext is being
started.
When the producer is started, it re-lookup the endpoint to capture any changes such as the endpoint has been
intercepted. This allows the producer to react and send messages to the updated endpoint.endpoint - the endpointCamelContext has
been startedException - can be thrown if there is an error starting the producerApache Camel