TestConsumer

16 views
Skip to first unread message

Marwa Saada

unread,
Sep 12, 2022, 9:15:34 AM9/12/22
to DSpace Developers
Hello,
 I want to test the testConsumer class, so I have activated the lines:
event.consumer.test.class = org.dspace.event.TestConsumer
event.consumer.test.filters = All+All  
 in dspace.cfg, now it should trigger the testConsumer with each (create, delete, modify..) action, but nothing is entered in the log file.
maybe I'm missing something in config to trigger the event?

Thanks for your help,
Marwa

Tim Donohue

unread,
Sep 12, 2022, 11:33:03 AM9/12/22
to DSpace Developers
Hi Marwa,

Yes, you need to enable it by adding "test" to the list of default consumers here:

You also might need to restart the backend (i.e. restart Tomcat), as I don't recall if this automatically reloads.

Tim

Reply all
Reply to author
Forward
0 new messages