Issue with I_CmsEventListener in Clustered System
Chema Jiménez via opencms-dev <[email protected]> Thu, 1 Feb 2024 07:46:06 +0000
| Newsgroups | gmane.comp.cms.opencms.devel |
|---|---|
| Message-ID | <DB5PR05MB10623BACA9201B52F1D40A9F28F432@DB5PR05MB10623.eurprd05.prod.outlook.com> |
Hello, I have developed a class that implements I_CmsEventListener, and its events include [EVENT_RESOURCE_AND_PROPERTIES_MODIFIED, EVENT_RESOURCE_COPIED, EVENT_RESOURCE_CREATED, EVENT_RESOURCE_DELETED, EVENT_RESOURCE_MODIFIED, EVENT_RESOURCE_MOVED]. If a resource meets a certain condition, another class is executed. The problem is that in a "cluster" system (with two slave nodes), when editing a resource on the admin node, the I_CmsEventListener class runs only on the admin node and not on the other nodes. How can I ensure that the I_CmsEventListener class executes on all nodes when modifying a resource? Thank you very much. Regards. _______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit https://lists.opencms.org/mailman/listinfo/opencms-dev