public class ContentProducer
extends org.apache.camel.impl.DefaultProducer
| Constructor and Description |
|---|
ContentProducer(ContentEndpoint endpoint)
Constructs the
Producer for the custom Camel ContentComponent. |
| Modifier and Type | Method and Description |
|---|---|
void |
process(org.apache.camel.Exchange exchange) |
createExchange, createExchange, createExchange, doStart, doStop, getEndpoint, isSingleton, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic ContentProducer(ContentEndpoint endpoint)
Producer for the custom Camel ContentComponent. This
producer would map to a Camel <to> route node with a URI like
content:frameworkendpoint - the Camel endpoint that created this consumerpublic void process(org.apache.camel.Exchange exchange)
throws ContentComponentException,
SourceUnavailableException,
IngestException
This work is licensed under a Creative Commons Attribution 4.0 International License.