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 ;

However, if you try to set it to -1 via jmx, it throws an exception:
  public void setRedeliveryLimit(int limit)
  |    {
  |       if (limit < 0)
  |          throw new IllegalArgumentException("Negative redelivery limit: " + 
limit);
  |       
  |       parameters.redeliveryLimit = limit;
  |    }

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098002
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to