Interface Producer
- All Superinterfaces:
AutoCloseable, EndpointAware, IsSingleton, Processor, Service
- All Known Subinterfaces:
AsyncProducer
A service that sends
Exchanges to an Endpoint.
A producer is created by calling Endpoint.createProducer() and participates in the Camel lifecycle as a
Service. Calls to Processor.process(Exchange) block until processing of the exchange completes; for
non-blocking dispatch use AsyncProducer.
Important: Do not do any initialization in the constructor. Instead use
BaseService.doInit() or
BaseService.doStart().- See Also:
-
Method Summary
Methods inherited from interface EndpointAware
getEndpointMethods inherited from interface IsSingleton
isSingleton