Skip to content

4.7.0 Release

Compare
Choose a tag to compare

The 4.7.0 release of the fcrepo-camel-toolbox is compatible with Fedora 4.6.0 and later. The toolbox is aligned with version 4.5.0 of fcrepo-camel. The notable differences include:

  • Decouple from a particular version of Camel (at least Camel 2.18.0 is required)
  • Decouple from a particular version of ActiveMQ (at least AMQ 5.14.0 is required)
  • Rely on RDF-based message bodies rather than JMS-based header values
  • Support a more generalized approach to message filtering
  • Pooled ActiveMQ connections

In previous releases, it was possible to identify a container and filter any messages for resources in that container. This was useful for ignoring resources produced by the fcrepo-audit module. This feature has been generalized so that a comma-separated list of any number of containers can be specified. Unlike the previous configuration for audit filtering, though, the container URLs must be fully qualified resource URLs. Also, the configuration value is filter.containers. Thus, one may wish to use this sort of configuration:

filter.containers = \
        http://localhost:8080/fcrepo/rest/testing, \
        http://localhost:8080/fcrepo/rest/development

Because version 4.7.0 is not tied to a particular version of Camel or ActiveMQ, users installing the toolbox will need to specify which versions they intend to use. From the Karaf console:

> feature:repo-add camel 2.18.0
> feature:repo-add activemq 5.14.0

Or, by specifying the repository URL in $KARAF_HOME/etc/org.apache.karaf.features.cfg:

featuresRepositories = \
    ..., \
    mvn:org.apache.activemq/activemq-karaf/5.14.0/xml/features, \
    mvn:org.apache.camel.karaf/apache-camel/2.18.0/xml/features

It may be desirable to populate the featuresBoot element, too:

featuresBoot = \
    ..., \
    fcrepo-service-camel, \
    fcrepo-service-activemq, \
    fcrepo-indexing-triplestore, \
    fcrepo-ldpath, \
    fcrepo-reindexing