Xavier Portebois
Xavier Portebois

Reputation: 3505

How configure the pool size of @MessageDriven without using annotation?

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

Answers (2)

Acn
Acn

Reputation: 1066

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

Upvotes: 1

disorder
disorder

Reputation: 291

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

Upvotes: 0

Related Questions