public interface Producer extends Processor, Service, IsSingleton, EndpointAware
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
|
isSingleton
getEndpoint
Exchange createExchange()
Exchange createExchange(ExchangePattern pattern)
pattern
- the exchange pattern@Deprecated Exchange createExchange(Exchange exchange)
exchange
- the existing exchangeApache Camel