You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by "m.v." <ma...@gmail.com> on 2008/10/01 10:58:36 UTC
Re: Question about Client API and async communication.
Yes, sure,... any suggestions are welcome,..
As I'm new to this stuff - I'm doing this for my masters degree work - could
somebody suggest a good tutorial about JSM/ActiveMQ communication with
ServiceMix.
Gert Vanthienen wrote:
>
> m.v.,
>
> Can I suggest you start using JMS/ActiveMQ to communicate to
> ServiceMix? ServiceMIx has an embedded broker running and you will get
> a fast and asynchronous comm channel with the ESB this way.
>
> Regards,
>
> Gert
>
> m.v. wrote:
>> I was wondering if it is possible to achieve an asynchronous
>> communication
>> with servicemix server using client API. The problem I am facing is that
>> when I send an InOut message to servicemix, it blocks my current gui
>> thread
>> while waiting for the response. If I use client.send and client.receive
>> the
>> thread is blocked while waiting for the result. If I use sendSync it is
>> also
>> blocked while waiting the result. Is there s
> ome way that I could subscribe
>> to some listener that would execute some code only when the result is
>> available without blocking... Or maybe I need to use some other
>> approach...
>> Any suggestions are welcome...
>>
>> Thanks in advance,
>> m.v.
>>
>
>
>
> -----
> ---
> Gert Vanthienen
> http://www.anova.be
>
--
View this message in context: http://www.nabble.com/Question-about-Client-API-and-async-communication.-tp19721210p19756764.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.