Interface Topic.UpdateStages.WithExpressMessage
- All Known Subinterfaces:
Topic.Update
- Enclosing interface:
- Topic.UpdateStages
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 TypeMethodDescriptionSpecifies that messages in this topic are express hence they can be cached in memory for some time before storing it in messaging store.Specifies that messages in this topic are not express hence they should be cached in memory.
-
Method Details
-
withExpressMessage
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
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
-