...
Expand | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
|
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):
...
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 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
|
...