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>