Archived

If you are looking for the last documentation in the 4.x series, see 4.7.5. Looking for another version? See all documentation.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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. This 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.

Configuration

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"


Example empty config file
<?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>


  • No labels