Search in sources :

Example 21 with ConsumerId

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

the class ConsumerIdTest method createObject.

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

Example 22 with ConsumerId

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

the class ConsumerIdTest method populateObject.

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

Example 23 with ConsumerId

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

the class ConsumerIdTest method populateObject.

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

Aggregations

ConsumerId (org.apache.activemq.command.ConsumerId)23 SessionId (org.apache.activemq.command.SessionId)3 ConnectionId (org.apache.activemq.command.ConnectionId)2 ConsumerInfo (org.apache.activemq.command.ConsumerInfo)2 AMQConsumerBrokerExchange (org.apache.activemq.artemis.core.protocol.openwire.amq.AMQConsumerBrokerExchange)1 BrokerService (org.apache.activemq.broker.BrokerService)1 ActiveMQMessage (org.apache.activemq.command.ActiveMQMessage)1 ActiveMQTopic (org.apache.activemq.command.ActiveMQTopic)1 BrokerId (org.apache.activemq.command.BrokerId)1 BrokerInfo (org.apache.activemq.command.BrokerInfo)1 ConnectionInfo (org.apache.activemq.command.ConnectionInfo)1 MessageDispatch (org.apache.activemq.command.MessageDispatch)1 RemoveInfo (org.apache.activemq.command.RemoveInfo)1 Transport (org.apache.activemq.transport.Transport)1 TransportListener (org.apache.activemq.transport.TransportListener)1 Before (org.junit.Before)1