I am confused, in the code it is initialized to -1:
/** * The number of times a message will be redelivered after a recover or rollback. * The value <code>-1</code> means there is no configured limit. */ public int redeliveryLimit =-1 ;
public void setRedeliveryLimit(int limit) { if (limit < 0) throw new IllegalArgumentException("Negative redelivery limit: " + limit); parameters.redeliveryLimit = limit; }
You're in the wrong forum.
RedeliveryLimit is a JBoss MQ attribute, not a JBoss Messaging attribute.
This forum is for JBoss Messaging users.
[Moved from JBM forum]