Set properties for event handler projects - Set properties for event handler projects - Alfresco - Alfresco Events SDK for Out-of-Process Events - Alfresco/Alfresco-Events-SDK-for-Out-of-Process-Events/6.3/Alfresco-Events-SDK-for-Out-of-Process-Events/Install/Creating-event-handler-projects/Create-a-starting-point-Spring-project/Set-properties-for-event-handler-projects - 6.3 - 6.3

Alfresco Events SDK for Out-of-Process Events

Platform
Alfresco
Product
Alfresco Events SDK for Out-of-Process Events
Release
6.3
License
ft:lastPublication
2025-09-04T22:27:16.404000
ft:locale
en-US
Note: Skip this section if you are just creating a project for a Java ReST API client.

If you plan to create an event handler project, you’ll need to set a number of properties to:

  • Tell the event app where the Active MQ server is running so it knows where to listen for events. This is done in the src/main/resources/application.properties configuration file. Remember, the Active MQ server is started as part of the Content Services system (see Start up Content Services 23.1 or newer).
  • Tell the system to auto-define the Active MQ Connection factory:
# Where is Alfresco Active MQ JMS Broker running?
spring.activemq.brokerUrl=tcp://localhost:61616
# This property is required if you want Spring Boot to auto-define the ActiveMQConnectionFactory, 
# otherwise you can define that bean in Spring config
spring.jms.cache.enabled=false