Broker 10.15 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | Managing Event Types | Event Type Definitions | Obtaining Event Type Definitions | Obtaining Storage Type Property
 
Obtaining Storage Type Property
An event type's storage type property specifies the how events of its type will be stored in the Broker's incoming event queue.
Storage Type
Description
AW_STORAGE_GUARANTEED
A two-phase commit process is used to store incoming events on the Broker. This offers the lowest performance, but very little risk of losing events if a hardware, software, or network failure occurs
AW_STORAGE_VOLATILE
Local memory is used to store incoming events on the Broker. This offers higher performance along with a greater risk of losing events if a hardware, software, or network failure occurs.
Use the awGetTypeDefStorageType function to obtain the storage type for an event type.
Client groups have two storage modes; guaranteed and volatile. A client group's storage mode represents the highest storage mode allowed for any events being put into the event queue of a client belonging to that group. With one exception, the Broker will put events into a client's queue using the lesser of the client group's storage mode and the event type's storage mode, as shown below.
If the Client Group Storage Mode is...
And the Event Type Storage Mode is...
Broker will put events into a client's queue using...
Volatile
Volatile
Volatile
Volatile
Guaranteed
Volatile
Guaranteed
Volatile
Volatile
Guaranteed
Guaranteed
Guaranteed