public interface Producer extends Processor, Service, IsSingleton
Endpoint
Modifier and Type | Method and Description |
---|---|
Exchange |
createExchange()
Creates a new exchange to send to this endpoint
|
Exchange |
createExchange(Exchange exchange)
Deprecated.
will be removed in Camel 3.0
|
Exchange |
createExchange(ExchangePattern pattern)
Creates a new exchange of the given pattern to send to this endpoint
|
Endpoint |
getEndpoint()
Gets the endpoint this producer sends to.
|
isSingleton
Endpoint getEndpoint()
Exchange createExchange()
Exchange createExchange(ExchangePattern pattern)
pattern
- the exchange pattern@Deprecated Exchange createExchange(Exchange exchange)
exchange
- the existing exchangeApache Camel