pub fn safely_apply_sync<F>(
endpoint: &EndpointHandle,
delivery: Box<Delivery>,
callback: F,
) -> Result<(), Error>Expand description
Execute the synchronous callback to process the delivery in a transaction like manner.
The delivery is ACKed, NACKed (and requeued) or REJECTed depending on the Error returned.