Topic.UpdateStages.WithExpressMessage Interface

public static interface Topic.UpdateStages.WithExpressMessage

The stage of the topic definition allowing to mark it as either holding regular or express messages.

Method Summary

Modifier and Type Method and Description
abstract Update withExpressMessage()

Specifies that messages in this topic are express hence they can be cached in memory for some time before storing it in messaging store.

abstract Update withoutExpressMessage()

Specifies that messages in this topic are not express hence they should be cached in memory.

Method Details

withExpressMessage

public abstract Topic.Update withExpressMessage()

Specifies that messages in this topic are express hence they can be cached in memory for some time before storing it in messaging store.

Returns:

the next stage of topic update

withoutExpressMessage

public abstract Topic.Update withoutExpressMessage()

Specifies that messages in this topic are not express hence they should be cached in memory.

Returns:

the next stage of topic update

Applies to