org.apache.camel
Interface Producer<E extends Exchange>
- All Superinterfaces:
- Processor, Service
- All Known Implementing Classes:
- DefaultProducer, FileProducer
public interface Producer<E extends Exchange>
- extends Processor, Service
Provides a channel on which clients can create and invoke message exchanges
on an Endpoint
- Version:
- $Revision: 563607 $
Method Summary |
E |
createExchange()
Creates a new exchange to send to this endpoint |
E |
createExchange(E exchange)
Creates a new exchange for communicating with this exchange using the
given exchange to pre-populate the values of the headers and messages |
Endpoint<E> |
getEndpoint()
|
getEndpoint
Endpoint<E> getEndpoint()
createExchange
E createExchange()
- Creates a new exchange to send to this endpoint
- Returns:
- a newly created exchange
createExchange
E createExchange(E exchange)
- Creates a new exchange for communicating with this exchange using the
given exchange to pre-populate the values of the headers and messages
Copyright © 2007 Apache Software Foundation. All Rights Reserved.