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, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public AbstractWordpressProducer(WordpressEndpoint endpoint)
public WordpressComponentConfiguration getConfiguration()
public WordpressEndpoint getEndpoint()
getEndpoint
in interface org.apache.camel.EndpointAware
getEndpoint
in class org.apache.camel.impl.DefaultProducer
public final void process(org.apache.camel.Exchange exchange) throws Exception
Exception
protected 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