1

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?

Ondra Žižka
  • 43,948
  • 41
  • 217
  • 277
Xavier Portebois
  • 3,354
  • 6
  • 33
  • 53

2 Answers2

1

I meant that you should go to admin console of JBoss Application Server 7+.

This can be done in other servers.

Refer this web page -> click

Acn
  • 1,010
  • 2
  • 11
  • 22
  • Do you refer to the web console of the AS (in which case I checked that but cannot find any way to configure the pool size), or to some online documentation I may have not seen? – Xavier Portebois Jan 05 '12 at 09:06
  • Well, I'm afraid this documentation is not for JBoss7 (which changes all the configuration system), and besides I cannot find any reference to the console in the linked web page. – Xavier Portebois Jan 05 '12 at 12:36
0

I think you can do this in jboss.xml: JBoss docs

disorder
  • 291
  • 1
  • 7
  • Agreed, but there is no longer `jboss.xml` file in JBoss7 (or it is really well hidden).With the standalone.xml thing, all the configuration set is now changed :-/ – Xavier Portebois Jan 05 '12 at 09:04