Search in sources :

Example 21 with QueueDeployment

use of org.apache.activemq.artemis.rest.queue.QueueDeployment in project activemq-artemis by apache.

the class TransformTest method setup.

@BeforeClass
public static void setup() throws Exception {
    QueueDeployment deployment = new QueueDeployment();
    deployment.setDuplicatesAllowed(true);
    deployment.setDurableSend(false);
    deployment.setName("testQueue");
    manager.getQueueManager().deploy(deployment);
}
Also used : QueueDeployment(org.apache.activemq.artemis.rest.queue.QueueDeployment) BeforeClass(org.junit.BeforeClass)

Aggregations

QueueDeployment (org.apache.activemq.artemis.rest.queue.QueueDeployment)21 Test (org.junit.Test)15 ClientRequest (org.jboss.resteasy.client.ClientRequest)11 Link (org.jboss.resteasy.spi.Link)11 XmlLink (org.apache.activemq.artemis.rest.queue.push.xml.XmlLink)4 TopicDeployment (org.apache.activemq.artemis.rest.topic.TopicDeployment)4 CustomHeaderLinkStrategy (org.apache.activemq.artemis.rest.util.CustomHeaderLinkStrategy)4 LinkHeaderLinkStrategy (org.apache.activemq.artemis.rest.util.LinkHeaderLinkStrategy)4 BeforeClass (org.junit.BeforeClass)4 PushTopicRegistration (org.apache.activemq.artemis.rest.topic.PushTopicRegistration)3 Connection (javax.jms.Connection)1 Destination (javax.jms.Destination)1 MessageConsumer (javax.jms.MessageConsumer)1 MessageListener (javax.jms.MessageListener)1 Session (javax.jms.Session)1 ClientSession (org.apache.activemq.artemis.api.core.client.ClientSession)1 ActiveMQDestination (org.apache.activemq.artemis.jms.client.ActiveMQDestination)1 ActiveMQPushStrategy (org.apache.activemq.artemis.rest.queue.push.ActiveMQPushStrategy)1 PushRegistration (org.apache.activemq.artemis.rest.queue.push.xml.PushRegistration)1 ClientResponse (org.jboss.resteasy.client.ClientResponse)1