12-15-05 01:49 AM
Dan,
> OK lets see if this will work.
> I have a custom pipeline which is decrypting a file so
> Process -> Start Decrypt, during this action a temp file and the extracted
> file are produced.
>
> The extracted file is then read into the pipeline abd added to the message
> stream.
>
> Here is the question.
> Do I need to put thread.locks on the pipeline being that it is used by
> many
> adapters/orchestrations?
You shouldn't need to, as long as you're not sharing state between instances
of them (for example through undue use of static variables). Normally each
pipeline instance will get it's own instance of the pipeline component so
that's no problem.
As far as the file thing, well, as long as you make sure you're generating
unique temp file names for each pipeline instance (the OS can do this for
you), then you shouldn't have problems.
--
Tomas Restrepo
tomasr@mvps.org
http://www.winterdom.com/
[ Post a follow-up to this message ]
|