Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Spring SimpleMessageBroker in production code

I wanted to ask on wider community if Spring SimpleMessageBroker is ready for production use.

My use case is very simple. From my perspective broker in memory will be enough. I don't need to start any rabbit or other messaging service.

What I found is one statement https://stackoverflow.com/a/24907072/1370062 but with no wider explanation. Maybe author said this because at that time spring was in early stages with supporting websocket communication.

Can I use Simple Message Broker? I haven't found any official advices regarding to this in spring documentation. Waiting for advices.

like image 573
RMachnik Avatar asked Sep 14 '25 05:09

RMachnik


1 Answers

If you have just one application instance you don't need to use a real message broker. In that case Spring's SimpleMessageBroker is available for production use.

like image 163
azizunsal Avatar answered Sep 16 '25 17:09

azizunsal