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

java.lang.Object
  extended by org.apache.camel.impl.ServiceSupport
      extended by org.apache.camel.impl.DefaultConsumer
          extended by org.apache.camel.component.spring.integration.SpringIntegrationConsumer
All Implemented Interfaces:
Consumer, Service, org.springframework.integration.message.MessageHandler

public class SpringIntegrationConsumer
extends DefaultConsumer
implements org.springframework.integration.message.MessageHandler

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

Version:
$Revision: 787831 $

Constructor Summary
SpringIntegrationConsumer(SpringIntegrationEndpoint endpoint, Processor processor)
           
 
Method Summary
protected  void doStart()
           
protected  void doStop()
           
 void handleMessage(org.springframework.integration.core.Message<?> siInMessage)
           
 
Methods inherited from class org.apache.camel.impl.DefaultConsumer
getEndpoint, getExceptionHandler, getProcessor, handleException, setExceptionHandler, toString
 
Methods inherited from class org.apache.camel.impl.ServiceSupport
addChildService, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, 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

SpringIntegrationConsumer

public SpringIntegrationConsumer(SpringIntegrationEndpoint endpoint,
                                 Processor processor)
Method Detail

doStop

protected void doStop()
               throws Exception
Overrides:
doStop in class DefaultConsumer
Throws:
Exception

doStart

protected void doStart()
                throws Exception
Overrides:
doStart in class DefaultConsumer
Throws:
Exception

handleMessage

public void handleMessage(org.springframework.integration.core.Message<?> siInMessage)
Specified by:
handleMessage in interface org.springframework.integration.message.MessageHandler


Apache CAMEL