cancel
Showing results for 
Search instead for 
Did you mean: 

ActivityStreamService, how to disable low level activities ?

chapurlatn_
Champ on-the-rise
Champ on-the-rise

We're currently using ActivityStreamService with our own activities. The corresponding Hibernate managed table 'nxp_activities' is filled very quickly by low level activities : documentCreated, documentModified.

We also have performance problems due to that overload.

How to disable this activities ?

1 ACCEPTED ANSWER

Thomas_Roger
Star Contributor
Star Contributor

The activities about documentCreated, documentModified and documentRemoved are logged through the ActivityStreamListener listener.

You can disable it with the following contribution:

<require>org.nuxeo.ecm.activity.listeners</require>
<extension target="org.nuxeo.ecm.core.event.EventServiceComponent"
  point="listener">
  <listener name="activityStreamListener" enabled="false" />
</extension>

View answer in original post

2 REPLIES 2

Thomas_Roger
Star Contributor
Star Contributor

The activities about documentCreated, documentModified and documentRemoved are logged through the ActivityStreamListener listener.

You can disable it with the following contribution:

<require>org.nuxeo.ecm.activity.listeners</require>
<extension target="org.nuxeo.ecm.core.event.EventServiceComponent"
  point="listener">
  <listener name="activityStreamListener" enabled="false" />
</extension>

thank you very much for responding so quickly Thomas

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.