Class AbstractQueryResponseMessageStream<T>

java.lang.Object
org.axonframework.messaging.core.AbstractMessageStream<QueryResponseMessage>
io.axoniq.framework.axonserver.connector.query.AbstractQueryResponseMessageStream<T>
Type Parameters:
T - The type of the objects in the underlying ResultStream to be transformed into QueryResponseMessages.
All Implemented Interfaces:
MessageStream<QueryResponseMessage>
Direct Known Subclasses:
QueryResponseMessageStream, QueryUpdateMessageStream

@Internal public abstract class AbstractQueryResponseMessageStream<T> extends AbstractMessageStream<QueryResponseMessage>
An abstract implementation of the MessageStream interface that wraps a ResultStream. This class provides functionality for transforming the data in the ResultStream into QueryResponseMessages, handling any encountered errors, and managing stream lifecycle events.
Since:
5.0.0
Author:
Allard Buijze, Jan Gallinkski, John Hendrikx