Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

The Detail field of an event (accessed by event

...

.getDetail()

...

returns
a String whose significance varies by the type of event and the type of subject it is
about, as follows:

Panel
borderStyle
borderColor#ccc
bgColor#fff
borderStyledashed
titleContents of the Detail field in an Eventdashed

Object Type

Create

Delete

Add

Remove

Modify

ModifyMetadata

Bitstream

null,"REGISTER"

subject.getSequenceID()

n/a

n/a

null

field list

Bundle

null

subject.getName()

object.getSequenceID()

object.getSequenceID()

null

null

Item

null

subject.getHandle()

object.getName()

object.getName()

null, "WITHDRAW", "REINSTATE"

DC field list

Collection

subject.getHandle()

subject.getHandle()

object.getHandle()

object.getHandle()

"remove_template_item",null

metadata field names

Community

subject.getHandle()

subject.getHandle()

object.getHandle()

object.getHandle()

null

metadata field names

EPerson

null

subject.getEMail()

n/a

n/a

null

field names

Group

null

subject.getName()

object.getEMail(), object.getName()

object.getEMail(), object.getName()

n/a

"name"

Site

n/a

n/a

object.getHandle()

n/a

n/a

n/a

Key:

...

event.consumer.name.filters - Defines a set of event filters for the named Consumer. The value is a list of "filters" which select the events this consumer will see, selected by combinations of DSpace object type and action. The filter list value consists of a set of filter clauses separated by colons (:). Each clause is a set of DSpace Object types, a plus sign (+), and a set of actions. The object and action lists are
separated by vertical-bar (|). Here is a rough grammar:

unmigrated-wiki-markupobject-set ::= object \ [ "\|" object\]..

action-set ::= action \ [ "\|" action\]..

object ::= "All" | "Bitstream" | "Bundle" | "Item" | "Collection" | "Community" | "Site" | "Group" | "Eperson"

action ::= "All" | "Create" | "Modify" | "Modify_Metadata" | "Add" | "Remove" | "Delete"

Panel

filter-list ::= filter \ [ ":" filter \ ]..

filter ::= object-set "+" action-set

Wiki Markup
Wiki Markup
The special value "All" denotes all available objects or actions. The filter All+All allows all events through.

...

Check the default ActiveMQ configuration in dspace-install/_config/activemq.xml. The PostgreSQL login in particular may need to be configured for your site. ActiveMQ uses the database to keep tables of persistent events. They are automatically maintained to discard expired events.

Startup and Shutdown

...

To start the broker, run the command

...

This prototype includes patches to add System.exit() calls to all command-line applications that can generate events. It's a good idea to fix any application that generates events at all, whether or not you anticipate any of those events being asynchronous.

5. ActiveMQ needs a

...

separate broker process

The current configuration of ActiveMQ requires a separate "broker" listening at a well-known TCP port. For the prototype, it is started manually.

...