Broker 10.15 | webMethods Broker Documentation | webMethods Broker Client Java API Programmer's Guide | Managing Event Types | Event Type Definitions | Obtaining Event Field Information | 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 by the Broker.
Storage Type
Description
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
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 BrokerTypeDef.getStorageType method 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 in the table 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