Search in sources :

Example 21 with DataArrayResponse

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

the class DataArrayResponseTest method createObject.

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

Example 22 with DataArrayResponse

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

the class DataArrayResponseTest method populateObject.

@Override
protected void populateObject(Object object) throws Exception {
    super.populateObject(object);
    DataArrayResponse info = (DataArrayResponse) object;
    {
        DataStructure[] value = new DataStructure[2];
        for (int i = 0; i < 2; i++) {
            value[i] = createDataStructure("Data:1");
        }
        info.setData(value);
    }
}
Also used : DataArrayResponse(org.apache.activemq.command.DataArrayResponse)

Example 23 with DataArrayResponse

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

the class DataArrayResponseTest method createObject.

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

Example 24 with DataArrayResponse

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

the class DataArrayResponseTest method populateObject.

@Override
protected void populateObject(Object object) throws Exception {
    super.populateObject(object);
    DataArrayResponse info = (DataArrayResponse) object;
    {
        DataStructure[] value = new DataStructure[2];
        for (int i = 0; i < 2; i++) {
            value[i] = createDataStructure("Data:1");
        }
        info.setData(value);
    }
}
Also used : DataArrayResponse(org.apache.activemq.command.DataArrayResponse)

Example 25 with DataArrayResponse

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

the class DataArrayResponseTest method createObject.

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

Aggregations

DataArrayResponse (org.apache.activemq.command.DataArrayResponse)27 ActiveMQDestination (org.apache.activemq.command.ActiveMQDestination)9 ConnectionInfo (org.apache.activemq.command.ConnectionInfo)9 ConsumerInfo (org.apache.activemq.command.ConsumerInfo)9 Message (org.apache.activemq.command.Message)9 ProducerInfo (org.apache.activemq.command.ProducerInfo)9 SessionInfo (org.apache.activemq.command.SessionInfo)9 TransactionInfo (org.apache.activemq.command.TransactionInfo)9 XATransactionId (org.apache.activemq.command.XATransactionId)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 PersistenceAdapterViewMBean (org.apache.activemq.broker.jmx.PersistenceAdapterViewMBean)1 RecoveredXATransactionViewMBean (org.apache.activemq.broker.jmx.RecoveredXATransactionViewMBean)1 KahaDBPersistenceAdapter (org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter)1