No, this is not what RabbitMQ was designed for. Use a data store, which will also give you more sophisticated ways of querying
your data set.
On 05.06.2020, 01:46, rabbitm...@googlegroups.com on behalf of Rajiv Ranjan wrote:
Hi,
I am working on the chat application building using spring websocket and stomp. what is happening here is user message is getting queued in rabbitmq while chatting but on client side after consuming using stomp subscribe feature to the same queue, message in the queue getting disappear. Is this the ideal behavior of the durable queue ? Can't we use RabbitMQ to store the message permanently even after consumption? I want to achieve feature showing user history chat when user goes online or offline using rabbitmq only with no additional Mysql database. Is it possible?
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit
https://groups.google.com/d/msgid/rabbitmq-users/fc2bef5b-eb86-4a2d-aa6c-ce70a2945f2bo%40googlegroups.com.
Hi,I am working on the chat application building using spring websocket and stomp. what is happening here is user message is getting queued in rabbitmq while chatting but on client side after consuming using stomp subscribe feature to the same queue, message in the queue getting disappear. Is this the ideal behavior of the durable queue ? Can't we use RabbitMQ to store the message permanently even after consumption? I want to achieve feature showing user history chat when user goes online or offline using rabbitmq only with no additional Mysql database. Is it possible?
You shouldn't use RMQ for persistent data storage.Instead you could choose a dedicated storage service, like the quite hot project recently: Apache Ignite.But you could have RMQ in front of storage service as message queues for IM application.Regards.5 June 2020, 06:46:38, by "Rajiv Ranjan" <rajiv...@gmail.com>:
Hi,--I am working on the chat application building using spring websocket and stomp. what is happening here is user message is getting queued in rabbitmq while chatting but on client side after consuming using stomp subscribe feature to the same queue, message in the queue getting disappear. Is this the ideal behavior of the durable queue ? Can't we use RabbitMQ to store the message permanently even after consumption? I want to achieve feature showing user history chat when user goes online or offline using rabbitmq only with no additional Mysql database. Is it possible?
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitm...@googlegroups.com.
For *long term* persistent data storage 😉
To view this discussion on the web, visit
https://groups.google.com/d/msgid/rabbitmq-users/1591317932.123689000.zu3as8p3%40frv55.fwdcdn.com.