Package com.atomikos.icatch.jta

Examples of com.atomikos.icatch.jta.UserTransactionManager


  private ExceptionListener exceptionListener;

  protected MessageConsumerSession()
  {
    timeout = DEFAULT_TIMEOUT;
    tm = new UserTransactionManager();

  }
View Full Code Here


   * @throws JMSException
   *             On failures.
   */
  public void sendMessage ( Message message ) throws JMSException
  {
      UserTransactionManager tm = new UserTransactionManager ();
      try {
          if ( tm.getStatus () != Status.STATUS_ACTIVE )
              throw new JMSException (
                      "This method requires an active transaction!" );
      } catch ( SystemException e ) {
          Configuration
                  .logWarning ( "Error in getting transaction status", e );
View Full Code Here

  private UserTransactionManager utm;
 
  public TransactionManagerLookup()
  {
    utm = new UserTransactionManager();
  }
View Full Code Here

    }

    @Before
    public void init() throws SystemException {
        cleanAtomikosLogs();
        tm = new UserTransactionManager();
        tm.setTransactionTimeout(60);
        Hazelcast.shutdownAll();
    }
View Full Code Here

    }

    @Before
    public void init() throws SystemException {
        cleanAtomikosLogs();
        tm = new UserTransactionManager();
        tm.setTransactionTimeout(60);
        HazelcastClient.shutdownAll();
        Hazelcast.shutdownAll();
    }
View Full Code Here

   

    retrieveDestinationIfNecessary();
    retrieveReplyToDestinationIfNecessary();
   
    UserTransactionManager tm = new UserTransactionManager ();
      try {
          if ( tm.getStatus () != Status.STATUS_ACTIVE )
              throw new JMSException (
                      "This method requires an active transaction!" );
      } catch ( SystemException e ) {
          Configuration
                  .logWarning ( this +": error in getting transaction status", e );
View Full Code Here

  private String clientID;

  protected MessageConsumerSession ( MessageConsumerSessionProperties properties )
  {
    this.properties = properties;
    tm = new UserTransactionManager();
    noLocal = false;
    subscriberName = null;
  }
View Full Code Here

  UserTransactionManager utm;
 
  public TransactionManagerLookup()
  {
    utm = new UserTransactionManager();
  }
View Full Code Here

  UserTransactionManager utm;
 
  public TransactionManagerLookup()
  {
    utm = new UserTransactionManager();
  }
View Full Code Here


    retrieveDestinationIfNecessary();
    retrieveReplyToDestinationIfNecessary();

    UserTransactionManager tm = new UserTransactionManager ();
      try {
          if ( tm.getStatus () != Status.STATUS_ACTIVE )
              throw new JMSException (
                      "This method requires an active transaction!" );
      } catch ( SystemException e ) {
        LOGGER
                  .logWarning ( this +": error in getting transaction status", e );
View Full Code Here

TOP

Related Classes of com.atomikos.icatch.jta.UserTransactionManager

Copyright © 2018 www.massapicom. 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.