See BZ#1090748 for the original description. This feature implements the following: * Creation of new topics via an XML file packed with the WAR * An EJB that schedules queries of the database to find updated entities, pushing their IDs to the JMS topics * The EBJ should also send a message that indicates that the server was just booted
Verified: - There is a "jmsUpdateFrequency" property returned in the server settings and it can be changed. - The "jmsUpdateFrequency" setting changes the update frequency of the EJB. - Messages are sent when a topic is changed - Messages are sent when a content spec is changed
The native search query forces the use of the "Skynet" schema. This is not enforced anywhere else so it should be done here either.
I've removed the native query in favour of the HQL Query: "SELECT MAX(id) FROM LoggingRevisionEntity" which means hibernate/envers will handle the schema and although there shouldn't be any, changes required for different RDBMS's.
Verified: - The "SERVER_RESTART" message gets sent to both topic queues when the server is started. - The JMS Topic Queues are loaded from the pressgang-jms.xml file in WEB-INF.