Examples of UserTransactionManager


Examples of com.atomikos.icatch.jta.UserTransactionManager

  private ExceptionListener exceptionListener;

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

  }
View Full Code Here

Examples of com.atomikos.icatch.jta.UserTransactionManager

   * @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

Examples of com.atomikos.icatch.jta.UserTransactionManager

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

Examples of com.atomikos.icatch.jta.UserTransactionManager

    }

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

Examples of com.atomikos.icatch.jta.UserTransactionManager

    }

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

Examples of com.atomikos.icatch.jta.UserTransactionManager

   

    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

Examples of com.atomikos.icatch.jta.UserTransactionManager

  private String clientID;

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

Examples of com.atomikos.icatch.jta.UserTransactionManager

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

Examples of com.atomikos.icatch.jta.UserTransactionManager

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

Examples of com.atomikos.icatch.jta.UserTransactionManager


    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
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.