org.apache.camel.component.spring.integration
Class SpringIntegrationConsumer
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultConsumer
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 $
|
Method Summary |
protected void |
doStart()
|
protected void |
doStop()
|
void |
handleMessage(org.springframework.integration.core.Message<?> siInMessage)
|
| Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, removeChildService, start, stop |
SpringIntegrationConsumer
public SpringIntegrationConsumer(SpringIntegrationEndpoint endpoint,
Processor processor)
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