Search in sources :

Example 6 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 7 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 8 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 9 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 10 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)

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