If a given installation does not take advantage of the event message which Fedora emits by default, it is possible to safely turn off the feature without any adverse side-effects.
The messaging configuration is defined in the jms.xml file. The loading of this jms.xml file is defined in the master.xml.
One way to disable Fedora messaging is to provide a system-property to the JVM that has the master.xml file load an empty file instead of the default jms.xml.
Add JVM system-property referencing an empty configuration file in place of the default jms.xml:
JAVA_OPTS="${JAVA_OPTS} -Dfcrepo.spring.jms.configuration=file:/path/to/example-empty.xml" |
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"> </beans> |