activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mickhayes <mickha...@gmail.com>
Subject Re: Suspicious ActiveMQSession messages in my log
Date Mon, 11 Jun 2012 07:23:57 GMT
It means you are at the bolded part below of ActiveMQSession.java and have
DEBUG level logging on and 
transactionContext.getTransactionId() is null: 

  /**
     * Commits all messages done in this transaction and releases any locks
     * currently held.
     *
     * @throws JMSException if the JMS provider fails to commit the
transaction
     *                 due to some internal error.
     * @throws TransactionRolledBackException if the transaction is rolled
back
     *                 due to some internal error during commit.
     * @throws javax.jms.IllegalStateException if the method is not called
by a
     *                 transacted session.
     */
    public void commit() throws JMSException {
        checkClosed();
        if (!getTransacted()) {
            throw new javax.jms.IllegalStateException("Not a transacted
session");
        }
*        if (LOG.isDebugEnabled()) {
            LOG.debug(getSessionId() + " Transaction Commit :" +
transactionContext.getTransactionId());*
        }
        transactionContext.commit();
    }



-----
Michael Hayes B.Sc. (NUI), M.Sc. (DCU), SCSA SCNA 

--
View this message in context: http://activemq.2283324.n4.nabble.com/Suspicious-ActiveMQSession-messages-in-my-log-tp4653127p4653150.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message