Class AbstractJMSPublisher

    • Field Detail

      • jmsSession

        protected javax.jms.Session jmsSession
    • Method Detail

      • createDestination

        protected abstract javax.jms.Destination createDestination()
                                                            throws javax.jms.JMSException
        Throws:
        javax.jms.JMSException
      • publishJCREvent

        public void publishJCREvent​(Event event)
                             throws javax.jms.JMSException
        When an EventBus message is received, map it to our JMS message payload and push it onto the queue.
        Parameters:
        event - the fedora event
        Throws:
        javax.jms.JMSException - if JMS exception occurred
      • acquireConnections

        @PostConstruct
        public void acquireConnections()
                                throws javax.jms.JMSException
        Connect to JCR Repository and JMS queue
        Throws:
        javax.jms.JMSException - if JMS Exception occurred
      • releaseConnections

        @PreDestroy
        public void releaseConnections()
                                throws javax.jms.JMSException
        Close external connections
        Throws:
        javax.jms.JMSException - if JMS exception occurred