• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Spring boot IBM MQ Multithreading

 
Ranch Hand
Posts: 45
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic