• 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
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

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

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • 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: 21745
102
Chrome Eclipse IDE Java Spring Ubuntu VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How about this part of the standalone file?
 
Aleksandr Dyog
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
  • 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 ...
 
For my next feat, I will require a volunteer from the audience! Perhaps this tiny ad?
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!