Re: how to wrapper a high level request-response thread-safe library

2014-03-06 Thread Li Li
I think I should deal with something like thread pool. I am familiar with java thread api such as ThreadPoolExecutor, Future, CompletionService. but is there any equivalence library in CMS? On Fri, Mar 7, 2014 at 10:40 AM, Li Li wrote: > hi all, > I want to wrapper a high level library using

how to wrapper a high level request-response thread-safe library

2014-03-06 Thread Li Li
hi all, I want to wrapper a high level library using activemq to implement a request-reply service. the user of this library have 2 kind of api --synchronized blocking and asynchronized callback. usage1: MainThread: RequestResponseWrapper wrapper=new RequestRespon