Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In ODYSSEUS_HOME create a new folder autostart with a file named autostart.qry. This file can contain any Odysseus Script content.

There could be some timing problems, i.e. the autostart script contains code (e.g. a transport or protocol handler) that is not available yet, because the system is still starting (especially for handler outside of the core bundle). In this case you could use the following Odysseus Script commands:

Code Block
/// Wait until the transport handler Kafka is available. Test this every 1 seconds and test this for at least 120 seconds.
#WAITFORTRANSPORTHANDLER Kafka 1000 120000

/// Wait until the protocol handler Html is available. Test this every 1 seconds and test this for at least 10 seconds.
#WAITFORPROTOCOLHANDLER Html 1000 10000