How to register our custom event listener

36 views
Skip to first unread message

sehgal.h...@gmail.com

unread,
Jan 7, 2016, 9:07:34 AM1/7/16
to Hippo Community

We are trying to send a mail whenever a publish request for a document is generated.

We have followed the steps given on:

http://www.onehippo.org/library/concepts/workflow/workflow-events.html

 

Although the module manager confirms trying to start our daemon module ([ModuleManager.startModule:130] Starting module postpublication) but initialize method of the daemon module never gets called.

 

Are we missing any steps in between?





Thanks

Hitesh Sehgal

Woonsan Ko

unread,
Jan 7, 2016, 10:09:42 AM1/7/16
to hippo-c...@googlegroups.com
Some check points:
- What's your Hippo version? 10.x or 7.9.x?
- Do you have /hippo:configuration/hippo:modules/postpublication node correctly? In hipposys:module primary node type with your class name?
- Do you implement org.onehippo.repository.modules.DaemonModule interface and *@Override* #initialize(Session) method?
- Can you also try to leave sys out logging in your #initialize(Session) method temporarily in order to make sure..?

Regards,

Woonsan


--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
 
To post to this group, send email to hippo-c...@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-communi...@googlegroups.com.
Visit this group at https://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.



--
w....@onehippo.com     www.onehippo.com
Boston - 745 Atlantic Ave, 8th Floor, Boston MA 02111
Amsterdam - Oosteinde 11, 1017 WT Amsterdam
US +1 877 414 4776 (toll free)
Europe +31(0)20 522 4466
Reply all
Reply to author
Forward
0 new messages