Re: [jgroups-users] Callback for non delivered messages?

Questions/problems related to using JGroups <[email protected]> Mon, 30 Mar 2020 13:42:20 +0200
Newsgroups gmane.comp.java.javagroups.general
Message-ID <mailman.50604.1585568560.1535.javagroups-users@lists.sourceforge.net>

On 27.03.20 19:22, Questions/problems related to using JGroups wrote:
> Is there an easy way I can get notification of delivery failure of a 
> give message?

What's a delivery failure? At the application level? You could use 
RpcDispatcher and check RspList for failures (exceptions). Or use the 
JChannel directly and send back ack messages which are collected and 
checked by the sender.

> Also related, Is Channel.send a blocking method?

Not per se. However, send() can block in the following cases:
* The transport is TCP and the send blocks because of a full TCP send-window
* Flow control (MFC/UFC) blocks because the receiver(s) don't send 
enough credits back

> _______________________________________________
> javagroups-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/javagroups-users
> 

-- 
Bela Ban | http://www.jgroups.org