Remote MQ box fails, how to save messg that were supposed to be placed in Queue
posted 10 years ago
I have an architectural question.
What should be the best way of handling this scenario:
Messagfes are built by client. Then those messages will be placed in remote MQ server. Remote MQ server fails (worst case scenario, even with clusreing option). What is the best way of handling a scenario like that. I can think of a few options:
1) Give error messsage to client. It may not be the best option if several messages were supposed to be placed in a short period of time. 2) Write code so that those messages are persisted in database and those messages are placed in queue when MQ server is up.
Are there any choices for installing light weight JMS server in WAS (WebSphere App Server) box that will also hold messages? In that way, even if remote MQ server dies, those messages will sit in WAS box. Channel will be set between light weight JMS server in WAS box to remote MQ box.