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(org.fcrepo.kernel.observer.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 void publishJCREvent(org.fcrepo.kernel.observer.FedoraEvent fedoraEvent)
throws javax.jms.JMSException,
javax.jcr.RepositoryException,
IOException
fedoraEvent - javax.jms.JMSExceptionjavax.jcr.RepositoryExceptionIOException@PostConstruct public void acquireConnections() throws javax.jms.JMSException
javax.jms.JMSException@PreDestroy public void releaseConnections() throws javax.jms.JMSException
javax.jms.JMSExceptionCopyright © 2013–2014 DuraSpace, Inc.. All rights reserved.