Win a copy of Kotlin for Android App Development this week in the Kotlin forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Spring boot IBM MQ Multithreading  RSS feed

 
Ranch Hand
Posts: 45
  • Likes 1
  • 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
 
He was expelled for perverse baking experiments. This tiny ad is a model student:
Programmatically Create PDF Using Free Spire.PDF with Java
https://coderanch.com/wiki/703735/Programmatically-Create-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!