001package gu.simplemq.activemq;
002
003import javax.jms.Destination;
004import javax.jms.JMSException;
005/**
006 * ACTIVEMQ消费者模型实现(线程安全)<br>
007 * @author guyadong
008 *
009 */
010public class ActivemqConsumer extends BaseActivemqDispatcher{
011        ActivemqConsumer(ActivemqPoolLazy pool) {
012                super(pool);
013        }
014
015        @Override
016        protected Destination makeDestination(String name) throws JMSException {
017                return getSession().createQueue(name);
018        }
019}