activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <>
Subject Re: does redelivery require client configuration?
Date Mon, 28 Jul 2014 14:50:23 GMT
On 07/27/2014 10:04 PM, Kevin Burton wrote:
> I'm having a difficult time getting redelivery to work.
> All the tests seem to have redelivery specified in the client.
> Which I don't understand because this seems dangerous.  If a client were to
> connect without redelivery settings, its messages would never get
> re-executed.

The client has default settings for redelivery, see RedeliveryPolicy.  
If the client goes down it's messages that are pending (unacknowledged) 
get redelivered to another client, no loss.

> So I've been using the redelivery plugin … but I can't get it to work.
> This test:
> uses the redelivery plugin.  BUT, it also specifies client settings for
> redelivery.
> 1.  Are client settings required even for the plugin?
The test settings simply reduce the amount of time it'd take the test to 
run by immediately rejecting the rolled back messages instead of 
re-delivering them locally based on the default policy settings.

> 2.  isn't it dangerous to require the client to specify redelivery
> settings?  If you created one without those settings the client may just
> start dropping messages.

Tim Bish
Sr Software Engineer | RedHat Inc. | |
skype: tabish121 | twitter: @tabish121

View raw message