Source code: org/activemq/perf/SimpleQueueTest.java
1 /**
2 * <a href="http://activemq.org">ActiveMQ: The Open Source Message Fabric</a>
3 *
4 * Copyright 2005 (C) Simula Labs Inc.
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
12 * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
13 * specific language governing permissions and limitations under the License.
14 *
15 */
16 package org.activemq.perf;
17
18 import javax.jms.Destination;
19 import javax.jms.JMSException;
20 import javax.jms.Session;
21 /**
22 * @version $Revision: 1.3 $
23 */
24 public class SimpleQueueTest extends SimpleTopicTest{
25
26 protected Destination createDestination(Session s,String destinationName) throws JMSException{
27 return s.createQueue(destinationName);
28 }
29
30 }