All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.holixon.axon.gateway.configuration.query.RevisionAwareQueryGatewayProperties.kt Maven / Gradle / Ivy

There is a newer version: 2.1.0
Show newest version
package io.holixon.axon.gateway.configuration.query

import org.springframework.boot.context.properties.ConfigurationProperties
import org.springframework.boot.context.properties.ConstructorBinding

/**
 * Properties of the revision-aware query gateway.
 * @param defaultQueryTimeout default timeout in seconds to wait until the query delivers a
 * timeout, if not specified in the query. If not set, the default of 3 seconds is used.
 * 
 * axon-gateway:
 *   query:
 *       type: revision-aware
 *       revision-aware:
 *           default-query-timeout: 10
 * 
 */
@ConfigurationProperties("axon-gateway.query.revision-aware")
@ConstructorBinding
data class RevisionAwareQueryGatewayProperties(
    val defaultQueryTimeout: Long = 3
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy