You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, i was able to process messages with these signature: @Incoming("testchannel") @Outgoing("testResponseChannel") public CompletionStage<Message<String>> onMessage(Message<String> message) { //process incoming message and return message for outgoing channel
But i would like to do this concurrently, in parallel read x messages from incoming channel and process them. I would really appreciate some simple example how this can be achieved. Or is this not recomended way for some reason? Cause i cannot find single example for this
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, i was able to process messages with these signature:
@Incoming("testchannel") @Outgoing("testResponseChannel") public CompletionStage<Message<String>> onMessage(Message<String> message) { //process incoming message and return message for outgoing channel
But i would like to do this concurrently, in parallel read x messages from incoming channel and process them. I would really appreciate some simple example how this can be achieved. Or is this not recomended way for some reason? Cause i cannot find single example for this
Beta Was this translation helpful? Give feedback.
All reactions