[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jabber-jdev
Subject:    [jdev] Re: Re: Asynchronous messaging between software components
From:       "Alexander Gnauck" <gnauck () ag-software ! de>
Date:       2005-05-30 11:05:20
Message-ID: d7ersk$6rg$1 () sea ! gmane ! org
[Download RAW message or body]

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



_______________________________________________
jdev mailing list
jdev@jabber.org
http://mail.jabber.org/mailman/listinfo/jdev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic