Package net.sf.xbus.base.core

Examples of net.sf.xbus.base.core.TAManager.commit()


        // check the Adapter return code
        // in case of "not success" throw new XException
        if (Constants.RC_OK.equals(adapter.getReturncode()))
        {
          mailReceived = true;
          taManager.commit();
          PostProcessor.start(xbusSystem, adapter.getResponse(),
              Constants.POSTPROCESSING_PERSYSTEM);
          Trace
              .info("End processing "
                  + xbusSystem.getCompleteName());
View Full Code Here


          adapter.callApplication(getSource(), message, getType());

          if (Constants.RC_OK.equals(adapter.getReturncode()))
          {
            initializeErrorCounter();
            taManager.commit();
            PostProcessor.start(getSource(), adapter.getResponse(),
                Constants.POSTPROCESSING_PERSYSTEM);
            Trace.info("End processing "
                + getSource().getCompleteName());
            Trace.info("------------------------------");
View Full Code Here

      Adapter adapter = new Adapter();
      adapter.callApplication(source, request, getType());
      responseObject = adapter.getResponse();
      if (Constants.RC_OK.equals(adapter.getReturncode()))
      {
        taManager.commit();
        PostProcessor.start(source, responseObject,
            Constants.POSTPROCESSING_PERSYSTEM);
        Trace.info("End processing " + source.getCompleteName());
        Trace.info("-----------------------------");
      }
View Full Code Here

            Trace.info("Retry number " + i + ": "
                + xbusSystem.getCompleteName());
          } // else (i == 0)
          if (doReceive(xbusSystem))
          { // successfully received
            taManager.commit();

            PostProcessor.start(xbusSystem, null,
                Constants.POSTPROCESSING_PERSYSTEM);

            Trace.info("End processing "
View Full Code Here

      Adapter adapter = new Adapter();
      adapter.callApplication(source, request, Constants.TYPE_TEXT);
      Object responseObject = adapter.getResponse();
      if (Constants.RC_OK.equals(adapter.getReturncode()))
      {
        taManager.commit();
        PostProcessor.start(source, responseObject,
            Constants.POSTPROCESSING_PERSYSTEM);
        Trace.info("End resending " + source.getCompleteName());
        Trace.info("-----------------------------");
        retString.append("Message from ").append(
View Full Code Here

        Adapter adapter = new Adapter();
        adapter.callApplication(source, request, getType());
        Object responseObject = adapter.getResponse();
        if (Constants.RC_OK.equals(adapter.getReturncode()))
        {
          taManager.commit();
          PostProcessor.start(source, responseObject,
              Constants.POSTPROCESSING_PERSYSTEM);
          Trace.info("End processing " + source.getCompleteName());
          Trace.info("----------------------------");
          return true;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.