This content has been marked as final.
Show 3 replies
-
1. Re: Clustered MDB load balance
visolvejboss Dec 26, 2006 11:43 PM (in response to carlos.grahl)Hello,
You can set the pool size for MDB in the following file on jboss.
At standardjboss.xml file in the path, <JBOSS_HOME>/server/all/conf/standardjboss.xml189 <invoker-proxy-binding> 190 <name>message-driven-bean</name> 191 <invoker-mbean>default</invoker-mbean> 192 <proxy-factory>org.jboss.ejb.plugins.jms.JMSContainerInvoker</proxy-factory> 193 <proxy-factory-config> 194 <JMSProviderAdapterJNDI>DefaultJMSProvider</JMSProviderAdapterJNDI> 195 <ServerSessionPoolFactoryJNDI>StdJMSPool</ServerSessionPoolFactoryJNDI> 196 <CreateJBossMQDestination>true</CreateJBossMQDestination> 197 <!-- WARN: Don't set this to zero until a bug in the pooled executor is fixed --> 198 <MinimumSize>1</MinimumSize> 199 <MaximumSize>15</MaximumSize> 200 <KeepAliveMillis>30000</KeepAliveMillis> 201 <MaxMessages>1</MaxMessages> 202 <MDBConfig> 203 <ReconnectIntervalSec>10</ReconnectIntervalSec> 204 <DLQConfig> 205 <DestinationQueue>queue/DLQ</DestinationQueue> 206 <MaxTimesRedelivered>10</MaxTimesRedelivered> 207 <TimeToLive>0</TimeToLive> 208 </DLQConfig> 209 </MDBConfig> 210 </proxy-factory-config> 211 </invoker-proxy-binding>
Hope, this might solve your problem. -
2. Re: Clustered MDB load balance
carlos.grahl Dec 27, 2006 3:59 AM (in response to carlos.grahl)Thank you for your response.
Only more one question: It's possible to configure this pool size individually, per machine? Since this MDB is clustered, Jboss accepts individual configuration?
Thank you,
Carlos Augusto Grahl -
3. Re: Clustered MDB load balance
brian.stansberry Jan 2, 2007 9:58 AM (in response to carlos.grahl)Yes, this can be configured per machine.