Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleRelated JIRA tickets...

 

Jira
serverDuraSpace JIRA
jqlQueryfilter=13908
serverIdc815ca92-fd23-34c2-8fe3-956808caf8c5

Messaging

There is no change to the default behavior of message publication by the fcrepo-webapp and fcrepo-webapp-plus: they continue to be produced by an embedded ActiveMQ broker on a topic called "fedora". However, for any applications that are consuming these messages, it is usually better to consume messages from a queue, since there are many circumstances under which messages published on topics can be missed by consumers. This release includes an example for configuring the message publishing machinery to use a queue instead of a topic. Making this change will require customizing the Spring configuration via the system property:

No Format
-Dfcrepo.spring.jms.configuration=file://path/to/spring/jms.xml

..and using a Spring file such as (noting the highlighted configuration): 

...

https://github.com/fcrepo4/fcrepo4/blob/fcrepo-4.7.1/fcrepo-jms/src/test/resources/spring-test/jms-queue.xml#L16-L19

It is worth noting that it is also now possible to set the name of the topic or queue as shown in the example above. The default value remains "fedora".

Expand
titleRelated JIRA tickets...

 

Jira
serverDuraSpace JIRA
jqlQueryfilter=13911
serverIdc815ca92-fd23-34c2-8fe3-956808caf8c5

...