Uses of Interface
org.apache.activemq.artemis.core.config.Configuration
Packages that use Configuration
-
Uses of Configuration in org.apache.activemq.artemis.core.config
Methods in org.apache.activemq.artemis.core.config that return ConfigurationModifier and TypeMethodDescriptionConfiguration.addAcceptorConfiguration
(String name, String uri) Add an acceptor to the configConfiguration.addAcceptorConfiguration
(TransportConfiguration infos) Configuration.addAddressConfiguration
(CoreAddressConfiguration config) Adds an addresses configurationConfiguration.addAddressesSetting
(String key, org.apache.activemq.artemis.core.settings.impl.AddressSettings addressesSetting) Deprecated.Configuration.addAddressSetting
(String key, org.apache.activemq.artemis.core.settings.impl.AddressSettings addressesSetting) Add anAddressSettings
to the underlying collection.Configuration.addAMQPConnection
(AMQPBrokerConnectConfiguration amqpBrokerConnectConfiguration) Configuration.addBroadcastGroupConfiguration
(BroadcastGroupConfiguration config) Configuration.addClusterConfiguration
(ClusterConnectionConfiguration config) Configuration.addConnectionRouter
(ConnectionRouterConfiguration config) Configuration.addConnectorConfiguration
(String name, String uri) Configuration.addConnectorConfiguration
(String key, TransportConfiguration info) Configuration.addConnectorServiceConfiguration
(ConnectorServiceConfiguration config) Configuration.addDiscoveryGroupConfiguration
(String key, DiscoveryGroupConfiguration discoveryGroupConfiguration) Configuration.addDivertConfiguration
(DivertConfiguration config) Configuration.addQueueConfiguration
(QueueConfiguration config) Configuration.addQueueConfiguration
(CoreQueueConfiguration config) Deprecated.Configuration.addResourceLimitSettings
(org.apache.activemq.artemis.core.settings.impl.ResourceLimitSettings resourceLimitSettings) Add a resource limit to the underlying collection.Configuration.addSecurityRoleNameMapping
(String internalRole, Set<String> externalRoles) Configuration.addSecuritySettingPlugin
(org.apache.activemq.artemis.core.server.SecuritySettingPlugin plugin) Configuration.clearAcceptorConfigurations()
Configuration.clearAddressesSettings()
Deprecated.Configuration.clearAddressSettings()
Configuration.clearAMQPConnectionConfigurations()
Clears the current configuration object of all set or added AMQP connection configuration elements.Configuration.clearClusterConfigurations()
Configuration.clearConnectorConfigurations()
Configuration.copy()
Configuration.parseProperties
(String optionalUrlToPropertiesFile) Configuration.putSecurityRoles
(String match, Set<org.apache.activemq.artemis.core.security.Role> roles) Configuration.setAcceptorConfigurations
(Set<TransportConfiguration> infos) Sets the acceptors configured for this server.Configuration.setAddressConfigurations
(List<CoreAddressConfiguration> configs) Sets the addresses configured for this server.Configuration.setAddressesSettings
(Map<String, org.apache.activemq.artemis.core.settings.impl.AddressSettings> addressesSettings) Deprecated.Configuration.setAddressQueueScanPeriod
(long addressQueueScanPeriod) Sets the frequency (in milliseconds) to scan addresses and queues to detect which ones should be deleted.Configuration.setAddressSettings
(Map<String, org.apache.activemq.artemis.core.settings.impl.AddressSettings> addressSettings) Set the collection ofAddressSettings
indexed by address match.Configuration.setAMQPConnectionConfigurations
(List<AMQPBrokerConnectConfiguration> amqpConnectionConfiugrations) Quick set of all AMQP connection configurations in one call which will clear all previously set or added broker configurations.Configuration.setAmqpUseCoreSubscriptionNaming
(boolean amqpUseCoreSubscriptionNaming) Sets if to use Core subscription naming for AMQP.Configuration.setAuthenticationCacheSize
(long size) Sets the size of the authentication cache.Configuration.setAuthorizationCacheSize
(long size) Sets the size of the authorization cache.Configuration.setBindingsDirectory
(String dir) Sets the file system directory used to store bindings.Configuration.setBridgeConfigurations
(List<BridgeConfiguration> configs) Sets the bridges configured for this server.Configuration.setBroadcastGroupConfigurations
(List<BroadcastGroupConfiguration> configs) Sets the broadcast groups configured for this server}Configuration.setClusterConfigurations
(List<ClusterConnectionConfiguration> configs) Sets the cluster connections configured for this server.Configuration.setClusterPassword
(String password) Sets the cluster password for this server.Configuration.setClusterUser
(String user) Sets the cluster user for this server.Configuration.setConfigurationFileRefreshPeriod
(long configurationFileRefreshPeriod) Configuration.setConfigurationUrl
(URL configurationUrl) Configuration.setConnectionRouters
(List<ConnectionRouterConfiguration> configs) Sets the redirects configured for this server.Configuration.setConnectionTtlCheckInterval
(long connectionTtlCheckInterval) Configuration.setConnectionTTLOverride
(long ttl) Sets the connection time to live.Configuration.setConnectorConfigurations
(Map<String, TransportConfiguration> infos) Sets the connectors configured for this server.Configuration.setConnectorServiceConfigurations
(List<ConnectorServiceConfiguration> configs) Configuration.setCreateBindingsDir
(boolean create) Sets whether the bindings directory is created on this server startup.Configuration.setCreateJournalDir
(boolean create) Sets whether the journal directory is created on this server startup.Configuration.setCriticalAnalyzer
(boolean CriticalAnalyzer) Configuration.setCriticalAnalyzerCheckPeriod
(long checkPeriod) Configuration.setCriticalAnalyzerPolicy
(org.apache.activemq.artemis.utils.critical.CriticalAnalyzerPolicy policy) Configuration.setCriticalAnalyzerTimeout
(long timeout) Configuration.setDiscoveryGroupConfigurations
(Map<String, DiscoveryGroupConfiguration> configs) Sets the discovery groups configured for this server.Configuration.setDiskScanPeriod
(int diskScanPeriod) Configuration.setDivertConfigurations
(List<DivertConfiguration> configs) Sets the diverts configured for this server.Configuration.setEnabledAsyncConnectionExecution
(boolean enabled) Deprecated.Configuration.setFileDeployerScanPeriod
(long period) Sets the period to scan configuration files used by deployment.Configuration.setGlobalMaxMessages
(long globalMaxMessages) Configuration.setGlobalMaxSize
(long globalMaxSize) Configuration.setGracefulShutdownEnabled
(boolean enabled) Sets whether security is enabled for this server.Configuration.setGracefulShutdownTimeout
(long timeout) Sets the graceful shutdown timeoutConfiguration.setGroupingHandlerConfiguration
(org.apache.activemq.artemis.core.server.group.impl.GroupingHandlerConfiguration groupingHandlerConfiguration) Sets the grouping handler configured for this server.Configuration.setHAPolicyConfiguration
(HAPolicyConfiguration haPolicyConfiguration) Configuration.setIDCacheSize
(int idCacheSize) Sets the size of the cache for pre-creating message IDs.Configuration.setIncomingInterceptorClassNames
(List<String> interceptors) Sets the list of interceptors classes used by this server for incoming messages (i.e. those being delivered to the server from clients).Configuration.setJMXDomain
(String domain) Sets the domain used by JMX MBeans (provided JMX management is enabled).Configuration.setJMXManagementEnabled
(boolean enabled) Sets whether this server is manageable using JMX or not; default isActiveMQDefaultConfiguration.DEFAULT_JMX_MANAGEMENT_ENABLED
}Configuration.setJournalBufferSize_AIO
(int journalBufferSize) Sets the buffer size (in bytes) for AIO.Configuration.setJournalBufferSize_NIO
(int journalBufferSize) Sets the buffer size (in bytes) for NIO.Configuration.setJournalBufferTimeout_AIO
(int journalBufferTimeout) Sets the timeout (in nanoseconds) used to flush buffers in the AIO queue.Configuration.setJournalBufferTimeout_NIO
(int journalBufferTimeout) Sets the timeout (in nanoseconds) used to flush buffers in the NIO.Configuration.setJournalCompactMinFiles
(int minFiles) Sets the minimal number of journal files before compacting.Configuration.setJournalCompactPercentage
(int percentage) Sets the percentage of live data before compacting the journal.Configuration.setJournalDatasync
(boolean enable) documented atisJournalDatasync()
Configuration.setJournalDeviceBlockSize
(Integer deviceBlockSize) Set the journal device block size.Configuration.setJournalDirectory
(String dir) Sets the file system directory used to store journal log.Configuration.setJournalFileOpenTimeout
(int journalFileOpenTimeout) Sets the journal file open timeoutConfiguration.setJournalFileSize
(int size) Sets the size (in bytes) of each journal files.Configuration.setJournalLockAcquisitionTimeout
(long journalLockAcquisitionTimeout) Configuration.setJournalMaxAtticFiles
(int maxAtticFiles) Sets the maximal number of data files before we can start deleting corrupted files instead of moving them to attic.Configuration.setJournalMaxIO_AIO
(int journalMaxIO) Sets the maximum number of write requests that can be in the AIO queue at any given time.Configuration.setJournalMaxIO_NIO
(int journalMaxIO) Sets the maximum number of write requests for NIO journal.Configuration.setJournalMinFiles
(int files) Sets the number of journal files to pre-create.Configuration.setJournalPoolFiles
(int poolSize) Number of files that would be acceptable to keep on a pool; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_POOL_FILES
}Configuration.setJournalRetentionDirectory
(String dir) Sets the file system directory used to store historical backup journal.Configuration.setJournalRetentionMaxBytes
(long bytes) Configuration.setJournalRetentionPeriod
(TimeUnit unit, long limit) Configuration.setJournalSyncNonTransactional
(boolean sync) Sets whether the journal is synchronized when receiving non-transactional data.Configuration.setJournalSyncTransactional
(boolean sync) Sets whether the journal is synchronized when receiving transactional data.Configuration.setJournalType
(org.apache.activemq.artemis.core.server.JournalType type) Sets the type of journal used by this server (eitherNIO
orASYNCIO
).Configuration.setLargeMessagesDirectory
(String directory) Sets the file system directory used to store large messages.Configuration.setLargeMessageSync
(boolean largeMessageSync) Configuration.setLiteralMatchMarkers
(String literalMatchMarkers) Configuration.setLogJournalWriteRate
(boolean rate) Configuration.setManagementAddress
(SimpleString address) Sets the management address of this server.Configuration.setManagementNotificationAddress
(SimpleString address) Sets the management notification address of this server.Configuration.setMaskPassword
(Boolean maskPassword) Sets if passwords should be masked or not.Configuration.setMaxDiskUsage
(int maxDiskUsage) Configuration.setMaxRedeliveryRecords
(int maxPersistRedelivery) Maximum number of redelivery records stored on the journal per message reference.Configuration.setMemoryMeasureInterval
(long memoryMeasureInterval) Configuration.setMemoryWarningThreshold
(int memoryWarningThreshold) Configuration.setMessageCounterEnabled
(boolean enabled) Sets whether message counter is enabled for this server.Configuration.setMessageCounterMaxDayHistory
(int maxDayHistory) Sets the maximum number of days kept in memory for message counter.Configuration.setMessageCounterSamplePeriod
(long period) Sets the sample period to take message counter snapshot.Configuration.setMessageExpiryScanPeriod
(long messageExpiryScanPeriod) Sets the frequency (in milliseconds) to scan messages to detect which messages have expired.Configuration.setMessageExpiryThreadPriority
(int messageExpiryThreadPriority) Deprecated.Configuration.setMetricsConfiguration
(MetricsConfiguration metricsConfiguration) Configuration.setMetricsPlugin
(org.apache.activemq.artemis.core.server.metrics.ActiveMQMetricsPlugin plugin) Deprecated.Configuration.setMinDiskFree
(long minDiskFree) Configuration.setMirrorAckManagerPageAttempts
(int pageAttempts) Configuration.setMirrorAckManagerQueueAttempts
(int queueAttempts) Configuration.setMirrorAckManagerRetryDelay
(int delay) Configuration.setMirrorAckManagerWarnUnacked
(boolean warnUnacked) should log.warn when ack retries failed.Configuration.setMirrorPageTransaction
(boolean ignorePageTransactions) Configuration.setMqttSessionScanInterval
(long mqttSessionScanInterval) This is necessary because the MQTT session scan interval is a broker-wide setting and can't be set on a per-connector basis like most of the other MQTT-specific settings.Configuration.setMqttSessionStatePersistenceTimeout
(long mqttSessionStatePersistenceTimeout) This is necessary because MQTT sessions and handled on a broker-wide basis so this can't be set on a per-connector basis like most of the other MQTT-specific settings.To be used on dependency management on the application serverConfiguration.setNetworCheckNIC
(String nic) Deprecated.Configuration.setNetworkCheckList
(String list) A comma separated list of IPs we could use to validate if the network is UP.Configuration.setNetworkCheckNIC
(String nic) The NIC name to be used on network checksConfiguration.setNetworkCheckPeriod
(long period) The interval on which we will perform network checks.Configuration.setNetworkCheckPing6Command
(String command) Configuration.setNetworkCheckPingCommand
(String command) Configuration.setNetworkCheckTimeout
(int timeout) Time in ms for how long we should wait for a ping to finish.Configuration.setNetworkCheckURLList
(String uris) A comma separated list of URIs we could use to validate if the network is UP.Configuration.setNodeManagerLockDirectory
(String dir) Sets the file system directory used to store the node manager lock file.Configuration.setOutgoingInterceptorClassNames
(List<String> interceptors) Sets the list of interceptors classes used by this server for outgoing messages (i.e. those being delivered to clients from the server).Configuration.setPageMaxConcurrentIO
(int maxIO) The max number of concurrent reads allowed on paging.Configuration.setPageSyncTimeout
(int pageSyncTimeout) Sets the timeout (in nanoseconds) used to sync pages.Configuration.setPagingDirectory
(String dir) Sets the file system directory used to store paging files.Configuration.setPasswordCodec
(String codec) The default password decoderConfiguration.setPersistDeliveryCountBeforeDelivery
(boolean persistDeliveryCountBeforeDelivery) Sets whether delivery count is persisted before messages are delivered to consumers.Configuration.setPersistenceEnabled
(boolean enable) Sets whether this server is using persistence and store data.Configuration.setPersistIDCache
(boolean persist) Sets whether message ID cache is persisted.Configuration.setPopulateValidatedUser
(boolean populateValidatedUser) Configuration.setQueueConfigs
(List<QueueConfiguration> configs) Sets the queues configured for this server.Configuration.setQueueConfigurations
(List<CoreQueueConfiguration> configs) Deprecated.Configuration.setReadWholePage
(boolean read) Sets whether the whole page is read while getting message after page cache is evicted.Configuration.setRejectEmptyValidatedUser
(boolean rejectEmptyValidatedUser) Configuration.setResolveProtocols
(boolean resolveProtocols) Whether to use all protocols available on the classpath.Configuration.setResourceLimitSettings
(Map<String, org.apache.activemq.artemis.core.settings.impl.ResourceLimitSettings> resourceLimitSettings) Set the collection of resource limits indexed by username.Configuration.setScheduledThreadPoolMaxSize
(int maxSize) Sets the maximum number of threads in the scheduled thread pool of this server.Configuration.setSecurityEnabled
(boolean enabled) Sets whether security is enabled for this server.Configuration.setSecurityInvalidationInterval
(long interval) Sets the interval time (in milliseconds) to invalidate security credentials.Configuration.setSecurityRoles
(Map<String, Set<org.apache.activemq.artemis.core.security.Role>> roles) Set the collection ofRole
objects indexed by match (i.e. address name).Configuration.setSecuritySettingPlugins
(List<org.apache.activemq.artemis.core.server.SecuritySettingPlugin> plugins) Configuration.setServerDumpInterval
(long interval) Configuration.setStoreConfiguration
(StoreConfiguration storeConfiguration) Configuration.setSuppressSessionNotifications
(boolean suppressSessionNotifications) Configuration.setSystemPropertyPrefix
(String systemPropertyPrefix) We use Bean-utils to pass in System.properties that start withsetSystemPropertyPrefix(String)
} The default should bebrokerconfig.
(Including the ".").Configuration.setTemporaryQueueNamespace
(String temporaryQueueNamespace) Configuration.setThreadPoolMaxSize
(int maxSize) Sets the maximum number of threads in the thread pool of this server.Configuration.setTransactionTimeout
(long timeout) Sets the timeout (in milliseconds) after which transactions is removed from the resource manager after it was created.Configuration.setTransactionTimeoutScanPeriod
(long period) Sets the frequency (in milliseconds) to scan transactions to detect which transactions have timed out.Configuration.setWildCardConfiguration
(WildcardConfiguration wildcardConfiguration) Configuration.setWildcardRoutingEnabled
(boolean enabled) Sets whether wildcard routing is supported by this server.Methods in org.apache.activemq.artemis.core.config with parameters of type ConfigurationModifier and TypeMethodDescriptionClusterConnectionConfiguration.getDiscoveryGroupConfiguration
(Configuration configuration) This method will return the proper discovery configuration from the main configurationConfigurationUtils.getReplicationClusterConfiguration
(Configuration conf, String replicationCluster) ClusterConnectionConfiguration.getTransportConfiguration
(Configuration configuration) ClusterConnectionConfiguration.getTransportConfigurations
(Configuration configuration) This method will match the configuration and return the proper TransportConfiguration for the Configurationstatic void
ConfigurationUtils.validateConfiguration
(Configuration configuration)