public abstract class AbstractWordpressProducer<T>
extends org.apache.camel.impl.DefaultProducer
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
AbstractWordpressProducer(WordpressEndpoint endpoint) |
| Modifier and Type | Method and Description |
|---|---|
WordpressComponentConfiguration |
getConfiguration() |
WordpressEndpoint |
getEndpoint() |
void |
process(org.apache.camel.Exchange exchange) |
protected abstract T |
processDelete(org.apache.camel.Exchange exchange) |
protected abstract T |
processInsert(org.apache.camel.Exchange exchange) |
protected abstract T |
processUpdate(org.apache.camel.Exchange exchange) |
createExchange, createExchange, createExchange, doStart, doStop, isSingleton, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic AbstractWordpressProducer(WordpressEndpoint endpoint)
public WordpressComponentConfiguration getConfiguration()
public WordpressEndpoint getEndpoint()
getEndpoint in interface org.apache.camel.EndpointAwaregetEndpoint in class org.apache.camel.impl.DefaultProducerpublic final void process(org.apache.camel.Exchange exchange)
throws Exception
Exceptionprotected abstract T processInsert(org.apache.camel.Exchange exchange)
protected abstract T processUpdate(org.apache.camel.Exchange exchange)
protected abstract T processDelete(org.apache.camel.Exchange exchange)
Apache Camel