use of org.apache.activemq.command.SessionId in project activemq-artemis by apache.
the class SessionIdTest method createObject.
@Override
public Object createObject() throws Exception {
SessionId info = new SessionId();
populateObject(info);
return info;
}
use of org.apache.activemq.command.SessionId in project activemq-artemis by apache.
the class SessionIdTest method populateObject.
@Override
protected void populateObject(Object object) throws Exception {
super.populateObject(object);
SessionId info = (SessionId) object;
info.setConnectionId("ConnectionId:1");
info.setValue(1);
}
use of org.apache.activemq.command.SessionId in project activemq-artemis by apache.
the class MessageGroupMapTest method createConsumerId.
protected ConsumerId createConsumerId() {
ConnectionId connectionId = new ConnectionId("" + ++idCounter);
SessionId sessionId = new SessionId(connectionId, ++idCounter);
ConsumerId answer = new ConsumerId(sessionId, ++idCounter);
return answer;
}
use of org.apache.activemq.command.SessionId in project activemq-artemis by apache.
the class SessionIdTest method populateObject.
@Override
protected void populateObject(Object object) throws Exception {
super.populateObject(object);
SessionId info = (SessionId) object;
info.setConnectionId("ConnectionId:1");
info.setValue(1);
}
use of org.apache.activemq.command.SessionId in project activemq-artemis by apache.
the class SessionIdTest method populateObject.
@Override
protected void populateObject(Object object) throws Exception {
super.populateObject(object);
SessionId info = (SessionId) object;
info.setConnectionId("ConnectionId:1");
info.setValue(1);
}
Aggregations