Skip to content
Philip Helger edited this page Feb 23, 2021 · 2 revisions

System Properties

The following system properties are available for global customization

  • boolean AS2.useSecureRandom - since v2.2.0, removed in v4.3.0 - determine whether the Java SecureRandom should be used or not. On some Unix/Linux systems the initialization of SecureRandom takes forever and this is how you easily disable it (-DAS2.useSecureRandom=false).
  • String AS2.httpDumpDirectoryIncoming - since v4.1.0 (old name AS2.httpDumpDirectory since v2.2.0) - if this system property is defined, all incoming HTTP traffic is dumped "as is" into the specified directory (e.g. -DAS2.httpDumpDirectoryIncoming=/var/dump/as2-http-incoming). The filename starts with "as2-incoming-", contains the current timestamp as milliseconds, followed by a dash and a unique index and finally has the extension ".http"
  • String AS2.dumpDecryptedDirectory - since v2.2.0 - if this system property is defined, all incoming decrypted MIME parts are dumped "as is" into the specified directory (e.g. -DAS2.dumpDecryptedDirectory=/var/dump/as2-decrypted). The filename starts with "as2-decrypted-", contains the current timestamp as milliseconds, followed by a dash and a unique index and finally has the extension ".part"
  • String AS2.httpDumpDirectoryOutgoing - since v4.1.0 - if this system property is defined, all outgoing HTTP traffic is dumped "as is" into the specified directory (e.g. -DAS2.httpDumpDirectoryOutgoing=/var/dump/as2-http-outgoing). The filename starts with "as2-outgoing-", contains the current timestamp as milliseconds, followed by a dash and a unique index and finally has the extension ".http".
Clone this wiki locally