• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

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: 22656
126
Eclipse IDE Spring VI Editor 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 ...
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic