How to set "guaranteed" flag from java?


in the documentation there is a table that says the event is being transported with guaranteed delivery iff

a) client group has guaranteed setting
b) the event itself is set to guaranteed

I have no clue how to set the “guaranteed” flag on the event. There is no method like setTransportType. Only the BrokerTypeDef class provides some read-only variables but there are no “set” methods.

How to set “guaranteed” on an event in Java?

ps - all the BrokerTypeDef methods are deprecated - what that means? It is not documented why its deprecated and what to use instead of it.

Ah I see - document delivery type is defined during creating event type on the Broker! Ok.