org.apache.camel.component.spring.integration
Class SpringIntegrationProducer
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultProducer
org.apache.camel.component.spring.integration.SpringIntegrationProducer
- All Implemented Interfaces:
- IsSingleton, Processor, Producer, Service, ShutdownableService
public class SpringIntegrationProducer
- extends DefaultProducer
- implements Processor
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: 1040056 $
| Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, removeChildService, resume, shutdown, start, start, stop, suspend |
SpringIntegrationProducer
public SpringIntegrationProducer(SpringCamelContext context,
SpringIntegrationEndpoint endpoint)
getEndpoint
public SpringIntegrationEndpoint getEndpoint()
- Specified by:
getEndpoint in interface Producer- Overrides:
getEndpoint in class DefaultProducer
doStart
protected void doStart()
throws Exception
- Overrides:
doStart in class DefaultProducer
- Throws:
Exception
process
public void process(Exchange exchange)
throws Exception
- Specified by:
process in interface Processor
- Throws:
Exception
Apache CAMEL