• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

How to unlimit the number of MDB instances listening to a WildFly JMS queue

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, All

The default settings - 15 instances. I need more threads for query handling, up to 100 or 200.

I tied that parameter, but it doesn't work:
@ActivationConfigProperty( propertyName = "maxSession", propertyValue = "100")

And I think, it is only for jBoss, not for WildFly.

Any proposals?
 
Sheriff
Posts: 22815
132
Eclipse IDE Spring Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How about this part of the standalone file?
 
Aleksandr Dyog
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Even this size don't help to increase instances count:
<strict-max-pool name="mdb-strict-max-pool" max-pool-size="1000000" instance-acquisition-timeout="2" instance-acquisition-timeout-unit="MINUTES"/>

My regular pool size = 400.
 
Aleksandr Dyog
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

And I'm talking about these parameters :
http://docs.jboss.org/ejb3/docs/tutorial/mdb/mdb.html
... are there any other places in WildFly where count of instances can be configured ?
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Also being discussed here https://developer.jboss.org/thread/261001. As Justin noted in that thread, it's combination of the pool size the and maxSession @ActivationConfigProperty on the MDB. If it still isn't working, please provide more details in that other thread including the exact configurations you are using and also add some details on how you are checking the number of instances.
 
Aleksandr Dyog
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok, I see...
We change logic and move some critical processes to other part of the system.
So this recommendation check little after ...
 
Please enjoy this holographic presentation of our apocalyptic dilemma right after this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic