public class FcrepoProducer extends org.apache.camel.impl.DefaultProducer
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_CONTENT_TYPE |
static Map<String,String> |
PREFER_PROPERTIES |
| Constructor and Description |
|---|
FcrepoProducer(FcrepoEndpoint endpoint)
Create a FcrepoProducer object
|
| Modifier and Type | Method and Description |
|---|---|
void |
process(org.apache.camel.Exchange exchange)
Define how message exchanges are processed.
|
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 static final String DEFAULT_CONTENT_TYPE
public static final Map<String,String> PREFER_PROPERTIES
public FcrepoProducer(FcrepoEndpoint endpoint)
endpoint - the FcrepoEndpoint corresponding to the exchange.public void process(org.apache.camel.Exchange exchange) throws org.fcrepo.client.FcrepoOperationFailedException
exchange - the InOut message exchangeorg.fcrepo.client.FcrepoOperationFailedException - when the underlying HTTP request results in an errorCopyright © 2013–2019 DuraSpace, Inc.. All rights reserved.