Package com.rabbitmq.stream
Interface RoutingStrategy
public interface RoutingStrategy
Strategy to route outbound messages to appropriate streams.
This is an experimental API, subject to change.
Used for super streams (partitioned stream).
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Metadata on the super stream. -
Method Summary
Modifier and TypeMethodDescriptionroute
(Message message, RoutingStrategy.Metadata metadata) Where to route a message.
-
Method Details
-
route
Where to route a message.- Parameters:
message
-metadata
-- Returns:
- the list of streams to route messages to
-