Qpid Proton C++ API 0.41.1
Loading...
Searching...
No Matches
transaction_options

Options for declaring a session transaction. More...

#include <transaction_options.hpp>

Public Member Functions

 transaction_options ()
 Create a set of options (unset fields use their documented defaults on declare).
 transaction_options (const transaction_options &)
 Copy options.
transaction_options & operator= (const transaction_options &)
 Copy options.
void update (const transaction_options &other)
 Merge with another option set; values from other take precedence.
transaction_options & auto_modify_on_abort (bool)
 Unsettled API — If true, when a transaction is aborted, or a commit discharge is rejected, the client automatically dispositions any unsettled incoming deliveries (on receiver links) in this session with a modified (failed) outcome.

Detailed Description

Options for declaring a session transaction.

Options can be "chained" (see proton::connection_options).

Normal value semantics: copy or assign creates a separate copy of the options.

Member Function Documentation

◆ auto_modify_on_abort()

transaction_options & auto_modify_on_abort ( bool )

Unsettled API — If true, when a transaction is aborted, or a commit discharge is rejected, the client automatically dispositions any unsettled incoming deliveries (on receiver links) in this session with a modified (failed) outcome.

If false, the application must update those deliveries itself. The default is true.


The documentation for this class was generated from the following file: