Search in sources :

Example 36 with ProducerInfo

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

the class ProducerInfoTest method createObject.

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

Example 37 with ProducerInfo

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

the class ProducerInfoTest method createObject.

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

Example 38 with ProducerInfo

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

the class ProducerInfoTest method createObject.

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

Example 39 with ProducerInfo

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

the class ProducerInfoTest method populateObject.

@Override
protected void populateObject(Object object) throws Exception {
    super.populateObject(object);
    ProducerInfo info = (ProducerInfo) object;
    info.setProducerId(createProducerId("ProducerId:1"));
    info.setDestination(createActiveMQDestination("Destination:2"));
    {
        BrokerId[] value = new BrokerId[2];
        for (int i = 0; i < 2; i++) {
            value[i] = createBrokerId("BrokerPath:3");
        }
        info.setBrokerPath(value);
    }
}
Also used : ProducerInfo(org.apache.activemq.command.ProducerInfo)

Example 40 with ProducerInfo

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

the class ProducerInfoTest method createObject.

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

Aggregations

ProducerInfo (org.apache.activemq.command.ProducerInfo)95 ConnectionInfo (org.apache.activemq.command.ConnectionInfo)72 ConsumerInfo (org.apache.activemq.command.ConsumerInfo)72 SessionInfo (org.apache.activemq.command.SessionInfo)72 Message (org.apache.activemq.command.Message)69 ActiveMQDestination (org.apache.activemq.command.ActiveMQDestination)42 ActiveMQQueue (org.apache.activemq.command.ActiveMQQueue)18 XATransactionId (org.apache.activemq.command.XATransactionId)15 StubConnection (org.apache.activemq.broker.StubConnection)14 MessageAck (org.apache.activemq.command.MessageAck)14 ActiveMQTopic (org.apache.activemq.command.ActiveMQTopic)11 DataArrayResponse (org.apache.activemq.command.DataArrayResponse)9 TransactionInfo (org.apache.activemq.command.TransactionInfo)9 LocalTransactionId (org.apache.activemq.command.LocalTransactionId)8 Response (org.apache.activemq.command.Response)5 Test (org.junit.Test)5 IOException (java.io.IOException)4 ActiveMQMessage (org.apache.activemq.command.ActiveMQMessage)4 ActiveMQTextMessage (org.apache.activemq.command.ActiveMQTextMessage)4 TransactionId (org.apache.activemq.command.TransactionId)4