Search in sources :

Example 26 with TransactionInfo

use of org.apache.activemq.command.TransactionInfo in project activemq-artemis by apache.

the class TransactionInfoTest method createObject.

@Override
public Object createObject() throws Exception {
    TransactionInfo info = new TransactionInfo();
    populateObject(info);
    return info;
}
Also used : TransactionInfo(org.apache.activemq.command.TransactionInfo)

Example 27 with TransactionInfo

use of org.apache.activemq.command.TransactionInfo in project activemq-artemis by apache.

the class TransactionInfoTest method populateObject.

@Override
protected void populateObject(Object object) throws Exception {
    super.populateObject(object);
    TransactionInfo info = (TransactionInfo) object;
    info.setConnectionId(createConnectionId("ConnectionId:1"));
    info.setTransactionId(createTransactionId("TransactionId:2"));
    info.setType((byte) 1);
}
Also used : TransactionInfo(org.apache.activemq.command.TransactionInfo)

Example 28 with TransactionInfo

use of org.apache.activemq.command.TransactionInfo in project activemq-artemis by apache.

the class TransactionInfoTest method createObject.

@Override
public Object createObject() throws Exception {
    TransactionInfo info = new TransactionInfo();
    populateObject(info);
    return info;
}
Also used : TransactionInfo(org.apache.activemq.command.TransactionInfo)

Example 29 with TransactionInfo

use of org.apache.activemq.command.TransactionInfo in project activemq-artemis by apache.

the class TransactionInfoTest method createObject.

@Override
public Object createObject() throws Exception {
    TransactionInfo info = new TransactionInfo();
    populateObject(info);
    return info;
}
Also used : TransactionInfo(org.apache.activemq.command.TransactionInfo)

Aggregations

TransactionInfo (org.apache.activemq.command.TransactionInfo)29 XATransactionId (org.apache.activemq.command.XATransactionId)11 ActiveMQDestination (org.apache.activemq.command.ActiveMQDestination)9 ConnectionInfo (org.apache.activemq.command.ConnectionInfo)9 ConsumerInfo (org.apache.activemq.command.ConsumerInfo)9 DataArrayResponse (org.apache.activemq.command.DataArrayResponse)9 Message (org.apache.activemq.command.Message)9 ProducerInfo (org.apache.activemq.command.ProducerInfo)9 SessionInfo (org.apache.activemq.command.SessionInfo)9 MessageAck (org.apache.activemq.command.MessageAck)5 Response (org.apache.activemq.command.Response)4 TransactionId (org.apache.activemq.command.TransactionId)4 ActiveMQTopic (org.apache.activemq.command.ActiveMQTopic)3 DestinationViewMBean (org.apache.activemq.broker.jmx.DestinationViewMBean)2 HashSet (java.util.HashSet)1 InstanceNotFoundException (javax.management.InstanceNotFoundException)1 BrokerService (org.apache.activemq.broker.BrokerService)1 TransportConnection (org.apache.activemq.broker.TransportConnection)1 PersistenceAdapterViewMBean (org.apache.activemq.broker.jmx.PersistenceAdapterViewMBean)1 RecoveredXATransactionViewMBean (org.apache.activemq.broker.jmx.RecoveredXATransactionViewMBean)1