public class MyBatisProducer extends DefaultProducer
log
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
Constructor and Description |
---|
MyBatisProducer(MyBatisEndpoint endpoint) |
Modifier and Type | Method and Description |
---|---|
MyBatisEndpoint |
getEndpoint()
Gets the endpoint associated with an object.
|
void |
process(Exchange exchange)
Processes the message exchange
|
createExchange, createExchange, createExchange, doStart, doStop, isSingleton, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public MyBatisProducer(MyBatisEndpoint endpoint)
public void process(Exchange exchange) throws Exception
Processor
exchange
- the message exchangeException
- if an internal processing error has occurred.public MyBatisEndpoint getEndpoint()
EndpointAware
Producer
or for consuming from for components like Consumer
or Route
getEndpoint
in interface EndpointAware
getEndpoint
in class DefaultProducer
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.