Skip to main content

config_get_binding_domain_max_retries

Last updated March 2020

Name

config_get_binding_domain_max_retries — Return the value of the max_retries option

Synopsis

#include "ec_config.h"

| int **config_get_binding_domain_max_retries** ( | caller_scope, |   | |   | binding, |   | |   | domain); |   |

generic_module_infrastructure * <var class="pdparam">caller_scope</var>; int <var class="pdparam">binding</var>; const * <var class="pdparam">domain</var>;

Description

Determine the value of the max_retries configuration option.

Note

The caller_scope argument is virtually always NULL; there is no reason for a consumer to make it anything else.

Parameters

caller_scope

For a definition of this data type see “generic_module_infrastructure”.

binding

The binding identifier.

domain

The domain name.

Return Values

This function returns the integer value of the max_retries option. A return value of 0 indicates 'auto' which calculates the maximum number of retries based on the value of message_expiration. A return value of -1 indicates that there is no limit on the number of retries. Any other number is the number of retries that will be attempted.

Threading

It is legal to call this function in any thread.

See Also

Was this page helpful?