Options
All
  • Public
  • Public/Protected
  • All
Menu

Overload policy for Reliable Topic.

Index

Enumeration members

BLOCK

BLOCK: = "BLOCK"

The caller will wait till there space in the ringbuffer.

DISCARD_NEWEST

DISCARD_NEWEST: = "DISCARD_NEWEST"

The message that was to be published, is discarded.

DISCARD_OLDEST

DISCARD_OLDEST: = "DISCARD_OLDEST"

Using this policy, a message that has not expired can be overwritten. No matter the retention period set, the overwrite will just overwrite the item.

This can be a problem for slow consumers because they were promised a certain time window to process messages. However, it will benefit producers and fast consumers since they are able to continue. This policy sacrifices the slow producer in favor of fast producers/consumers.

ERROR

ERROR: = "ERROR"

The publish call immediately fails.

Generated using TypeDoc