163164165166167168169170171172173
// update the message with the jbpm-error-queue destination message.setDestination(errorDestination); // resend messageSession.save(message); } finally { jbpmContext.close(); } }