7374757677787980818283
pmb.applyChanges(); }catch(Exception e){ if(pmb!=null) try { pmb.cancelChanges(); } catch (RemoteException e1) { } throw new EJBException(e); }finally{
9899100101102103104105106107108
catch(Throwable e) { System.out.println("MessageProcessorBean::onMessage(): fail to process message. Reason:[" + e.getMessage() + "]. try to redeliver... "); //e.printStackTrace(); try { pmb.cancelChanges(); } catch (RemoteException e1) { // TODO Auto-generated catch block e1.printStackTrace(); }