Search in sources :

Example 6 with ControlCommand

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

the class ControlCommandTest method createObject.

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

Example 7 with ControlCommand

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

the class ControlCommandTest method populateObject.

@Override
protected void populateObject(Object object) throws Exception {
    super.populateObject(object);
    ControlCommand info = (ControlCommand) object;
    info.setCommand("Command:1");
}
Also used : ControlCommand(org.apache.activemq.command.ControlCommand)

Example 8 with ControlCommand

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

the class ControlCommandTest method createObject.

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

Example 9 with ControlCommand

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

the class ControlCommandTest method populateObject.

@Override
protected void populateObject(Object object) throws Exception {
    super.populateObject(object);
    ControlCommand info = (ControlCommand) object;
    info.setCommand("Command:1");
}
Also used : ControlCommand(org.apache.activemq.command.ControlCommand)

Example 10 with ControlCommand

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

the class ControlCommandTest method createObject.

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

Aggregations

ControlCommand (org.apache.activemq.command.ControlCommand)18