Hello all,--Im trying to set up websocket server in spring in conjunction with axon(3), however I am unsure how to implement this and was wondering if anyone has done something similar and could offer any help :)Unfortunately my only web socket experience is with Primus and socket.io js :/My current hope is that perhaps in an axon event handler, the handler would listen to an axon event and then publish that over a web socket connection.example:public class DreamDemo {@AutowiredWebsocketServer ws;@EventHandlerpublic void on(SurchargeAppliedToOrderEvent event ) {ws.emit("surcharge-applied", new Payload<>(...)) //etc}}Notes:1. The server only needs to "send" ws messages (to the client), it does not need to receive data over the web socket. So its only one way per se.2. If it helps the general overview is:server(axon+spring boot)(command --> aggregate --> event handler) ------->websocket(Spring STOMP????)^ || || |^---(HTTP POST reqs)------Web App----(web-socket feed)-------<Any help would be greatly appreciated.
You received this message because you are subscribed to the Google Groups "Axon Framework Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to axonframework+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to axonframewor...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Axon Framework Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to axonframewor...@googlegroups.com.