Search in sources :

Example 1 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 2 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 3 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 4 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 5 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)

Aggregations

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