Search in sources :

Example 6 with ProducerId

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

the class ProducerIdTest method createObject.

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

Example 7 with ProducerId

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

the class ProducerIdTest method createObject.

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

Example 8 with ProducerId

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

the class ProducerIdTest method createObject.

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

Example 9 with ProducerId

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

the class ProducerIdTest method populateObject.

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

Example 10 with ProducerId

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

the class ProducerIdTest method populateObject.

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

Aggregations

ProducerId (org.apache.activemq.command.ProducerId)22 MessageId (org.apache.activemq.command.MessageId)4 ActiveMQMessage (org.apache.activemq.command.ActiveMQMessage)3 ArrayList (java.util.ArrayList)2 ActiveMQBuffer (org.apache.activemq.artemis.api.core.ActiveMQBuffer)2 SimpleString (org.apache.activemq.artemis.api.core.SimpleString)2 MessageReference (org.apache.activemq.broker.region.MessageReference)2 ActiveMQDestination (org.apache.activemq.command.ActiveMQDestination)2 ByteSequence (org.apache.activemq.util.ByteSequence)2 ICoreMessage (org.apache.activemq.artemis.api.core.ICoreMessage)1 CoreMessage (org.apache.activemq.artemis.core.message.impl.CoreMessage)1 ActiveMQBytesMessage (org.apache.activemq.command.ActiveMQBytesMessage)1 ActiveMQMapMessage (org.apache.activemq.command.ActiveMQMapMessage)1 ActiveMQObjectMessage (org.apache.activemq.command.ActiveMQObjectMessage)1 ActiveMQStreamMessage (org.apache.activemq.command.ActiveMQStreamMessage)1 ActiveMQTextMessage (org.apache.activemq.command.ActiveMQTextMessage)1 BrokerId (org.apache.activemq.command.BrokerId)1 DataStructure (org.apache.activemq.command.DataStructure)1