Hello Friends,

I have set MaxTimesRedelivered = 3 in my "standardjboss.xml".
My question is how to access this parameter programmatically in the MDB ?

I have tried to access "JMS_JBOSS_REDELIVERY_LIMIT", but it says 
"JMS_JBOSS_REDELIVERY_LIMIT" is not set.

So please help me. How can i access this variable programmatically.

Thanks in advance.
Vijay



  | <invoker-proxy-binding>
  |       <name>erx-gateway-message-driven-bean</name>
  |       <invoker-mbean>default</invoker-mbean>
  |       
<proxy-factory>org.jboss.ejb.plugins.jms.JMSContainerInvoker</proxy-factory>
  |       <proxy-factory-config>
  |         <JMSProviderAdapterJNDI>DefaultJMSProvider</JMSProviderAdapterJNDI>
  |         
<ServerSessionPoolFactoryJNDI>StdJMSPool</ServerSessionPoolFactoryJNDI>
  |         <!-- WARN: Don't set this to zero until a bug in the pooled 
executor is fixed -->
  |         <MinimumSize>1</MinimumSize>
  |         <MaximumSize>15</MaximumSize>
  |         <KeepAliveMillis>30000</KeepAliveMillis>
  |         <MaxMessages>1</MaxMessages>
  |         <MDBConfig>
  |           <ReconnectIntervalSec>10</ReconnectIntervalSec>
  |           <DLQConfig>
  |       <DestinationQueue>queue/ErrorQueue</DestinationQueue>
  |                   <MaxTimesRedelivered>3</MaxTimesRedelivered>
  |                   <TimeToLive>0</TimeToLive>
  |           </DLQConfig>
  |         </MDBConfig>
  |       </proxy-factory-config>
  |     </invoker-proxy-binding>
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872643#3872643

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872643


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to