activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher G. Stach II" <...@ldsys.net>
Subject Re: Transaction error when delivering or consuming messages
Date Tue, 04 Apr 2006 15:52:44 GMT
Pep wrote:
> Hi.
> 
> I have OC4J 10.1.3 with Active MQ 3.2.3 JCA 1.5 adapter configured. The
> adapter is configured to run as embedded. Nevertheless I have the same
> behavior when running the ActiveMQ as not embedded.
> 
> When publishing or consuming messages (by means of an MDB) in a container
> transaction I get the following exception. Altough the exception is thrown,
> the message continues to be delivered and consumed. 
> 
> WARNING: caught exception consuming packet: XA_TRANSACTION_INFO: id = 46
> XATrans
> actionInfo{ transactionTimeout = 86400, xid = null, type = 112 }
> javax.jms.JMSException: Packet type: 112 not recognized.
...
> As you can see, the exception is thrown when setting the timeout to an
> XATransaction. Why is this thrown. Is it really an error or a normal
> behavior in ActiveMQ?

ActiveMQ (at least up to 3.2.2) doesn't seem to support GET_TX_TIMEOUT
or SET_TX_TIMEOUT.  I think it can safely be ignored.  I do. :)

-- 
Christopher G. Stach II

Mime
View raw message