[jboss-user] [Messaging, JMS & JBossMQ] - Re: assigning java thread priority to MDB ?
smatyas
do-not-reply at jboss.com
Tue Aug 14 10:23:44 EDT 2007
As I'm not familiar completely with how to modify the SMDB configuration, how exactly would you modify it to introduce a ThreadPriorityInceptor?
Example config (see conf/standardjboss.xml)
<container-configuration>
| <container-name>Standard Message Driven Bean</container-name>
| <call-logging>false</call-logging>
| <invoker-proxy-binding-name>message-driven-bean</invoker-proxy-binding-name>
| <container-interceptors>
| <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
| <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
| <interceptor>org.jboss.ejb.plugins.RunAsSecurityInterceptor</interceptor>
| <!-- CMT -->
| <interceptor transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
| <interceptor transaction="Container">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
| <interceptor transaction="Container">org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor</interceptor>
| <!-- BMT -->
| <interceptor transaction="Bean">org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor</interceptor>
| <interceptor transaction="Bean">org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT</interceptor>
| <interceptor transaction="Bean">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
| <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
| </container-interceptors>
| <instance-pool>org.jboss.ejb.plugins.MessageDrivenInstancePool</instance-pool>
| <instance-cache></instance-cache>
| <persistence-manager></persistence-manager>
| <container-pool-conf>
| <MaximumSize>100</MaximumSize>
| </container-pool-conf>
| </container-configuration>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074044#4074044
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074044
More information about the jboss-user
mailing list