I have a scenario where Producer is sending n no: of messages to a JMS queue, My queue will process this message and send to another queue, My code is working well in a single threaded scenario. Now i want to do a load testing where my application should handle n number of messages at a time. After several reading, I understand we can configure concurrency to 10 or any number. Now I have 2 questions. 1) do we need to explicity handle multi threading using Task executor or JMSTemplate in spring will handle this ? 2) How to do retry mechanism if the sender queue is down or any error happened. I reaseached a lot, but couldnt find any examples for IBM MQ retry.
Any help would be greatly appreciated
Today you are you, that is turer than true. There is no one alive who is youer than you! - Seuss. Tiny ad: