use of org.apache.activemq.command.ActiveMQTempTopic in project activemq-artemis by apache.
the class ActiveMQTempTopicTest method populateObject.
@Override
protected void populateObject(Object object) throws Exception {
super.populateObject(object);
ActiveMQTempTopic info = (ActiveMQTempTopic) object;
}
use of org.apache.activemq.command.ActiveMQTempTopic in project activemq-artemis by apache.
the class ActiveMQTempTopicTest method createObject.
@Override
public Object createObject() throws Exception {
ActiveMQTempTopic info = new ActiveMQTempTopic();
populateObject(info);
return info;
}
use of org.apache.activemq.command.ActiveMQTempTopic in project activemq-artemis by apache.
the class ActiveMQTempTopicTest method populateObject.
@Override
protected void populateObject(Object object) throws Exception {
super.populateObject(object);
ActiveMQTempTopic info = (ActiveMQTempTopic) object;
}
use of org.apache.activemq.command.ActiveMQTempTopic in project activemq-artemis by apache.
the class MessageTransformationTest method testTransformDestination.
/**
* Tests transforming destinations into ActiveMQ's destination
* implementation.
*/
public void testTransformDestination() throws Exception {
assertTrue("Transforming a TempQueue destination to an ActiveMQTempQueue", ActiveMQMessageTransformation.transformDestination(new ActiveMQTempQueue()) instanceof ActiveMQTempQueue);
assertTrue("Transforming a TempTopic destination to an ActiveMQTempTopic", ActiveMQMessageTransformation.transformDestination(new ActiveMQTempTopic()) instanceof ActiveMQTempTopic);
assertTrue("Transforming a Queue destination to an ActiveMQQueue", ActiveMQMessageTransformation.transformDestination(new ActiveMQQueue()) instanceof ActiveMQQueue);
assertTrue("Transforming a Topic destination to an ActiveMQTopic", ActiveMQMessageTransformation.transformDestination(new ActiveMQTopic()) instanceof ActiveMQTopic);
assertTrue("Transforming a Destination to an ActiveMQDestination", ActiveMQMessageTransformation.transformDestination(new ActiveMQTopic()) instanceof ActiveMQDestination);
}
use of org.apache.activemq.command.ActiveMQTempTopic in project activemq-artemis by apache.
the class ActiveMQTempTopicTest method createObject.
@Override
public Object createObject() throws Exception {
ActiveMQTempTopic info = new ActiveMQTempTopic();
populateObject(info);
return info;
}
Aggregations