Hello there,
I have recently switched from my own home-cooked version of session
variables to using the UIMAContext
session. Actually I am using the UIMAContextAdmin-rootContext for
storing my session variables as I need them to set them in the
CollectionReader and read them in the CASConsumer.
However, unless I set the casPoolSize to 1 I am having the problem
that the CollectionReader already overwrites the session variable
which the CASConsumer has not yet read.
Before I had encoded my variables as an annotation within the CAS
which worked fine.
Is there any way to make use of the CAS pool AND of the UIMA session
variables at the same time?
Richard Eckart
Technische Universität Darmstadt
Institute of Linguistics and Literary Studies
Department of English Linguistics
Hochschulstrasse 1
64289 Darmstadt
Germany