• Post Reply Bookmark Topic Watch Topic
  • New Topic

Spring boot IBM MQ Multithreading  RSS feed

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!