Home » apache-camel-1.5.0-src » org.apache » camel » [javadoc | source]
org.apache.camel
public interface: Producer [javadoc | source]

All Implemented Interfaces:
    Service, Processor

Provides a channel on which clients can create and invoke message exchanges on an Endpoint
Method from org.apache.camel.Producer Summary:
createExchange,   createExchange,   createExchange,   getEndpoint
Method from org.apache.camel.Producer Detail:
 public E createExchange()
    Creates a new exchange to send to this endpoint
 public E createExchange(ExchangePattern pattern)
    Creates a new exchange of the given pattern to send to this endpoint
 public 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
 public Endpoint<E> getEndpoint()