Skip to content

Releases: fcrepo-exts/fcrepo-camel

6.0.0 Release

18 Nov 05:48
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: fcrepo-camel-4.5.0...fcrepo-camel-6.0.0

Release 5.0.0

01 Apr 21:57
Compare
Choose a tag to compare

This release aligns fcrepo-camel with Fedora 5.x.

The LDNProcessor has been removed since it is no longer used in fcrepo-camel-toolbox.

4.5.0 Release

16 Dec 16:00
Compare
Choose a tag to compare

The 4.5.0 release of fcrepo-camel adds several new features and removes other deprecated features. This release is incompatible with earlier releases in the following ways:

  • The transform endpoint option has been removed
  • The tombstone endpoint option has been removed
  • The RdfNamespaces class has been removed
  • The JmsHeaders class has been removed

Rather than rely on message headers published by Fedora's message broker, users are encouraged to rely on the message body. Message headers will not be part of the forthcoming Fedora messaging specification, plus the JMS headers (e.g. org.fcrepo.jms.identifier) are tied to the use of a particular message broker technology (as opposed to, say, Kafka or AMQP).

To make it easier for users to process the message body produced by Fedora, a new processor class has been added: EventProcessor. This processor will convert the content of a message from JSON-LD into Camel-specific headers. Camel code should rely on those headers, which include:

FCREPO_URI or "CamelFcrepoUri"
FCREPO_EVENT_TYPE or "CamelFcrepoEventType"
FCREPO_RESOURCE_TYPE or "CamelFcrepoResourceType"
FCREPO_DATE_TIME or "CamelFcrepoDateTime"
FCREPO_AGENT or "CamelFcrepoAgent"
FCREPO_EVENT_ID or "CamelFcrepoEventId"

Of these, the following are List types and may have multiple values: FCREPO_EVENT_TYPE, FCREPO_RESOURCE_TYPE, FCREPO_DATE_TIME.

Note, that FCREPO_BASE_URL and FCREPO_IDENTIFIER are not included here. Those values are still supported by the FcrepoCamelComponent, but users are encouraged to make use of the CamelFcrepoUri header instead.

A typical pattern with this code would be:

from("direct:start")
    .process(new EventProcessor())
    .filter(header(FCREPO_EVENT_TYPE).contains(RESOURCE_CREATION))
      .to("fcrepo://localhost?accept=application/ld+json")
      .unmarshal().json(Jackson)
      .to("direct:handle");

Here the value of CamelFcrepoUri is used to fetch the resource from Fedora and not "http://localhost". This follows the pattern of other Camel components such as camel-http4.

This release includes updates to many underlying dependencies, such as fcrepo-java-client (v.0.2.1), Jena (v. 3.1.1) and Camel (v.2.18.0). It has been tested with Karaf 4.x.

4.4.4 Release

14 Sep 14:08
Compare
Choose a tag to compare

This release deprecates both the tombstone and transform endpoint options. These options will be removed in the 4.5.0 release.

4.4.3 Release

09 Jul 18:40
Compare
Choose a tag to compare
fcrepo-camel-4.4.3

[maven-release-plugin] copy for tag fcrepo-camel-4.4.3

4.4.2 Release

20 Apr 20:37
Compare
Choose a tag to compare
fcrepo-camel-4.4.2

[maven-release-plugin] copy for tag fcrepo-camel-4.4.2

4.4.1 Release

29 Mar 18:03
Compare
Choose a tag to compare
fcrepo-camel-4.4.1

[maven-release-plugin] copy for tag fcrepo-camel-4.4.1

4.4.0 Release

14 Oct 14:33
Compare
Choose a tag to compare
fcrepo-camel-4.4.0

[maven-release-plugin] copy for tag fcrepo-camel-4.4.0

Release 4.3.0

25 Jul 03:32
Compare
Choose a tag to compare
fcrepo-camel-4.3.0

[maven-release-plugin] copy for tag fcrepo-camel-4.3.0

Release 4.1.1

27 Mar 15:46
Compare
Choose a tag to compare
fcrepo-camel-4.1.1

[maven-release-plugin] copy for tag fcrepo-camel-4.1.1