Uses of Class
io.fluxzero.sdk.common.Message
Packages that use Message
Package
Description
-
Uses of Message in io.fluxzero.sdk.common
Methods in io.fluxzero.sdk.common that return MessageModifier and TypeMethodDescriptionMessage.addMetadata(Metadata metadata) Returns a new message with the combined metadata.Message.addMetadata(Object... keyValues) Adds multiple metadata entries.Message.addMetadata(String key, Object value) Adds a single metadata entry.Message.addMetadata(Map<String, ?> values) Adds metadata from a given map.Attaches a user object to the metadata using the configuredUserProvider.static MessageConverts any object into aMessage.HasMessage.toMessage()Returns the underlyingMessagerepresentation of this object.Message.toMessage()Message.withPayload(Object payload) Returns a new message instance with the provided payload and existing metadata, ID, and timestamp. -
Uses of Message in io.fluxzero.sdk.common.serialization
Methods in io.fluxzero.sdk.common.serialization that return MessageConstructors in io.fluxzero.sdk.common.serialization with parameters of type MessageModifierConstructorDescriptionDeserializingMessage(@NonNull Message message, MessageType messageType, Serializer serializer) DeserializingMessage(@NonNull Message message, MessageType messageType, String topic, Serializer serializer) -
Uses of Message in io.fluxzero.sdk.modeling
Methods in io.fluxzero.sdk.modeling that return MessageMethods in io.fluxzero.sdk.modeling with parameters of type MessageModifier and TypeMethodDescriptionApplies the given message to the entity. -
Uses of Message in io.fluxzero.sdk.publishing
Methods in io.fluxzero.sdk.publishing that return MessageModifier and TypeMethodDescriptionAdhocDispatchInterceptor.interceptDispatch(Message message, MessageType messageType, String topic) Intercepts a message before dispatch for the given message type and topic.DispatchInterceptor.interceptDispatch(Message message, MessageType messageType, String topic) Intercepts the dispatch of a message before it is serialized and published or locally handled.Methods in io.fluxzero.sdk.publishing that return types with arguments of type MessageModifier and TypeMethodDescriptionprotected CompletableFuture<Message> DefaultGenericGateway.emptyReturnMessage()CommandGateway.sendForMessage(Message message) default CompletableFuture<Message> GenericGateway.sendForMessage(Message message) QueryGateway.sendForMessage(Message message) Sends the givenMessageand returns a future representing the resulting message.CommandGateway.sendForMessages(Message... messages) Sends multiple messages and returns futures for the result messages.DefaultGenericGateway.sendForMessages(Message... messages) GenericGateway.sendForMessages(Message... messages) Sends multiple messages and returns futures for their fullMessageresponses.QueryGateway.sendForMessages(Message... messages) Sends multiple queryMessages and returns a list of futures for the raw responses.Methods in io.fluxzero.sdk.publishing with parameters of type MessageModifier and TypeMethodDescriptionAdhocDispatchInterceptor.interceptDispatch(Message message, MessageType messageType, String topic) Intercepts a message before dispatch for the given message type and topic.DispatchInterceptor.interceptDispatch(Message message, MessageType messageType, String topic) Intercepts the dispatch of a message before it is serialized and published or locally handled.AdhocDispatchInterceptor.modifySerializedMessage(SerializedMessage serializedMessage, Message message, MessageType messageType, String topic) Optionally modifies the serialized message before dispatch, delegating to any registered ad hoc interceptor for the current thread.default SerializedMessageDispatchInterceptor.modifySerializedMessage(SerializedMessage serializedMessage, Message message, MessageType messageType, String topic) Allows modifications to the serialized representation of the message before it is actually published.voidAdhocDispatchInterceptor.monitorDispatch(Message message, MessageType messageType, String topic, String namespace) Optionally monitors a dispatched message using any registered ad hoc interceptor for the current thread.default voidDispatchInterceptor.monitorDispatch(Message message, MessageType messageType, String topic, String namespace) Hook to observe the dispatch of a message.Publishes the givenMessageto Fluxzero and/or local handlers.default <R> CompletableFuture<R> Sends aMessageand returns a future that completes with its response payload.DefaultGenericGateway.sendAndForget(Guarantee guarantee, Message... messages) DefaultGenericGateway.sendAndForget(Guarantee guarantee, UnaryOperator<SerializedMessage> interceptor, Message... messages) GenericGateway.sendAndForget(Guarantee guarantee, Message... messages) Sends multipleMessageobjects with a guarantee.GenericGateway.sendAndForget(Guarantee guarantee, UnaryOperator<SerializedMessage> interceptor, Message... messages) Sends multipleMessageobjects with a guarantee.default CompletableFuture<Void> GenericGateway.sendAndForget(Message message, Guarantee guarantee) Sends aMessageasynchronously with a given guarantee.default <R> RGenericGateway.sendAndWait(Message message) Sends a message and blocks for a result with a configurable timeout.CommandGateway.sendForMessage(Message message) default CompletableFuture<Message> GenericGateway.sendForMessage(Message message) QueryGateway.sendForMessage(Message message) Sends the givenMessageand returns a future representing the resulting message.CommandGateway.sendForMessages(Message... messages) Sends multiple messages and returns futures for the result messages.DefaultGenericGateway.sendForMessages(Message... messages) GenericGateway.sendForMessages(Message... messages) Sends multiple messages and returns futures for their fullMessageresponses.QueryGateway.sendForMessages(Message... messages) Sends multiple queryMessages and returns a list of futures for the raw responses. -
Uses of Message in io.fluxzero.sdk.publishing.correlation
Methods in io.fluxzero.sdk.publishing.correlation that return MessageModifier and TypeMethodDescriptionCorrelatingInterceptor.interceptDispatch(Message message, MessageType messageType, String topic) Methods in io.fluxzero.sdk.publishing.correlation with parameters of type MessageModifier and TypeMethodDescriptionCorrelatingInterceptor.interceptDispatch(Message message, MessageType messageType, String topic) -
Uses of Message in io.fluxzero.sdk.publishing.dataprotection
Methods in io.fluxzero.sdk.publishing.dataprotection that return MessageModifier and TypeMethodDescriptionDataProtectionInterceptor.interceptDispatch(Message m, MessageType messageType, String topic) Methods in io.fluxzero.sdk.publishing.dataprotection with parameters of type MessageModifier and TypeMethodDescriptionDataProtectionInterceptor.interceptDispatch(Message m, MessageType messageType, String topic) -
Uses of Message in io.fluxzero.sdk.publishing.routing
Methods in io.fluxzero.sdk.publishing.routing that return MessageModifier and TypeMethodDescriptionMessageRoutingInterceptor.interceptDispatch(Message message, MessageType messageType, String topic) Returns the unmodifiedMessageas this interceptor only modifies the serialized form.Methods in io.fluxzero.sdk.publishing.routing with parameters of type MessageModifier and TypeMethodDescriptionMessageRoutingInterceptor.interceptDispatch(Message message, MessageType messageType, String topic) Returns the unmodifiedMessageas this interceptor only modifies the serialized form.MessageRoutingInterceptor.modifySerializedMessage(SerializedMessage serializedMessage, Message m, MessageType messageType, String topic) Computes and sets the routing segment on the serialized message if not already present. -
Uses of Message in io.fluxzero.sdk.scheduling
Subclasses of Message in io.fluxzero.sdk.schedulingModifier and TypeClassDescriptionclassRepresents a scheduled message to be delivered at a specific future time.Methods in io.fluxzero.sdk.scheduling that return MessageModifier and TypeMethodDescriptionSchedulingInterceptor.interceptDispatch(Message message, MessageType messageType, String topic) Methods in io.fluxzero.sdk.scheduling with parameters of type MessageModifier and TypeMethodDescriptionSchedulingInterceptor.interceptDispatch(Message message, MessageType messageType, String topic) -
Uses of Message in io.fluxzero.sdk.tracking.handling
Methods in io.fluxzero.sdk.tracking.handling that return Message -
Uses of Message in io.fluxzero.sdk.tracking.handling.authentication
Methods in io.fluxzero.sdk.tracking.handling.authentication that return MessageModifier and TypeMethodDescriptionAuthenticatingInterceptor.interceptDispatch(Message m, MessageType messageType, String topic) Methods in io.fluxzero.sdk.tracking.handling.authentication with parameters of type MessageModifier and TypeMethodDescriptionAuthenticatingInterceptor.interceptDispatch(Message m, MessageType messageType, String topic) -
Uses of Message in io.fluxzero.sdk.web
Subclasses of Message in io.fluxzero.sdk.webModifier and TypeClassDescriptionclassRepresents a web request message within the Fluxzero Runtime.classRepresents a response to aWebRequestin the Fluxzero Runtime.Methods in io.fluxzero.sdk.web that return MessageModifier and TypeMethodDescriptionWebResponseCompressingInterceptor.interceptDispatch(Message message, MessageType messageType, String topic) No-op for message interception.WebsocketResponseInterceptor.interceptDispatch(Message message, MessageType messageType, String topic) Intercepts and conditionally modifies an outgoing message in the context of a WebSocket request.Methods in io.fluxzero.sdk.web with parameters of type MessageModifier and TypeMethodDescriptionWebResponseCompressingInterceptor.interceptDispatch(Message message, MessageType messageType, String topic) No-op for message interception.WebsocketResponseInterceptor.interceptDispatch(Message message, MessageType messageType, String topic) Intercepts and conditionally modifies an outgoing message in the context of a WebSocket request.WebResponseCompressingInterceptor.modifySerializedMessage(SerializedMessage response, Message message, MessageType type, String topic) Compresses the given response message using GZIP if the request supports compression and the response meets compression criteria.Constructors in io.fluxzero.sdk.web with parameters of type MessageModifierConstructorDescriptionConstructs a new WebRequest instance using the provided Message.Constructs a new WebResponse instance using the provided Message object.