Package net.sf.xbus.base.core

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


    boolean mailReceived = false;
    TAManager taManager = TAManager.getInstance();

    try
    {
      taManager.begin();

      // Subclasses may define their own request content
      Object requestContent = getRequestContent(xbusSystem
          .getCompleteName());
View Full Code Here


     */
    TAManager taManager = TAManager.getInstance();
    try
    {
      taManager.clearManager();
      taManager.begin();
    }
    catch (XException e)
    {
      handleError(res, e, null, e.getMessage());
      Trace.info("Error while processing " + mSource.getCompleteName());
View Full Code Here

    {
      try
      {
        taManager.clearManager();
        registerResources(taManager);
        taManager.begin();
      }
      catch (XException e)
      {
        taManager.close();
        incrementErrorCounter();
View Full Code Here

    TAManager taManager = TAManager.getInstance();

    try
    {
      taManager.clearManager();
      taManager.begin();

      Adapter adapter = new Adapter();
      adapter.callApplication(source, request, getType());
      responseObject = adapter.getResponse();
      if (Constants.RC_OK.equals(adapter.getReturncode()))
View Full Code Here

      // AS400Receiver will be registered by TAManager
      TAManager taManager = TAManager.getInstance();
      taManager.clearManager();
      taManager.registerResource(this);
      taManager.begin();

      // determine the list of XBUSSystems for the system name
      List systems = XBUSSystem.getSystems(systemName, mConfigFilename);
      // for failed transmissions
      List errorSystems = null;
View Full Code Here

      /*
       * Resending the message
       */
      taManager = TAManager.getInstance();
      taManager.clearManager();
      taManager.begin();

      Adapter adapter = new Adapter();
      adapter.callApplication(source, request, Constants.TYPE_TEXT);
      Object responseObject = adapter.getResponse();
      if (Constants.RC_OK.equals(adapter.getReturncode()))
View Full Code Here

      // FileReceiver will be registered by TAManager
      TAManager taManager = TAManager.getInstance();
      taManager.clearManager();
      taManager.registerResource(this);
      taManager.begin();

      // determine the list of XBUSSystem for the system
      List systems = XBUSSystem.getSystems(system, mConfiguration
          .getFileName());
      boolean successful = true;
View Full Code Here

    {
      /*
       * Get the transaction manager
       */
      TAManager taManager = TAManager.getInstance();
      taManager.begin();

      mFileName = source.replaceAllMarkers(mConfiguration.getFileName())[0];

      /*
       * The FileName may contain a directory. It is split up into the
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.