Class JmsTopicIT
java.lang.Object
org.fcrepo.integration.jms.observer.JmsTopicIT
- All Implemented Interfaces:
javax.jms.MessageListener
@ContextConfiguration({"/spring-test/jms-topic.xml","/spring-test/fcrepo-config.xml","/spring-test/eventing.xml"})
@DirtiesContext
public class JmsTopicIT
extends Object
JmsTopicIT class.
- Author:
- acoburn
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected javax.jms.DestinationvoidonMessage(javax.jms.Message message) voidvoidvoidvoidvoidvoidvoid
-
Field Details
-
jmsSession
protected javax.jms.Session jmsSession
-
-
Constructor Details
-
JmsTopicIT
public JmsTopicIT()
-
-
Method Details
-
createDestination
- Throws:
javax.jms.JMSException
-
testIngestion
public void testIngestion() -
testFileEvents
public void testFileEvents() throws org.fcrepo.kernel.api.exception.InvalidChecksumException- Throws:
org.fcrepo.kernel.api.exception.InvalidChecksumException
-
testMetadataEvents
public void testMetadataEvents() -
testRemoval
public void testRemoval() throws org.fcrepo.kernel.api.exception.PathNotFoundException- Throws:
org.fcrepo.kernel.api.exception.PathNotFoundException
-
testInboundReference
public void testInboundReference() -
testInboundReferenceNoMessage
public void testInboundReferenceNoMessage() -
onMessage
public void onMessage(javax.jms.Message message) - Specified by:
onMessagein interfacejavax.jms.MessageListener
-
acquireConnection
public void acquireConnection() throws javax.jms.JMSException- Throws:
javax.jms.JMSException
-
releaseConnection
public void releaseConnection() throws javax.jms.JMSException- Throws:
javax.jms.JMSException
-