Package io.axoniq.framework.springcloud.command
@NullMarked
package io.axoniq.framework.springcloud.command
The command side of the Spring Cloud connector: the connector distributing commands, and the HTTP transport carrying
them between members of the cluster.
SpringCloudCommandBusConnector picks the member owning a command's routing key, and either invokes this
application's own handler when that member is the local one, or hands the command to the transport. A command is one
request answered by one reply: CommandDispatchRequest and CommandDispatchReply are its wire format,
RemoteCommandDispatcher sends it, SpringCloudCommandController receives it, and
IncomingCommandInvoker turns a received request into an invocation of the local handler and its result back
into a reply.
-
ClassDescriptionThe wire representation of the outcome of handling a
commandon another member of the cluster.The wire representation of aCommandMessagebeing sent to another member of the cluster.The kinds of failure aCommandDispatchReplycan report, and the classification a receiving member needs to reconstruct an equivalent exception.TheRemoteCommandDispatcherthat sends commands to other members over HTTP, and reads back their outcome.Turns aCommandDispatchRequestreceived from another member into an invocation of this application's local command handler, and its outcome back into aCommandDispatchReply.Reports that a command could not be delivered to theMemberit was routed to, or that the member's reply could not be read back.Sends a command to another member of the cluster and reports back the outcome of handling it there.ACommandBusConnectordistributing commands across the nodes discovered through Spring Cloud Discovery.Receives commands sent by other members of the cluster over HTTP.