Interface JvmPubSubStorage
- All Known Implementing Classes:
StaticMapJvmPubSubStorage
public interface JvmPubSubStorage
Storage abstraction for JVM pub-sub messages.
Applications can override the default implementation by providing their own bean.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidclear()Clear storage (primarily useful for tests and in-memory implementations).default List<JvmPubSubMessage> findByTopic(String topic) Retrieve stored messages for a topic.voidsave(JvmPubSubMessage message) Persist an incoming or outgoing pub-sub message.
-
Method Details
-
save
Persist an incoming or outgoing pub-sub message. -
findByTopic
Retrieve stored messages for a topic. -
clear
default void clear()Clear storage (primarily useful for tests and in-memory implementations).
-
CHENILE