This content has been marked as final.
Show 5 replies
-
1. Re: MaxDeliveryAttempts not working
ataylor Jul 27, 2009 8:25 AM (in response to mariuszs)From the log message it looks like its the JCA layer thats sending to the DLQ not JBM. You're MDB config is probably incorrect.
The JCA or App server forums should be able to help you or take a look at the MDB docs. -
2. Re: MaxDeliveryAttempts not working
mariuszs Jul 29, 2009 6:06 AM (in response to mariuszs)"ataylor" wrote:
From the log message it looks like its the JCA layer thats sending to the DLQ not JBM. You're MDB config is probably incorrect.
The JCA or App server forums should be able to help you or take a look at the MDB docs.
Im using default configuration, so the default configuration in jboss501 is not working?<mbean code="org.jboss.jms.server.destination.QueueService" name="jboss.messaging.destination:service=Queue,name=MyQueue" xmbean-dd="xmdesc/Queue-xmbean.xml"> <attribute name="MessageCounterHistoryDayLimit">-1</attribute> <attribute name="RedeliveryDelay">300000</attribute> <attribute name="MaxDeliveryAttempts">100000</attribute> <attribute name="SecurityConfig"> <security> <role name="myrole" read="true" write="true" create="true" /> </security> </attribute> <depends optional-attribute-name="ServerPeer"> jboss.messaging:service=ServerPeer</depends> <depends>jboss.messaging:service=PostOffice </depends> <attribute name="Clustered">true</attribute> </mbean>
-
3. Re: MaxDeliveryAttempts not working
mariuszs Jul 29, 2009 6:11 AM (in response to mariuszs)The documentations simple say:
5.6.2.1.6. MaxDeliveryAttempts
The maximum number of times delivery of a message will be attempted before sending the message to the DLQ, if configured. If set to -1 (the default), the value from the ServerPeer config is used. Any other setting overrides the value set on the ServerPeer config.
Setting DefaultMaxDeliveryAttempts in ServerPeer configuration to high value also not work. -
4. Re: MaxDeliveryAttempts not working
ataylor Jul 29, 2009 6:12 AM (in response to mariuszs)Yeah, thats part of the messaging docs. But MDB's do there own DLQ handling which has nothing to do with messaging. I think its a setting on the MDB but i am not sure.
-
5. Re: MaxDeliveryAttempts not working
mariuszs Jul 29, 2009 7:00 AM (in response to mariuszs)Ok, thanks. I think I should use MaxTimesRedelivered in standardjboss.xml.