Class JmsQueueIT
- java.lang.Object
-
- org.fcrepo.integration.jms.observer.JmsQueueIT
-
- All Implemented Interfaces:
javax.jms.MessageListener
@ContextConfiguration({"/spring-test/jms-queue.xml","/spring-test/fcrepo-config.xml","/spring-test/eventing.xml"}) @DirtiesContext public class JmsQueueIT extends ObjectJmsQueueIT class.
- Author:
- acoburn
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.jms.SessionjmsSession
-
Constructor Summary
Constructors Constructor Description JmsQueueIT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidacquireConnection()protected javax.jms.DestinationcreateDestination()voidonMessage(javax.jms.Message message)voidreleaseConnection()voidtestFileEvents()voidtestInboundReference()voidtestInboundReferenceNoMessage()voidtestIngestion()voidtestMetadataEvents()voidtestRemoval()
-
-
-
Constructor Detail
-
JmsQueueIT
public JmsQueueIT()
-
-
Method Detail
-
createDestination
protected javax.jms.Destination createDestination() throws javax.jms.JMSException
- 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
-
-