void vortex_channel_set_outstanding_limit ( VortexChannel channel,
int  pending_messages,
axl_bool  fail_on_limit 

Allows to configure an outstanding send limit, causing all send operations (MSG) to be blocked (or to fail) if such limit is reached.

By default this limit is disabled (0).

channelThe channel to be configured.
pending_messagesThe amount of pending messages (unreplied MSG frames). To disable a limit previously configured, use 0.
fail_on_limitHow to fail if the limit is reached while doing a send operation. In this case, passing axl_false will cause the send operation to lock the caller until some reply is answred. In the case axl_true is passed, the send operation will fail and the message won't be send.