Example application that calls a Remote Asynchronous Analysis Engine on a collection.
Arguments: brokerUrl endpoint [options] [-t Timeout] [-i]
This connects to a remote AE at specified brokerUrl and endpoint (which must match what is in the
service's deployment descriptor. The following optional arguments are accepted:
- -d Specifies a deployment descriptor. The specified service will be deployed before
processing begin, and the service will be undeployed after processing completes. Multiple -d
entries can be given.
- -c Specifies a CollectionReader descriptor. The client will read CASes from the
CollectionReader and send them to the service for processing. If this option is omitted, one
empty CAS will be sent to the service (useful for services containing a CAS Multiplier acting as
a collection reader).
- -p Specifies CAS pool size, which determines the maximum number of requests that can be
outstanding.
- -f Specifies the initial FS heap size in bytes of each CAS in the pool.
- -o Specifies an Output Directory. All CASes received by the client's CallbackListener will be
serialized to XMI in the specified OutputDir. If omitted, no XMI files will be output.
- -t Specifies a timeout period in seconds. If a CAS does not return within this time period it
is considered an error. By default there is no timeout, so the client will wait forever.
- -i Causes the client to ignore errors returned from the service. If not specified, the client
terminates on the first error.
- -log Output details on each process request.
- -uimaEeDebug true causes various debugging things to happen, including *not* deleting the
generated spring file generated by running dd-2-spring. This parameter only affects deployments
specified using the -d parameter that follow it in the command line sequence.