Skip to main content
Version: Previous

Event Handler - configuring runtime

There are two important files in your application that contain configuration information:

  • application-name-processes.xml
  • application-name-service-definitions.xml

Configuring in processes.xml

Here is an example of an Event Handler configuration in an application's processes.xml file:

  <process name="POSITION_EVENT_HANDLER">
<groupId>POSITION</groupId>
<start>true</start>
<options>-Xmx256m -DRedirectStreamsToLog=true -DXSD_VALIDATE=false</options>
<module>genesis-pal-eventhandler</module>
<package>global.genesis.eventhandler.pal</package>
<script>position-eventhandler.kts</script>
<description>Handles events</description>
<classpath>position-messages*,position-eventhandler*</classpath>
<language>pal</language>
</process>

For more information on the tags that can be set within the configuration for your application, go to our page on processes.xml.

Configuring in service-definitions.xml

Here is an example of an Event Handler's service configuration:

  <service host="localhost" name="POSITION_EVENT_HANDLER" port="11002"/>

For more information on the attributes that can be set here, go to our page on service definitions.