001/*
002 * The contents of this file are subject to the license and copyright
003 * detailed in the LICENSE and NOTICE files at the root of the source
004 * tree.
005 */
006package org.fcrepo.integration.jms.observer;
007
008import org.junit.runner.RunWith;
009import org.springframework.test.annotation.DirtiesContext;
010import org.springframework.test.context.ContextConfiguration;
011import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
012
013import javax.jms.Destination;
014import javax.jms.JMSException;
015
016/**
017 * <p>
018 * JmsQueueIT class.
019 * </p>
020 *
021 * @author acoburn
022 */
023@RunWith(SpringJUnit4ClassRunner.class)
024@ContextConfiguration({ "/spring-test/jms-queue.xml", "/spring-test/fcrepo-config.xml",
025    "/spring-test/eventing.xml" })
026@DirtiesContext
027public class JmsQueueIT extends AbstractJmsIT {
028
029    protected Destination createDestination() throws JMSException {
030        return jmsSession.createQueue("fcrepo-queue");
031    }
032}