Search in sources :

Example 11 with LocalTransactionId

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

the class LocalTransactionIdTest method createObject.

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

Example 12 with LocalTransactionId

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

the class LocalTransactionIdTest method populateObject.

@Override
protected void populateObject(Object object) throws Exception {
    super.populateObject(object);
    LocalTransactionId info = (LocalTransactionId) object;
    info.setValue(1);
    info.setConnectionId(createConnectionId("ConnectionId:1"));
}
Also used : LocalTransactionId(org.apache.activemq.command.LocalTransactionId)

Example 13 with LocalTransactionId

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

the class LocalTransactionIdTest method populateObject.

@Override
protected void populateObject(Object object) throws Exception {
    super.populateObject(object);
    LocalTransactionId info = (LocalTransactionId) object;
    info.setValue(1);
    info.setConnectionId(createConnectionId("ConnectionId:1"));
}
Also used : LocalTransactionId(org.apache.activemq.command.LocalTransactionId)

Example 14 with LocalTransactionId

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

the class LocalTransactionIdTest method populateObject.

@Override
protected void populateObject(Object object) throws Exception {
    super.populateObject(object);
    LocalTransactionId info = (LocalTransactionId) object;
    info.setValue(1);
    info.setConnectionId(createConnectionId("ConnectionId:1"));
}
Also used : LocalTransactionId(org.apache.activemq.command.LocalTransactionId)

Example 15 with LocalTransactionId

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

the class LocalTransactionIdTest method populateObject.

@Override
protected void populateObject(Object object) throws Exception {
    super.populateObject(object);
    LocalTransactionId info = (LocalTransactionId) object;
    info.setValue(1);
    info.setConnectionId(createConnectionId("ConnectionId:1"));
}
Also used : LocalTransactionId(org.apache.activemq.command.LocalTransactionId)

Aggregations

LocalTransactionId (org.apache.activemq.command.LocalTransactionId)26 ConnectionInfo (org.apache.activemq.command.ConnectionInfo)8 ConsumerInfo (org.apache.activemq.command.ConsumerInfo)8 Message (org.apache.activemq.command.Message)8 ProducerInfo (org.apache.activemq.command.ProducerInfo)8 SessionInfo (org.apache.activemq.command.SessionInfo)8 ActiveMQDestination (org.apache.activemq.command.ActiveMQDestination)4 ActiveMQQueue (org.apache.activemq.command.ActiveMQQueue)4 MessageAck (org.apache.activemq.command.MessageAck)4 ArtemisBrokerWrapper (org.apache.activemq.broker.artemiswrapper.ArtemisBrokerWrapper)1