You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Ivan Pryvalov <i....@smiss.com.ua> on 2009/03/05 12:53:07 UTC

Thread-safe of ServicemixClientFacade

Hi!

I would to use cashed instance of SercivemixClient in few threads.. Is 
it thread-safe?
I looked at sources and it seems yes (calling of methods invokes 
creating new instances of objects, generating of ID is synchronized), 
but I'm not sure exactly..

Thanks,
Truly yours,
Ivan Pryvalov.

Re: Thread-safe of ServicemixClientFacade

Posted by Guillaume Nodet <gn...@gmail.com>.
The ServiceMixClientFacade delegates everything to the component context /
channel which is thread safe.

On Thu, Mar 5, 2009 at 12:53, Ivan Pryvalov <i....@smiss.com.ua> wrote:

> Hi!
>
> I would to use cashed instance of SercivemixClient in few threads.. Is it
> thread-safe?
> I looked at sources and it seems yes (calling of methods invokes creating
> new instances of objects, generating of ID is synchronized), but I'm not
> sure exactly..
>
> Thanks,
> Truly yours,
> Ivan Pryvalov.
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com