config_get_binding_domain_message_expiration

March 26, 2020 Contributors

Name

config_get_binding_domain_message_expiration — Return the value of the message_expiration option

Synopsis

#include "ec_config.h"

| int **config_get_binding_domain_message_expiration** ( | 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 message_expiration 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 message_expiration option, the maximum amount of time in seconds a message will remain undelivered in the system.

Threading

It is legal to call this function in any thread.

See Also

config_get_binding_domain_retry_interval and config_get_binding_domain_max_retries