Alfresco publish a number of events under some conditions happening in the repository.
Details on the Events API are provided in Official Alfresco Documentation:
https://docs.alfresco.com/content-services/latest/develop/oop-ext-points/events/
In addition to the existent Alfresco Maven SDK (4.x), oriented to extend the product features by creating AMP or JAR modules, a new Alfresco Java SDK (5,x) has been introduced in Alfresco 7 to provide integrations with the repository Out Of Process. When using this new SDK, both REST API and ActiveMQ sources can be used to adapt the use of the platform to a given use case.
Alfresco Events API can be consumed from many different types of clients (Spring Boot, Spring Integration, Apache Camel...). Alfresco Java SDK provides a reference implementation for a Java native client using a Filter-Handler pattern.
Details on the use of this native client is available in Alfresco Official Documentation:
https://github.com/Alfresco/alfresco-java-sdk/tree/develop/alfresco-java-event-api
Additionally, the project includes the information for the Event Model used to build the events:
https://github.com/Alfresco/alfresco-java-sdk/tree/develop/alfresco-java-event-api/alfresco-java-eve...
Discover how to use this new SDK with the Events API in the following video.