SonicMQ setMaxDeliveryCount Questions

Shawn Roth

New Member
I want to set up some messages to attempt delivery one time and if they are not acknowledged on the first attempt, I want to move them to a secondary queue. Here is my example.

I am generating a sonic message to generate a report subscription on a SSRS Server. If for whatever reason the report cannot be generated (server down, missing or mismatched parameters, etc) I want to move that message off the queue to a secondary queue so that other messages can continue to be attempted. I found some documentation on setMaxDeliveryCount() and JMS_Sonic_perserveUndelivered, but I can't find any examples of these to get a better idea of where and now to set them up.

Can anyone help me out? Is there a better way to accomplish my end goal?

Thanks,

Shawn
 
Back
Top