public class UimaAsProducer
extends org.apache.camel.impl.DefaultProducer
implements org.apache.camel.AsyncProcessor
UimaAsProducer sends the body of a message to a UIMA AS processing
pipeline.
Configuration URI:
uimadriver:authority?queue="nameofqueue"
For example:
uimadriver:tcp://localhost:61616?queue=TextAnalysisQueue| Constructor and Description |
|---|
UimaAsProducer(String brokerAddress,
String queue,
Integer casPoolSize,
Integer timeout,
org.apache.camel.Endpoint endpoint) |
| Modifier and Type | Method and Description |
|---|---|
void |
process(org.apache.camel.Exchange exchange)
Not implemented, since the producer implements the AsyncProcessor interface.
|
boolean |
process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback) |
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 void process(org.apache.camel.Exchange exchange)
throws Exception
process in interface org.apache.camel.ProcessorExceptionpublic boolean process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback)
process in interface org.apache.camel.AsyncProcessorCopyright © 2006–2018 The Apache Software Foundation. All rights reserved.