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