[jdev] Re: Re: Asynchronous messaging between software components
Alexander Gnauck
gnauck at ag-software.de
Mon May 30 06:05:20 CDT 2005
hi Shualib,
> By asynchronous messaging, what i mean is that the sender componet should
> not get blocked after sending a message for waiting its response, which
> might take some time. Consider two components c1, c2 communicating via
> message handler. c1 sends message to c2, and forgets about the response.
> After certain time, when c2 accomplishes his job for c1's message, it send
> the response message (original request message from c1 is also
> encapsulated within) to c1 via message handler. Now c1 should retrieve
> that message from its queue and process it.
ok, this kind of async communication is no problem with XMPP. We have
packets (IQ) that expect a response. But the socket is never blocking.
Messages expect no response at all.
> There are some other solutions too for accomplishing this architecture
> such as jms publish-subscribe, jade agent development framework etc. But
> we are searching a lightweight and efficient solution.
You should take a look on the JO#s library page [1]. There are several
lightweight libs in many different languages supporting all devices and OS.
Alex
[1] http://www.jabber.org/software/libraries.shtml
More information about the JDev
mailing list