Package org.fcrepo.jms
Class JMSQueuePublisher
- java.lang.Object
-
- org.fcrepo.jms.AbstractJMSPublisher
-
- org.fcrepo.jms.JMSQueuePublisher
-
public class JMSQueuePublisher extends AbstractJMSPublisher
Machinery to publish JMS messages when an EventBus message is received.- Author:
- barmintor, awoods
-
-
Field Summary
-
Fields inherited from class org.fcrepo.jms.AbstractJMSPublisher
jmsSession
-
-
Constructor Summary
Constructors Constructor Description JMSQueuePublisher()
Create a JMS Topic with the default name of "fedora"JMSQueuePublisher(String queueName)
Create a JMS Topic with a configurable name
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.jms.Destination
createDestination()
-
Methods inherited from class org.fcrepo.jms.AbstractJMSPublisher
acquireConnections, publishJCREvent, releaseConnections
-
-
-
-
Constructor Detail
-
JMSQueuePublisher
public JMSQueuePublisher()
Create a JMS Topic with the default name of "fedora"
-
JMSQueuePublisher
public JMSQueuePublisher(String queueName)
Create a JMS Topic with a configurable name- Parameters:
queueName
- the name of the queue
-
-
Method Detail
-
createDestination
protected javax.jms.Destination createDestination() throws javax.jms.JMSException
- Specified by:
createDestination
in classAbstractJMSPublisher
- Throws:
javax.jms.JMSException
-
-