Threaded Pipelines, writing temp files
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server > Threaded Pipelines, writing temp files




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Threaded Pipelines, writing temp files  
Dan Meland


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-08-05 10:54 PM

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?

How will the files stau in sync?

Any help with this one?

Thanks
Dan





[ Post a follow-up to this message ]



    Re: Threaded Pipelines, writing temp files  
Tomas Restrepo \(MVP\)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:31 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register