[jboss-user] [Messaging, JMS & JBossMQ] - Re: assigning java thread priority to MDB ?
adrian@jboss.org
do-not-reply at jboss.com
Fri Aug 24 09:38:07 EDT 2007
"smatyas" wrote : 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>com.acme.MyInterceptorHere</interceptor>
| |
| | <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=4077786#4077786
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077786
More information about the jboss-user
mailing list