public class JMSTopicPublisher extends Object
Constructor and Description |
---|
JMSTopicPublisher() |
Modifier and Type | Method and Description |
---|---|
void |
acquireConnections()
Connect to JCR Repostory and JMS queue
|
void |
publishJCREvent(FedoraEvent fedoraEvent)
When an EventBus mesage is received, map it to our JMS
message payload and push it onto the queue.
|
void |
releaseConnections()
Close external connections
|
public JMSTopicPublisher()
public void publishJCREvent(FedoraEvent fedoraEvent) throws javax.jms.JMSException, IOException
fedoraEvent
- the fedora eventjavax.jms.JMSException
- if JMS exception occurredIOException
- if IO exception occurred@PostConstruct public void acquireConnections() throws javax.jms.JMSException
javax.jms.JMSException
- if JMS Exception occurred@PreDestroy public void releaseConnections() throws javax.jms.JMSException
javax.jms.JMSException
- if JMS exception occurredCopyright © 2013–2017 DuraSpace, Inc.. All rights reserved.