Reputation: 3505
We have a unique EAR file and we would like to deploy it on two distinct servers.
On the first one, we don't want any MessageDriven
beans to be processed (this server is dedicated to synchronous requests and to produce JMS messages).
On the second one, we want a MessageDriven
beans pool to listen and process the JMS messages.
We are on JBoss 7.0.2 (and we'll move to 7.1.0 thereafter).
The only way I found to configure pool size is through an @ActivationConfigProperty
with name maxSession
, but it means the value is hard coded in the class file.
Is there another way, like a configuration in the not-so-well documented standalone.xml
, that allows us to define the pool size by server?
Upvotes: 1
Views: 770