944945946947948949950951952953954
handler.pauseProducer(d, pausedProducer, con); } catch (BrokerException ex) { int status = ex.getStatusCode(); if (status == Status.ERROR && ref!= null && d != null) handler.cleanupOnError(d, ref); // rethrow throw ex; }