org.apache.camel.component.spring.integration
Class SpringIntegrationProducer

java.lang.Object
  extended by org.apache.camel.impl.ServiceSupport
      extended by org.apache.camel.impl.DefaultProducer<SpringIntegrationExchange>
          extended by org.apache.camel.component.spring.integration.SpringIntegrationProducer
All Implemented Interfaces:
AsyncProcessor, Processor, Producer<SpringIntegrationExchange>, Service

public class SpringIntegrationProducer
extends DefaultProducer<SpringIntegrationExchange>
implements AsyncProcessor

A producer of exchanges for the Spring Integration Please specify the outputChannel in the endpoint url for this producer. If the message pattern is inOut, the inputChannel property should be set for receiving the response message.

Version:
$Revision: 711528 $

Constructor Summary
SpringIntegrationProducer(SpringIntegrationEndpoint endpoint)
           
 
Method Summary
 void process(Exchange exchange)
           
 boolean process(Exchange exchange, AsyncCallback callback)
           
 
Methods inherited from class org.apache.camel.impl.DefaultProducer
createExchange, createExchange, createExchange, doStart, doStop, getEndpoint, toString
 
Methods inherited from class org.apache.camel.impl.ServiceSupport
addChildService, getThreadName, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, nextThreadCounter, removeChildService, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.camel.Service
start, stop
 

Constructor Detail

SpringIntegrationProducer

public SpringIntegrationProducer(SpringIntegrationEndpoint endpoint)
Method Detail

process

public void process(Exchange exchange)
             throws Exception
Specified by:
process in interface Processor
Throws:
Exception

process

public boolean process(Exchange exchange,
                       AsyncCallback callback)
Specified by:
process in interface AsyncProcessor


Apache CAMEL