Is there a possibility to send Messages in a sequential way like flatMapSequential from client to Server? The default behaviour seems to be only in an almost sequential way like flatMap if I use
requester.route("name")
.data(fluxSendToServer.doOnNext(nr -> log.trace("Send next " + nr.getRequest().getCurrentSequenceValue())))
.retrieveFlux(ResponseMessageWrapper.class)
and log the sequence at the server.
Thank you for your answer. If I change the Code at the client to
and use the same code at the receiving server method
For a Flux of 4000 Elements I get each time the IllegalStateException at random positions for Example Error in Route send-message-client-to-server Orderingproblem at server at index 2175
In case I use less elements it seems to repeatedly work.