CORDA-3753: Increase Artemis security-invalidation-interval to avoid frequent CRL checks (#6207)

This commit is contained in:
Denis Rekalov
2020-05-04 13:00:22 +01:00
committed by GitHub
parent 8dccd4231d
commit 32407b2c46
3 changed files with 6 additions and 0 deletions

View File

@ -33,6 +33,9 @@ class ArtemisMessagingComponent {
// This is a rough guess on the extra space needed on top of maxMessageSize to store the journal.
// TODO: we might want to make this value configurable.
const val JOURNAL_HEADER_SIZE = 1024
// Time interval after which every connected client is re-authenticated using BrokerJaasLoginModule.
// Setting it to 1 hour (instead of default value of 10 seconds) to avoid frequent expensive checks, e.g. CRL check.
const val SECURITY_INVALIDATION_INTERVAL = 3600 * 1000L
object P2PMessagingHeaders {
// This is a "property" attached to an Artemis MQ message object, which contains our own notion of "topic".