Nevermind on this one. I think the issue is that there’s no really solid way to test this.
I don’t know enough about the JMS internals. It seems like if I keep the session,consumer open, that the client acknowledge never times out. I gave it ten minutes and it never attempted to hand out the message to a new consumer. I guess I would have to do something like kill -9 a Java proc to really test failure. On Fri, Apr 17, 2015 at 2:06 PM, Kevin Burton <[email protected]> wrote: > It looks like redelivery variables work if you call session.rollback() … > but not if you just never send an acknowledgment when running with > CLIENT_ACKNOWLEDGE mode. > > http://activemq.apache.org/redelivery-policy.html > > It seems like it’s exactly 2000ms no matter if I set > initialRedeliveryDelay or redeliveryDelay. > > So there must be some other variable I’m not seeing. > > I did an RTFM and couldn’t find anything. So I must be blind or the > documentation is hidden :-P > > -- > > Founder/CEO Spinn3r.com > Location: *San Francisco, CA* > blog: http://burtonator.wordpress.com > … or check out my Google+ profile > <https://plus.google.com/102718274791889610666/posts> > <http://spinn3r.com> > > -- Founder/CEO Spinn3r.com Location: *San Francisco, CA* blog: http://burtonator.wordpress.com … or check out my Google+ profile <https://plus.google.com/102718274791889610666/posts> <http://spinn3r.com>
