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 javax.jms.Destination; 009import javax.jms.JMSException; 010 011import org.junit.runner.RunWith; 012import org.springframework.test.annotation.DirtiesContext; 013import org.springframework.test.context.ContextConfiguration; 014import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; 015 016/** 017 * <p> 018 * JmsTopicIT class. 019 * </p> 020 * 021 * @author acoburn 022 */ 023@RunWith(SpringJUnit4ClassRunner.class) 024@ContextConfiguration({ "/spring-test/jms-topic.xml", "/spring-test/fcrepo-config.xml", 025 "/spring-test/eventing.xml" }) 026@DirtiesContext 027public class JmsTopicIT extends AbstractJmsIT { 028 protected Destination createDestination() throws JMSException { 029 return jmsSession.createTopic("fedora"); 030 } 031}