PubSub+ Messaging API For C
7.31.0.7
|
Functions | Typedefs | Enumerations | Enumeration Values | Defines |
Defines the valid set of actions the API will take if it is unable to reconnect guaranteed delivery after a session reconnect. More...
Macros | |
#define | SOLCLIENT_SESSION_PROP_GD_RECONNECT_FAIL_ACTION_AUTO_RETRY ("GD_RECONNECT_FAIL_ACTION_AUTO_RETRY") |
Clear the publisher state and reconnect the publisher flow. More... | |
#define | SOLCLIENT_SESSION_PROP_GD_RECONNECT_FAIL_ACTION_DISCONNECT ("GD_RECONNECT_FAIL_ACTION_DISCONNECT") |
Disconnect the session, even if SOLCLIENT_SESSION_PROP_RECONNECT_RETRIES is configured to a non-zero value. More... | |
Defines the valid set of actions the API will take if it is unable to reconnect guaranteed delivery after a session reconnect.
This will occur when a host-list is used, such as for disaster recovery. After session reconnect to the next router in the host-list the guaranteed delivery reconnect will not succeed as guaranteed delivery state is only preserved between a high-availability pair.
#define SOLCLIENT_SESSION_PROP_GD_RECONNECT_FAIL_ACTION_AUTO_RETRY ("GD_RECONNECT_FAIL_ACTION_AUTO_RETRY") |
Clear the publisher state and reconnect the publisher flow.
Then republish all unacknowledged messages, this may cause duplication. The API then continues the reconnect process as usual.
#define SOLCLIENT_SESSION_PROP_GD_RECONNECT_FAIL_ACTION_DISCONNECT ("GD_RECONNECT_FAIL_ACTION_DISCONNECT") |
Disconnect the session, even if SOLCLIENT_SESSION_PROP_RECONNECT_RETRIES is configured to a non-zero value.
This is the legacy behavior. If the application attempts to manually reconnect the session, it is also responsible for unacknowledged messages. If the application chooses to resend those messages, there may be duplication. If the application chooses not to resend those messages there may be message loss.
Special considerations are required for SOLCLIENT_SESSION_PROP_GD_RECONNECT_FAIL_ACTION_DISCONNECT: