Announcement Announcement Module
Collapse
No announcement yet.
How to configure multiple MDP for concurrent processing. Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to configure multiple MDP for concurrent processing.

    Hi,

    I've used Spring JMS in a recent project and it has worked very well.

    We now have another project wherein the WebSphere MQ is the messaging middleware and we've configured upto 5 MQ Message Listeners for every Queue Manager.
    In order to achieve maximum throughput, we wanted to configure a pool of 5-10 message driven pojo(s). I cannot seem to find this configuration in Spring's documentation. Should this setting or configuration be done on Spring's MessageListener Adapter? As per the documentation, the MesasgeListenerAdapter is multi-threaded and it'll create an instance of the MDP in every thread. We wanted to configure the exact number of MesasgeListenerThreads that can be alive & operational at any given time. Is such a setting possible?

    Please let me know.

    Thanks
    Sharad

  • #2
    It is all there in the documentation.

    With the setConcurrentConsumers you can set the initial size of the pool, with the setMaxConcurrentConsumers you can set the max.

    Comment


    • #3
      I'm working a project that using publish-subscribe model.
      Can someone please gives an example how to configure multiple listeners for one Topic Manager? Thank you very much.

      Comment

      Working...
      X