Interface Configuration
public interface Configuration
A Configuration is used to configure ActiveMQ Artemis servers.
-
Method Summary
Modifier and TypeMethodDescriptionaddAcceptorConfiguration
(String name, String uri) Add an acceptor to the configAdds an addresses configurationaddAddressesSetting
(String key, org.apache.activemq.artemis.core.settings.impl.AddressSettings addressesSetting) Deprecated.addAddressSetting
(String key, org.apache.activemq.artemis.core.settings.impl.AddressSettings addressesSetting) Add anAddressSettings
to the underlying collection.addAMQPConnection
(AMQPBrokerConnectConfiguration amqpBrokerConnectConfiguration) addClusterConfiguration
(String name, String uri) addConnectorConfiguration
(String name, String uri) addDiscoveryGroupConfiguration
(String key, DiscoveryGroupConfiguration discoveryGroupConfiguration) Deprecated.addResourceLimitSettings
(org.apache.activemq.artemis.core.settings.impl.ResourceLimitSettings resourceLimitSettings) Add a resource limit to the underlying collection.addSecurityRoleNameMapping
(String internalRole, Set<String> externalRoles) addSecuritySettingPlugin
(org.apache.activemq.artemis.core.server.SecuritySettingPlugin plugin) Deprecated.Clears the current configuration object of all set or added AMQP connection configuration elements.copy()
It will return all the connectors in a toString manner for debug purposes.void
Returns the acceptors configured for this server.Returns the addresses configured for this server.Deprecated.long
Returns the frequency (in milliseconds) to scan addresses and queues to detect which ones should be deleted; default isActiveMQDefaultConfiguration.DEFAULT_MESSAGE_EXPIRY_SCAN_PERIOD
.Returns A list of AddressSettings per matching to be deployed to the address settings repository.long
Returns the configured size of the authentication cache; default isActiveMQDefaultConfiguration.DEFAULT_AUTHENTICATION_CACHE_SIZE
.long
Returns the configured size of the authorization cache; default isActiveMQDefaultConfiguration.DEFAULT_AUTHORIZATION_CACHE_SIZE
.Returns the file system directory used to store bindings; default isActiveMQDefaultConfiguration.DEFAULT_BINDINGS_DIRECTORY
.The binding location related to artemis.instance.Returns the bridges configured for this server.Returns the broadcast groups configured for this server.Set the Artemis instance relative folder for data and stuff.Returns the cluster connections configured for this server; modifying the returned list will modify the list ofClusterConnectionConfiguration
used by this configuration.Returns the cluster password for this server; default isActiveMQDefaultConfiguration.DEFAULT_CLUSTER_PASSWORD
.Returns the cluster user for this server; default isActiveMQDefaultConfiguration.DEFAULT_CLUSTER_USER
.long
Returns the redirects configured for this server.long
long
Returns the connection time to live; This value overrides the connection time-to-live sent by the client; default isActiveMQDefaultConfiguration.DEFAULT_CONNECTION_TTL_OVERRIDE
.Returns the connectors configured for this server.Returns list ofConnectorServiceConfiguration
.long
org.apache.activemq.artemis.utils.critical.CriticalAnalyzerPolicy
long
Returns the discovery groups configured for this server.int
Returns the diverts configured for this server.long
Returns the period (in milliseconds) to scan configuration files used by deployment; default isActiveMQDefaultConfiguration.DEFAULT_FILE_DEPLOYER_SCAN_PERIOD
.long
long
int
long
Returns the graceful shutdown timeout for this server; default isActiveMQDefaultConfiguration.DEFAULT_GRACEFUL_SHUTDOWN_TIMEOUT
.org.apache.activemq.artemis.core.server.group.impl.GroupingHandlerConfiguration
Returns the grouping handler configured for this server.int
Returns the size of the cache for pre-creating message IDs; default isActiveMQDefaultConfiguration.DEFAULT_ID_CACHE_SIZE
.Returns the list of interceptors classes used by this server for incoming messages (i.e. those being delivered to the server from clients).Returns the domain used by JMX MBeans (provided JMX management is enabled); default isActiveMQDefaultConfiguration.DEFAULT_JMX_DOMAIN
.int
Returns the buffer size (in bytes) for AIO; default isArtemisConstants.DEFAULT_JOURNAL_BUFFER_SIZE_AIO
.int
Returns the buffer size (in bytes) for NIO; default isArtemisConstants.DEFAULT_JOURNAL_BUFFER_SIZE_NIO
.int
Returns the timeout (in nanoseconds) used to flush buffers in the AIO queue; default isArtemisConstants.DEFAULT_JOURNAL_BUFFER_TIMEOUT_AIO
.int
Returns the timeout (in nanoseconds) used to flush buffers in the NIO; default isArtemisConstants.DEFAULT_JOURNAL_BUFFER_TIMEOUT_NIO
.int
Returns the minimal number of journal files before compacting; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_COMPACT_MIN_FILES
.int
Returns the percentage of live data before compacting the journal; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_COMPACT_PERCENTAGE
.This is the device block size used on writing.Returns the file system directory used to store journal log; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_DIR
.int
Returns How long to wait when opening a new Journal file before failing.int
Returns the size (in bytes) of each journal files; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_FILE_SIZE
.Returns the location of the journal related toartemis.instance
.long
int
Returns the maximal number of data files before we can start deleting corrupted files instead of moving them to attic; default value isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_MAX_ATTIC_FILES
.int
Returns the maximum number of write requests that can be in the AIO queue at any given time; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_MAX_IO_AIO
.int
Returns the maximum number of write requests for NIO journal; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_MAX_IO_NIO
.int
Returns the number of journal files to pre-create; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_MIN_FILES
.int
Number of files that would be acceptable to keep on a pool; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_POOL_FILES
}long
long
Returns the retention period for the journal in milliseconds (always in milliseconds, a conversion is performed on set).org.apache.activemq.artemis.core.server.JournalType
Returns the type of journal used by this server (NIO
,ASYNCIO
orMAPPED
); default isASYNCIO
.Returns the file system directory used to store large messages; default isActiveMQDefaultConfiguration.DEFAULT_LARGE_MESSAGES_DIR
.The large message location related to artemis.instanceReturns the management address of this server; Clients can send management messages to this address to manage this server; default isActiveMQDefaultConfiguration.DEFAULT_MANAGEMENT_ADDRESS
.Returns the management notification address of this server; Clients can bind queues to this address to receive management notifications emitted by this server; default isActiveMQDefaultConfiguration.DEFAULT_MANAGEMENT_NOTIFICATION_ADDRESS
.int
int
long
int
int
Returns the maximum number of days kept in memory for message counter; default isActiveMQDefaultConfiguration.DEFAULT_MESSAGE_COUNTER_MAX_DAY_HISTORY
.long
Returns the sample period (in milliseconds) to take message counter snapshot; default isActiveMQDefaultConfiguration.DEFAULT_MESSAGE_COUNTER_SAMPLE_PERIOD
.long
Returns the frequency (in milliseconds) to scan messages to detect which messages have expired; default isActiveMQDefaultConfiguration.DEFAULT_MESSAGE_EXPIRY_SCAN_PERIOD
.int
Deprecated.org.apache.activemq.artemis.core.server.metrics.ActiveMQMetricsPlugin
Deprecated.long
int
This configures the Mirror Ack Manager number of attempts on page acks.int
This configures the Mirror Ack Manager number of attempts on queues before trying page acks.int
This configures the interval in which the Mirror AckManager will retry acks when It is not intended to be configured through the XML.long
Get the MQTT session scan intervallong
Get the MQTT session state persistence timeoutgetName()
To be used on dependency management on the application serverlong
int
Returns the directory that contains the lock file.Returns the location of the node manager lock file related to artemis.instance.Returns the list of interceptors classes used by this server for outgoing messages (i.e. those being delivered to clients from the server).int
Returns the max number of concurrent reads allowed on paging; default isActiveMQDefaultConfiguration.DEFAULT_MAX_CONCURRENT_PAGE_IO
.int
Returns the timeout (in nanoseconds) used to sync pages; default isArtemisConstants.DEFAULT_JOURNAL_BUFFER_TIMEOUT_NIO
.Returns the file system directory used to store paging files; default isActiveMQDefaultConfiguration.DEFAULT_PAGING_DIR
.The paging location related to artemis.instanceGets the default password decoderReturns the queues configured for this server; modifying the returnedList
will not impact the underlyingList
.Deprecated.Returns usernames mapped to ResourceLimitSettings.int
Returns the maximum number of threads in the scheduled thread pool of this server; default isActiveMQDefaultConfiguration.DEFAULT_SCHEDULED_THREAD_POOL_MAX_SIZE
.long
Returns the interval time (in milliseconds) to invalidate security credentials; default isActiveMQDefaultConfiguration.DEFAULT_SECURITY_INVALIDATION_INTERVAL
.Returns a collection of roles indexed by matched.List<org.apache.activemq.artemis.core.server.SecuritySettingPlugin>
long
See doc atsetSystemPropertyPrefix(String)
}int
Returns the maximum number of threads in the thread pool of this server; default isActiveMQDefaultConfiguration.DEFAULT_THREAD_POOL_MAX_SIZE
.long
Returns the timeout (in milliseconds) after which transactions is removed from the resource manager after it was created; default isActiveMQDefaultConfiguration.DEFAULT_TRANSACTION_TIMEOUT
.long
Returns the frequency (in milliseconds) to scan transactions to detect which transactions have timed out; default isActiveMQDefaultConfiguration.DEFAULT_TRANSACTION_TIMEOUT_SCAN_PERIOD
.getTransportConfigurations
(String... connectorNames) getTransportConfigurations
(List<String> connectorNames) boolean
Returns if to use Core subscription naming for AMQP.boolean
Deprecated.boolean
Returns whether this server is clustered.true
ifgetClusterConfigurations()
is not empty.boolean
Returns whether the bindings directory is created on this server startup; default isActiveMQDefaultConfiguration.DEFAULT_CREATE_BINDINGS_DIR
.boolean
Returns whether the journal directory is created on this server startup; default isActiveMQDefaultConfiguration.DEFAULT_CREATE_JOURNAL_DIR
.boolean
boolean
Returns whether graceful shutdown is enabled for this server; default isActiveMQDefaultConfiguration.DEFAULT_GRACEFUL_SHUTDOWN_ENABLED
.default boolean
isJDBC()
boolean
Returns whether this server is manageable using JMX or not; default isActiveMQDefaultConfiguration.DEFAULT_JMX_MANAGEMENT_ENABLED
.boolean
whether to use the broker name in the JMX treeboolean
Should use fdatasync on journal files.boolean
Returns whether the journal is synchronized when receiving non-transactional data; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_SYNC_NON_TRANSACTIONAL
.boolean
Returns whether the journal is synchronized when receiving transactional data; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_SYNC_TRANSACTIONAL
.boolean
boolean
boolean
If passwords are masked.boolean
Returns whether message counter is enabled for this server; default isActiveMQDefaultConfiguration.DEFAULT_MESSAGE_COUNTER_ENABLED
.boolean
boolean
Should Mirror use Page Transactions When target destinations is paging? When a target queue on the mirror is paged, the mirror will not record a page transaction for every message.boolean
Returns whether delivery count is persisted before messages are delivered to the consumers; default isActiveMQDefaultConfiguration.DEFAULT_PERSIST_DELIVERY_COUNT_BEFORE_DELIVERY
.boolean
Returns whether this server is using persistence and store data; default isActiveMQDefaultConfiguration.DEFAULT_PERSISTENCE_ENABLED
.boolean
Returns whether message ID cache is persisted; default isActiveMQDefaultConfiguration.DEFAULT_PERSIST_ID_CACHE
.boolean
boolean
Returns whether the whole page is read while getting message after page cache is evicted; default isActiveMQDefaultConfiguration.DEFAULT_READ_WHOLE_PAGE
.boolean
boolean
Returns whether to resolve and use any Protocols available on the classpath; default isActiveMQDefaultConfiguration.DEFAULT_RESOLVE_PROTOCOLS
.boolean
Returns whether security is enabled for this server; default isActiveMQDefaultConfiguration.DEFAULT_SECURITY_ENABLED
.boolean
Returns whether suppression of session-notifications is enabled for this server; default isActiveMQDefaultConfiguration.DEFAULT_SUPPRESS_SESSION_NOTIFICATIONS
.boolean
Returns whether wildcard routing is supported by this server; default isActiveMQDefaultConfiguration.DEFAULT_WILDCARD_ROUTING_ENABLED
.void
parsePrefixedProperties
(Object target, String name, Properties properties, String prefix) parseProperties
(String optionalUrlToPropertiesFile) putSecurityRoles
(String match, Set<org.apache.activemq.artemis.core.security.Role> roles) void
void
default String
resolvePropertiesSources
(String propertiesFileUrl) Sets the acceptors configured for this server.Sets the addresses configured for this server.setAddressesSettings
(Map<String, org.apache.activemq.artemis.core.settings.impl.AddressSettings> addressesSettings) Deprecated.setAddressQueueScanPeriod
(long addressQueueScanPeriod) Sets the frequency (in milliseconds) to scan addresses and queues to detect which ones should be deleted.setAddressSettings
(Map<String, org.apache.activemq.artemis.core.settings.impl.AddressSettings> addressSettings) Set the collection ofAddressSettings
indexed by address match.setAMQPConnectionConfigurations
(List<AMQPBrokerConnectConfiguration> amqpConnectionConfiugrations) Quick set of all AMQP connection configurations in one call which will clear all previously set or added broker configurations.setAmqpUseCoreSubscriptionNaming
(boolean amqpUseCoreSubscriptionNaming) Sets if to use Core subscription naming for AMQP.setAuthenticationCacheSize
(long size) Sets the size of the authentication cache.setAuthorizationCacheSize
(long size) Sets the size of the authorization cache.Sets the file system directory used to store bindings.setBridgeConfigurations
(List<BridgeConfiguration> configs) Sets the bridges configured for this server.Sets the broadcast groups configured for this server}void
setBrokerInstance
(File directory) Set the Artemis instance relative folder for data and stuff.Sets the cluster connections configured for this server.setClusterPassword
(String password) Sets the cluster password for this server.setClusterUser
(String user) Sets the cluster user for this server.setConfigurationFileRefreshPeriod
(long configurationFileRefreshPeriod) setConfigurationUrl
(URL configurationUrl) Sets the redirects configured for this server.setConnectionTtlCheckInterval
(long connectionTtlCheckInterval) setConnectionTTLOverride
(long ttl) Sets the connection time to live.Sets the connectors configured for this server.setCreateBindingsDir
(boolean create) Sets whether the bindings directory is created on this server startup.setCreateJournalDir
(boolean create) Sets whether the journal directory is created on this server startup.setCriticalAnalyzer
(boolean CriticalAnalyzer) setCriticalAnalyzerCheckPeriod
(long checkPeriod) setCriticalAnalyzerPolicy
(org.apache.activemq.artemis.utils.critical.CriticalAnalyzerPolicy policy) setCriticalAnalyzerTimeout
(long timeout) Sets the discovery groups configured for this server.setDiskScanPeriod
(int diskScanPeriod) setDivertConfigurations
(List<DivertConfiguration> configs) Sets the diverts configured for this server.setEnabledAsyncConnectionExecution
(boolean enabled) Deprecated.setFileDeployerScanPeriod
(long period) Sets the period to scan configuration files used by deployment.setGlobalMaxMessages
(long globalMaxMessages) setGlobalMaxSize
(long globalMaxSize) org.apache.activemq.artemis.core.config.impl.ConfigurationImpl
setGlobalMaxSizePercentOfJvmMaxMemory
(int percentOfJvmMaxMemory) setGracefulShutdownEnabled
(boolean enabled) Sets whether security is enabled for this server.setGracefulShutdownTimeout
(long timeout) Sets the graceful shutdown timeoutsetGroupingHandlerConfiguration
(org.apache.activemq.artemis.core.server.group.impl.GroupingHandlerConfiguration groupingHandlerConfiguration) Sets the grouping handler configured for this server.setHAPolicyConfiguration
(HAPolicyConfiguration haPolicyConfiguration) setIDCacheSize
(int idCacheSize) Sets the size of the cache for pre-creating message IDs.setIncomingInterceptorClassNames
(List<String> interceptors) Sets the list of interceptors classes used by this server for incoming messages (i.e.org.apache.activemq.artemis.core.config.impl.ConfigurationImpl
setInternalNamingPrefix
(String internalNamingPrefix) setJMXDomain
(String domain) Sets the domain used by JMX MBeans (provided JMX management is enabled).setJMXManagementEnabled
(boolean enabled) Sets whether this server is manageable using JMX or not; default isActiveMQDefaultConfiguration.DEFAULT_JMX_MANAGEMENT_ENABLED
}org.apache.activemq.artemis.core.config.impl.ConfigurationImpl
setJMXUseBrokerName
(boolean jmxUseBrokerName) whether to use the broker name in the JMX treesetJournalBufferSize_AIO
(int journalBufferSize) Sets the buffer size (in bytes) for AIO.setJournalBufferSize_NIO
(int journalBufferSize) Sets the buffer size (in bytes) for NIO.setJournalBufferTimeout_AIO
(int journalBufferTimeout) Sets the timeout (in nanoseconds) used to flush buffers in the AIO queue.setJournalBufferTimeout_NIO
(int journalBufferTimeout) Sets the timeout (in nanoseconds) used to flush buffers in the NIO.setJournalCompactMinFiles
(int minFiles) Sets the minimal number of journal files before compacting.setJournalCompactPercentage
(int percentage) Sets the percentage of live data before compacting the journal.setJournalDatasync
(boolean enable) documented atisJournalDatasync()
setJournalDeviceBlockSize
(Integer deviceBlockSize) Set the journal device block size.Sets the file system directory used to store journal log.setJournalFileOpenTimeout
(int journalFileOpenTimeout) Sets the journal file open timeoutsetJournalFileSize
(int size) Sets the size (in bytes) of each journal files.setJournalLockAcquisitionTimeout
(long journalLockAcquisitionTimeout) setJournalMaxAtticFiles
(int maxAtticFiles) Sets the maximal number of data files before we can start deleting corrupted files instead of moving them to attic.setJournalMaxIO_AIO
(int journalMaxIO) Sets the maximum number of write requests that can be in the AIO queue at any given time.setJournalMaxIO_NIO
(int journalMaxIO) Sets the maximum number of write requests for NIO journal.setJournalMinFiles
(int files) Sets the number of journal files to pre-create.setJournalPoolFiles
(int poolSize) Number of files that would be acceptable to keep on a pool; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_POOL_FILES
}Sets the file system directory used to store historical backup journal.setJournalRetentionMaxBytes
(long bytes) setJournalRetentionPeriod
(TimeUnit unit, long limit) setJournalSyncNonTransactional
(boolean sync) Sets whether the journal is synchronized when receiving non-transactional data.setJournalSyncTransactional
(boolean sync) Sets whether the journal is synchronized when receiving transactional data.setJournalType
(org.apache.activemq.artemis.core.server.JournalType type) Sets the type of journal used by this server (eitherNIO
orASYNCIO
).setLargeMessagesDirectory
(String directory) Sets the file system directory used to store large messages.setLargeMessageSync
(boolean largeMessageSync) setLiteralMatchMarkers
(String literalMatchMarkers) setLogJournalWriteRate
(boolean rate) setManagementAddress
(SimpleString address) Sets the management address of this server.void
setManagementMessageRbac
(boolean val) Sets the management notification address of this server.void
setManagementRbacPrefix
(String prefix) setMaskPassword
(Boolean maskPassword) Sets if passwords should be masked or not.setMaxDiskUsage
(int maxDiskUsage) setMaxRedeliveryRecords
(int maxPersistRedelivery) Maximum number of redelivery records stored on the journal per message reference.setMemoryMeasureInterval
(long memoryMeasureInterval) setMemoryWarningThreshold
(int memoryWarningThreshold) setMessageCounterEnabled
(boolean enabled) Sets whether message counter is enabled for this server.setMessageCounterMaxDayHistory
(int maxDayHistory) Sets the maximum number of days kept in memory for message counter.setMessageCounterSamplePeriod
(long period) Sets the sample period to take message counter snapshot.setMessageExpiryScanPeriod
(long messageExpiryScanPeriod) Sets the frequency (in milliseconds) to scan messages to detect which messages have expired.setMessageExpiryThreadPriority
(int messageExpiryThreadPriority) Deprecated.setMetricsConfiguration
(MetricsConfiguration metricsConfiguration) setMetricsPlugin
(org.apache.activemq.artemis.core.server.metrics.ActiveMQMetricsPlugin plugin) Deprecated.setMinDiskFree
(long minDiskFree) setMirrorAckManagerPageAttempts
(int pageAttempts) setMirrorAckManagerQueueAttempts
(int queueAttempts) setMirrorAckManagerRetryDelay
(int delay) setMirrorAckManagerWarnUnacked
(boolean warnUnacked) should log.warn when ack retries failed.setMirrorPageTransaction
(boolean ignorePageTransactions) 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.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 serversetNetworCheckNIC
(String nic) Deprecated.setNetworkCheckList
(String list) A comma separated list of IPs we could use to validate if the network is UP.setNetworkCheckNIC
(String nic) The NIC name to be used on network checkssetNetworkCheckPeriod
(long period) The interval on which we will perform network checks.setNetworkCheckPing6Command
(String command) setNetworkCheckPingCommand
(String command) setNetworkCheckTimeout
(int timeout) Time in ms for how long we should wait for a ping to finish.setNetworkCheckURLList
(String uris) A comma separated list of URIs we could use to validate if the network is UP.Sets the file system directory used to store the node manager lock file.setOutgoingInterceptorClassNames
(List<String> interceptors) Sets the list of interceptors classes used by this server for outgoing messages (i.e.setPageMaxConcurrentIO
(int maxIO) The max number of concurrent reads allowed on paging.setPageSyncTimeout
(int pageSyncTimeout) Sets the timeout (in nanoseconds) used to sync pages.setPagingDirectory
(String dir) Sets the file system directory used to store paging files.setPasswordCodec
(String codec) The default password decodersetPersistDeliveryCountBeforeDelivery
(boolean persistDeliveryCountBeforeDelivery) Sets whether delivery count is persisted before messages are delivered to consumers.setPersistenceEnabled
(boolean enable) Sets whether this server is using persistence and store data.setPersistIDCache
(boolean persist) Sets whether message ID cache is persisted.setPopulateValidatedUser
(boolean populateValidatedUser) setQueueConfigs
(List<QueueConfiguration> configs) Sets the queues configured for this server.setQueueConfigurations
(List<CoreQueueConfiguration> configs) Deprecated.setReadWholePage
(boolean read) Sets whether the whole page is read while getting message after page cache is evicted.setRejectEmptyValidatedUser
(boolean rejectEmptyValidatedUser) setResolveProtocols
(boolean resolveProtocols) Whether to use all protocols available on the classpath.setResourceLimitSettings
(Map<String, org.apache.activemq.artemis.core.settings.impl.ResourceLimitSettings> resourceLimitSettings) Set the collection of resource limits indexed by username.setScheduledThreadPoolMaxSize
(int maxSize) Sets the maximum number of threads in the scheduled thread pool of this server.setSecurityEnabled
(boolean enabled) Sets whether security is enabled for this server.setSecurityInvalidationInterval
(long interval) Sets the interval time (in milliseconds) to invalidate security credentials.setSecurityRoles
(Map<String, Set<org.apache.activemq.artemis.core.security.Role>> roles) Set the collection ofRole
objects indexed by match (i.e.setSecuritySettingPlugins
(List<org.apache.activemq.artemis.core.server.SecuritySettingPlugin> plugins) setServerDumpInterval
(long interval) void
This value can reflect a desired state (revision) of config.setStoreConfiguration
(StoreConfiguration storeConfiguration) setSuppressSessionNotifications
(boolean suppressSessionNotifications) setSystemPropertyPrefix
(String systemPropertyPrefix) We use Bean-utils to pass in System.properties that start withsetSystemPropertyPrefix(String)
} The default should bebrokerconfig.
(Including the ".").setTemporaryQueueNamespace
(String temporaryQueueNamespace) setThreadPoolMaxSize
(int maxSize) Sets the maximum number of threads in the thread pool of this server.setTransactionTimeout
(long timeout) Sets the timeout (in milliseconds) after which transactions is removed from the resource manager after it was created.setTransactionTimeoutScanPeriod
(long period) Sets the frequency (in milliseconds) to scan transactions to detect which transactions have timed out.void
setViewPermissionMethodMatchPattern
(String permissionMatchPattern) setWildCardConfiguration
(WildcardConfiguration wildcardConfiguration) setWildcardRoutingEnabled
(boolean enabled) Sets whether wildcard routing is supported by this server.void
-
Method Details
-
getName
String getName()To be used on dependency management on the application server -
setName
To be used on dependency management on the application server -
setSystemPropertyPrefix
We use Bean-utils to pass in System.properties that start withsetSystemPropertyPrefix(String)
} The default should bebrokerconfig.
(Including the "."). For example if you want to set clustered through a system property you must do:-Dbrokerconfig.clustered=true
}The prefix is configured here.
-
getSystemPropertyPrefix
String getSystemPropertyPrefix()See doc atsetSystemPropertyPrefix(String)
} -
parseProperties
- Throws:
Exception
-
parsePrefixedProperties
void parsePrefixedProperties(Object target, String name, Properties properties, String prefix) throws Exception - Throws:
Exception
-
isCriticalAnalyzer
boolean isCriticalAnalyzer() -
setCriticalAnalyzer
-
getCriticalAnalyzerTimeout
long getCriticalAnalyzerTimeout() -
setCriticalAnalyzerTimeout
-
getCriticalAnalyzerCheckPeriod
long getCriticalAnalyzerCheckPeriod() -
setCriticalAnalyzerCheckPeriod
-
getCriticalAnalyzerPolicy
org.apache.activemq.artemis.utils.critical.CriticalAnalyzerPolicy getCriticalAnalyzerPolicy() -
setCriticalAnalyzerPolicy
Configuration setCriticalAnalyzerPolicy(org.apache.activemq.artemis.utils.critical.CriticalAnalyzerPolicy policy) -
isClustered
boolean isClustered()Returns whether this server is clustered.true
ifgetClusterConfigurations()
is not empty.- Returns:
- whether this server is clustered.
true
ifgetClusterConfigurations()
is not empty
-
isPersistDeliveryCountBeforeDelivery
boolean isPersistDeliveryCountBeforeDelivery()Returns whether delivery count is persisted before messages are delivered to the consumers; default isActiveMQDefaultConfiguration.DEFAULT_PERSIST_DELIVERY_COUNT_BEFORE_DELIVERY
.- Returns:
- whether delivery count is persisted before messages are delivered to the consumers; default is
ActiveMQDefaultConfiguration.DEFAULT_PERSIST_DELIVERY_COUNT_BEFORE_DELIVERY
-
setPersistDeliveryCountBeforeDelivery
Sets whether delivery count is persisted before messages are delivered to consumers. -
isPersistenceEnabled
boolean isPersistenceEnabled()Returns whether this server is using persistence and store data; default isActiveMQDefaultConfiguration.DEFAULT_PERSISTENCE_ENABLED
.- Returns:
- whether this server is using persistence and store data; default is
ActiveMQDefaultConfiguration.DEFAULT_PERSISTENCE_ENABLED
-
setPersistenceEnabled
Sets whether this server is using persistence and store data. -
setMaxRedeliveryRecords
Maximum number of redelivery records stored on the journal per message reference. -
getMaxRedeliveryRecords
int getMaxRedeliveryRecords() -
isJournalDatasync
boolean isJournalDatasync()Should use fdatasync on journal files.- Returns:
- a boolean
- See Also:
-
setJournalDatasync
documented atisJournalDatasync()
- Returns:
- this
-
getResourceLimitSettings
Map<String,org.apache.activemq.artemis.core.settings.impl.ResourceLimitSettings> getResourceLimitSettings()Returns usernames mapped to ResourceLimitSettings.- Returns:
- usernames mapped to ResourceLimitSettings
-
setResourceLimitSettings
Configuration setResourceLimitSettings(Map<String, org.apache.activemq.artemis.core.settings.impl.ResourceLimitSettings> resourceLimitSettings) Set the collection of resource limits indexed by username.- Parameters:
resourceLimitSettings
- usernames mapped to ResourceLimitSettings
-
addResourceLimitSettings
Configuration addResourceLimitSettings(org.apache.activemq.artemis.core.settings.impl.ResourceLimitSettings resourceLimitSettings) Add a resource limit to the underlying collection.- Parameters:
resourceLimitSettings
- the ResourceLimitSettings to add
-
getFileDeployerScanPeriod
long getFileDeployerScanPeriod()Returns the period (in milliseconds) to scan configuration files used by deployment; default isActiveMQDefaultConfiguration.DEFAULT_FILE_DEPLOYER_SCAN_PERIOD
.- Returns:
- the period (in milliseconds) to scan configuration files used by deployment; default is
ActiveMQDefaultConfiguration.DEFAULT_FILE_DEPLOYER_SCAN_PERIOD
-
setFileDeployerScanPeriod
Sets the period to scan configuration files used by deployment. -
getThreadPoolMaxSize
int getThreadPoolMaxSize()Returns the maximum number of threads in the thread pool of this server; default isActiveMQDefaultConfiguration.DEFAULT_THREAD_POOL_MAX_SIZE
.- Returns:
- the maximum number of threads in the thread pool of this server; default is
ActiveMQDefaultConfiguration.DEFAULT_THREAD_POOL_MAX_SIZE
-
setThreadPoolMaxSize
Sets the maximum number of threads in the thread pool of this server. -
getScheduledThreadPoolMaxSize
int getScheduledThreadPoolMaxSize()Returns the maximum number of threads in the scheduled thread pool of this server; default isActiveMQDefaultConfiguration.DEFAULT_SCHEDULED_THREAD_POOL_MAX_SIZE
.- Returns:
- the maximum number of threads in the scheduled thread pool of this server; default is
ActiveMQDefaultConfiguration.DEFAULT_SCHEDULED_THREAD_POOL_MAX_SIZE
-
setScheduledThreadPoolMaxSize
Sets the maximum number of threads in the scheduled thread pool of this server. -
getSecurityInvalidationInterval
long getSecurityInvalidationInterval()Returns the interval time (in milliseconds) to invalidate security credentials; default isActiveMQDefaultConfiguration.DEFAULT_SECURITY_INVALIDATION_INTERVAL
.- Returns:
- the interval time (in milliseconds) to invalidate security credentials; default is
ActiveMQDefaultConfiguration.DEFAULT_SECURITY_INVALIDATION_INTERVAL
-
setSecurityInvalidationInterval
Sets the interval time (in milliseconds) to invalidate security credentials. -
setAuthenticationCacheSize
Sets the size of the authentication cache. -
getAuthenticationCacheSize
long getAuthenticationCacheSize()Returns the configured size of the authentication cache; default isActiveMQDefaultConfiguration.DEFAULT_AUTHENTICATION_CACHE_SIZE
.- Returns:
- the configured size of the authentication cache; default is
ActiveMQDefaultConfiguration.DEFAULT_AUTHENTICATION_CACHE_SIZE
-
setAuthorizationCacheSize
Sets the size of the authorization cache. -
getAuthorizationCacheSize
long getAuthorizationCacheSize()Returns the configured size of the authorization cache; default isActiveMQDefaultConfiguration.DEFAULT_AUTHORIZATION_CACHE_SIZE
.- Returns:
- the configured size of the authorization cache; default is
ActiveMQDefaultConfiguration.DEFAULT_AUTHORIZATION_CACHE_SIZE
-
isSecurityEnabled
boolean isSecurityEnabled()Returns whether security is enabled for this server; default isActiveMQDefaultConfiguration.DEFAULT_SECURITY_ENABLED
.- Returns:
- whether security is enabled for this server; default is
ActiveMQDefaultConfiguration.DEFAULT_SECURITY_ENABLED
-
setSecurityEnabled
Sets whether security is enabled for this server. -
isGracefulShutdownEnabled
boolean isGracefulShutdownEnabled()Returns whether graceful shutdown is enabled for this server; default isActiveMQDefaultConfiguration.DEFAULT_GRACEFUL_SHUTDOWN_ENABLED
.- Returns:
- whether graceful shutdown is enabled for this server; default is
ActiveMQDefaultConfiguration.DEFAULT_GRACEFUL_SHUTDOWN_ENABLED
-
setGracefulShutdownEnabled
Sets whether security is enabled for this server. -
getGracefulShutdownTimeout
long getGracefulShutdownTimeout()Returns the graceful shutdown timeout for this server; default isActiveMQDefaultConfiguration.DEFAULT_GRACEFUL_SHUTDOWN_TIMEOUT
.- Returns:
- the graceful shutdown timeout for this server; default is
ActiveMQDefaultConfiguration.DEFAULT_GRACEFUL_SHUTDOWN_TIMEOUT
-
setGracefulShutdownTimeout
Sets the graceful shutdown timeout -
isJMXManagementEnabled
boolean isJMXManagementEnabled()Returns whether this server is manageable using JMX or not; default isActiveMQDefaultConfiguration.DEFAULT_JMX_MANAGEMENT_ENABLED
.- Returns:
- whether this server is manageable using JMX or not; default is
ActiveMQDefaultConfiguration.DEFAULT_JMX_MANAGEMENT_ENABLED
-
setJMXManagementEnabled
Sets whether this server is manageable using JMX or not; default isActiveMQDefaultConfiguration.DEFAULT_JMX_MANAGEMENT_ENABLED
} -
getJMXDomain
String getJMXDomain()Returns the domain used by JMX MBeans (provided JMX management is enabled); default isActiveMQDefaultConfiguration.DEFAULT_JMX_DOMAIN
.- Returns:
- the domain used by JMX MBeans (provided JMX management is enabled); default is
ActiveMQDefaultConfiguration.DEFAULT_JMX_DOMAIN
-
setJMXDomain
Sets the domain used by JMX MBeans (provided JMX management is enabled).Changing this JMX domain is required if multiple ActiveMQ Artemis servers are run inside the same JVM and all servers are using the same MBeanServer.
-
isJMXUseBrokerName
boolean isJMXUseBrokerName()whether to use the broker name in the JMX tree -
setJMXUseBrokerName
org.apache.activemq.artemis.core.config.impl.ConfigurationImpl setJMXUseBrokerName(boolean jmxUseBrokerName) whether to use the broker name in the JMX tree -
getIncomingInterceptorClassNames
Returns the list of interceptors classes used by this server for incoming messages (i.e. those being delivered to the server from clients).- Returns:
- the list of interceptors classes used by this server for incoming messages (i.e. those being delivered to the server from clients)
-
getOutgoingInterceptorClassNames
Returns the list of interceptors classes used by this server for outgoing messages (i.e. those being delivered to clients from the server).- Returns:
- the list of interceptors classes used by this server for outgoing messages (i.e. those being delivered to clients from the server)
-
setIncomingInterceptorClassNames
Sets the list of interceptors classes used by this server for incoming messages (i.e. those being delivered to the server from clients).Classes must implement
Interceptor
} -
setOutgoingInterceptorClassNames
Sets the list of interceptors classes used by this server for outgoing messages (i.e. those being delivered to clients from the server).Classes must implement
Interceptor
} -
getConnectionTTLOverride
long getConnectionTTLOverride()Returns the connection time to live; This value overrides the connection time-to-live sent by the client; default isActiveMQDefaultConfiguration.DEFAULT_CONNECTION_TTL_OVERRIDE
.- Returns:
- the connection time to live; This value overrides the connection time-to-live sent by the
client; default is
ActiveMQDefaultConfiguration.DEFAULT_CONNECTION_TTL_OVERRIDE
-
setConnectionTTLOverride
Sets the connection time to live. -
isAmqpUseCoreSubscriptionNaming
boolean isAmqpUseCoreSubscriptionNaming()Returns if to use Core subscription naming for AMQP.- Returns:
- if to use Core subscription naming for AMQP
-
setAmqpUseCoreSubscriptionNaming
Sets if to use Core subscription naming for AMQP. -
isAsyncConnectionExecutionEnabled
Deprecated.Returns whether code coming from connection is executed asynchronously or not; default isActiveMQDefaultConfiguration.DEFAULT_ASYNC_CONNECTION_EXECUTION_ENABLED
.- Returns:
- whether code coming from connection is executed asynchronously or not; default is
ActiveMQDefaultConfiguration.DEFAULT_ASYNC_CONNECTION_EXECUTION_ENABLED
-
setEnabledAsyncConnectionExecution
Deprecated.Sets whether code coming from connection is executed asynchronously or not. -
getAcceptorConfigurations
Set<TransportConfiguration> getAcceptorConfigurations()Returns the acceptors configured for this server.- Returns:
- the acceptors configured for this server
-
setAcceptorConfigurations
Sets the acceptors configured for this server. -
addAcceptorConfiguration
-
addAcceptorConfiguration
Add an acceptor to the config- Parameters:
name
- the name of the acceptoruri
- the URI of the acceptor- Returns:
- this
- Throws:
Exception
- in case of Parsing errors on the URI- See Also:
-
clearAcceptorConfigurations
Configuration clearAcceptorConfigurations() -
getConnectorConfigurations
Map<String,TransportConfiguration> getConnectorConfigurations()Returns the connectors configured for this server.- Returns:
- the connectors configured for this server
-
setConnectorConfigurations
Sets the connectors configured for this server. -
addConnectorConfiguration
-
addConnectorConfiguration
- Throws:
Exception
-
clearConnectorConfigurations
Configuration clearConnectorConfigurations() -
getBroadcastGroupConfigurations
List<BroadcastGroupConfiguration> getBroadcastGroupConfigurations()Returns the broadcast groups configured for this server.- Returns:
- the broadcast groups configured for this server
-
setBroadcastGroupConfigurations
Sets the broadcast groups configured for this server} -
addBroadcastGroupConfiguration
-
getDiscoveryGroupConfigurations
Map<String,DiscoveryGroupConfiguration> getDiscoveryGroupConfigurations()Returns the discovery groups configured for this server.- Returns:
- the discovery groups configured for this server
-
setDiscoveryGroupConfigurations
Sets the discovery groups configured for this server. -
addDiscoveryGroupConfiguration
Configuration addDiscoveryGroupConfiguration(String key, DiscoveryGroupConfiguration discoveryGroupConfiguration) -
getGroupingHandlerConfiguration
org.apache.activemq.artemis.core.server.group.impl.GroupingHandlerConfiguration getGroupingHandlerConfiguration()Returns the grouping handler configured for this server.- Returns:
- the grouping handler configured for this server
-
setGroupingHandlerConfiguration
Configuration setGroupingHandlerConfiguration(org.apache.activemq.artemis.core.server.group.impl.GroupingHandlerConfiguration groupingHandlerConfiguration) Sets the grouping handler configured for this server. -
getBridgeConfigurations
List<BridgeConfiguration> getBridgeConfigurations()Returns the bridges configured for this server.- Returns:
- the bridges configured for this server
-
setBridgeConfigurations
Sets the bridges configured for this server. -
getDivertConfigurations
List<DivertConfiguration> getDivertConfigurations()Returns the diverts configured for this server.- Returns:
- the diverts configured for this server
-
setDivertConfigurations
Sets the diverts configured for this server. -
addDivertConfiguration
-
getConnectionRouters
List<ConnectionRouterConfiguration> getConnectionRouters()Returns the redirects configured for this server.- Returns:
- the redirects configured for this server
-
setConnectionRouters
Sets the redirects configured for this server. -
addConnectionRouter
-
getClusterConfigurations
List<ClusterConnectionConfiguration> getClusterConfigurations()Returns the cluster connections configured for this server; modifying the returned list will modify the list ofClusterConnectionConfiguration
used by this configuration.- Returns:
- the cluster connections configured for this server; modifying the returned list will modify the list of
ClusterConnectionConfiguration
used by this configuration
-
setClusterConfigurations
Sets the cluster connections configured for this server. -
addClusterConfiguration
-
addClusterConfiguration
- Throws:
Exception
-
clearClusterConfigurations
Configuration clearClusterConfigurations() -
addAMQPConnection
-
getAMQPConnection
List<AMQPBrokerConnectConfiguration> getAMQPConnection() -
setAMQPConnectionConfigurations
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.- Parameters:
amqpConnectionConfiugrations
- A list of AMQP broker connection configurations to assign to the broker.- Returns:
- this configuration object
-
clearAMQPConnectionConfigurations
Configuration clearAMQPConnectionConfigurations()Clears the current configuration object of all set or added AMQP connection configuration elements.- Returns:
- this configuration object
-
getQueueConfigurations
Deprecated.Returns the queues configured for this server.- Returns:
- the queues configured for this server
-
getQueueConfigs
List<QueueConfiguration> getQueueConfigs()Returns the queues configured for this server; modifying the returnedList
will not impact the underlyingList
.- Returns:
- the queues configured for this server; modifying the returned
List
will not impact the underlyingList
-
setQueueConfigurations
Deprecated.Sets the queues configured for this server. -
setQueueConfigs
Sets the queues configured for this server. -
addQueueConfiguration
Deprecated. -
addQueueConfiguration
-
getAddressConfigurations
List<CoreAddressConfiguration> getAddressConfigurations()Returns the addresses configured for this server.- Returns:
- the addresses configured for this server
-
setAddressConfigurations
Sets the addresses configured for this server. -
addAddressConfiguration
Adds an addresses configuration -
getManagementAddress
SimpleString getManagementAddress()Returns the management address of this server; Clients can send management messages to this address to manage this server; default isActiveMQDefaultConfiguration.DEFAULT_MANAGEMENT_ADDRESS
.- Returns:
- the management address of this server; Clients can send management messages to this address to manage
this server; default is
ActiveMQDefaultConfiguration.DEFAULT_MANAGEMENT_ADDRESS
-
setManagementAddress
Sets the management address of this server. -
getManagementNotificationAddress
SimpleString getManagementNotificationAddress()Returns the management notification address of this server; Clients can bind queues to this address to receive management notifications emitted by this server; default isActiveMQDefaultConfiguration.DEFAULT_MANAGEMENT_NOTIFICATION_ADDRESS
.- Returns:
- the management notification address of this server; Clients can bind queues to this address to receive
management notifications emitted by this server; default is
ActiveMQDefaultConfiguration.DEFAULT_MANAGEMENT_NOTIFICATION_ADDRESS
-
setManagementNotificationAddress
Sets the management notification address of this server. -
getClusterUser
String getClusterUser()Returns the cluster user for this server; default isActiveMQDefaultConfiguration.DEFAULT_CLUSTER_USER
.- Returns:
- the cluster user for this server; default is
ActiveMQDefaultConfiguration.DEFAULT_CLUSTER_USER
-
setClusterUser
Sets the cluster user for this server. -
getClusterPassword
String getClusterPassword()Returns the cluster password for this server; default isActiveMQDefaultConfiguration.DEFAULT_CLUSTER_PASSWORD
.- Returns:
- the cluster password for this server; default is
ActiveMQDefaultConfiguration.DEFAULT_CLUSTER_PASSWORD
-
setClusterPassword
Sets the cluster password for this server. -
getIDCacheSize
int getIDCacheSize()Returns the size of the cache for pre-creating message IDs; default isActiveMQDefaultConfiguration.DEFAULT_ID_CACHE_SIZE
.- Returns:
- the size of the cache for pre-creating message IDs; default is
ActiveMQDefaultConfiguration.DEFAULT_ID_CACHE_SIZE
-
setIDCacheSize
Sets the size of the cache for pre-creating message IDs. -
isPersistIDCache
boolean isPersistIDCache()Returns whether message ID cache is persisted; default isActiveMQDefaultConfiguration.DEFAULT_PERSIST_ID_CACHE
.- Returns:
- whether message ID cache is persisted; default is
ActiveMQDefaultConfiguration.DEFAULT_PERSIST_ID_CACHE
-
setPersistIDCache
Sets whether message ID cache is persisted. -
getBindingsDirectory
String getBindingsDirectory()Returns the file system directory used to store bindings; default isActiveMQDefaultConfiguration.DEFAULT_BINDINGS_DIRECTORY
.- Returns:
- the file system directory used to store bindings; default is
ActiveMQDefaultConfiguration.DEFAULT_BINDINGS_DIRECTORY
-
getBindingsLocation
File getBindingsLocation()The binding location related to artemis.instance. -
setBindingsDirectory
Sets the file system directory used to store bindings. -
getPageMaxConcurrentIO
int getPageMaxConcurrentIO()Returns the max number of concurrent reads allowed on paging; default isActiveMQDefaultConfiguration.DEFAULT_MAX_CONCURRENT_PAGE_IO
.- Returns:
- the max number of concurrent reads allowed on paging; default is
ActiveMQDefaultConfiguration.DEFAULT_MAX_CONCURRENT_PAGE_IO
-
setPageMaxConcurrentIO
The max number of concurrent reads allowed on paging.Default = 5
-
isReadWholePage
boolean isReadWholePage()Returns whether the whole page is read while getting message after page cache is evicted; default isActiveMQDefaultConfiguration.DEFAULT_READ_WHOLE_PAGE
.- Returns:
- whether the whole page is read while getting message after page cache is evicted; default is
ActiveMQDefaultConfiguration.DEFAULT_READ_WHOLE_PAGE
-
setReadWholePage
Sets whether the whole page is read while getting message after page cache is evicted. -
getJournalDirectory
String getJournalDirectory()Returns the file system directory used to store journal log; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_DIR
.- Returns:
- the file system directory used to store journal log; default is
ActiveMQDefaultConfiguration.DEFAULT_JOURNAL_DIR
-
getJournalLocation
File getJournalLocation()Returns the location of the journal related toartemis.instance
.- Returns:
- the location of the journal related to
artemis.instance
-
getNodeManagerLockLocation
File getNodeManagerLockLocation()Returns the location of the node manager lock file related to artemis.instance.- Returns:
- the location of the node manager lock file related to artemis.instance
-
setNodeManagerLockDirectory
Sets the file system directory used to store the node manager lock file. -
getNodeManagerLockDirectory
String getNodeManagerLockDirectory()Returns the directory that contains the lock file.- Returns:
- the directory that contains the lock file
-
setJournalDirectory
Sets the file system directory used to store journal log. -
getJournalRetentionDirectory
String getJournalRetentionDirectory() -
setJournalRetentionDirectory
Sets the file system directory used to store historical backup journal. -
getJournalRetentionLocation
File getJournalRetentionLocation() -
getJournalRetentionPeriod
long getJournalRetentionPeriod()Returns the retention period for the journal in milliseconds (always in milliseconds, a conversion is performed on set).- Returns:
- the retention period for the journal in milliseconds (always in milliseconds, a conversion is performed on set)
-
setJournalRetentionPeriod
-
getJournalRetentionMaxBytes
long getJournalRetentionMaxBytes() -
setJournalRetentionMaxBytes
-
getJournalType
org.apache.activemq.artemis.core.server.JournalType getJournalType()Returns the type of journal used by this server (NIO
,ASYNCIO
orMAPPED
); default isASYNCIO
.- Returns:
- the type of journal used by this server (
NIO
,ASYNCIO
orMAPPED
); default isASYNCIO
-
setJournalType
Sets the type of journal used by this server (eitherNIO
orASYNCIO
). -
isJournalSyncTransactional
boolean isJournalSyncTransactional()Returns whether the journal is synchronized when receiving transactional data; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_SYNC_TRANSACTIONAL
.- Returns:
- whether the journal is synchronized when receiving transactional data; default is
ActiveMQDefaultConfiguration.DEFAULT_JOURNAL_SYNC_TRANSACTIONAL
-
setJournalSyncTransactional
Sets whether the journal is synchronized when receiving transactional data. -
isJournalSyncNonTransactional
boolean isJournalSyncNonTransactional()Returns whether the journal is synchronized when receiving non-transactional data; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_SYNC_NON_TRANSACTIONAL
.- Returns:
- whether the journal is synchronized when receiving non-transactional data; default is
ActiveMQDefaultConfiguration.DEFAULT_JOURNAL_SYNC_NON_TRANSACTIONAL
-
setJournalSyncNonTransactional
Sets whether the journal is synchronized when receiving non-transactional data. -
getJournalFileSize
int getJournalFileSize()Returns the size (in bytes) of each journal files; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_FILE_SIZE
.- Returns:
- the size (in bytes) of each journal files; default is
ActiveMQDefaultConfiguration.DEFAULT_JOURNAL_FILE_SIZE
-
setJournalFileSize
Sets the size (in bytes) of each journal files. -
getJournalCompactMinFiles
int getJournalCompactMinFiles()Returns the minimal number of journal files before compacting; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_COMPACT_MIN_FILES
.- Returns:
- the minimal number of journal files before compacting; default is
ActiveMQDefaultConfiguration.DEFAULT_JOURNAL_COMPACT_MIN_FILES
-
setJournalCompactMinFiles
Sets the minimal number of journal files before compacting. -
getJournalPoolFiles
int getJournalPoolFiles()Number of files that would be acceptable to keep on a pool; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_POOL_FILES
} -
setJournalPoolFiles
Number of files that would be acceptable to keep on a pool; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_POOL_FILES
} -
getJournalCompactPercentage
int getJournalCompactPercentage()Returns the percentage of live data before compacting the journal; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_COMPACT_PERCENTAGE
.- Returns:
- the percentage of live data before compacting the journal; default is
ActiveMQDefaultConfiguration.DEFAULT_JOURNAL_COMPACT_PERCENTAGE
-
getJournalFileOpenTimeout
int getJournalFileOpenTimeout()Returns How long to wait when opening a new Journal file before failing.- Returns:
- How long to wait when opening a new Journal file before failing
-
setJournalFileOpenTimeout
Sets the journal file open timeout -
setJournalCompactPercentage
Sets the percentage of live data before compacting the journal. -
getJournalMinFiles
int getJournalMinFiles()Returns the number of journal files to pre-create; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_MIN_FILES
.- Returns:
- the number of journal files to pre-create; default is
ActiveMQDefaultConfiguration.DEFAULT_JOURNAL_MIN_FILES
-
setJournalMinFiles
Sets the number of journal files to pre-create. -
getJournalMaxIO_AIO
int getJournalMaxIO_AIO()Returns the maximum number of write requests that can be in the AIO queue at any given time; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_MAX_IO_AIO
.- Returns:
- the maximum number of write requests that can be in the AIO queue at any given time; default is
ActiveMQDefaultConfiguration.DEFAULT_JOURNAL_MAX_IO_AIO
-
setJournalMaxIO_AIO
Sets the maximum number of write requests that can be in the AIO queue at any given time. -
getJournalBufferTimeout_AIO
int getJournalBufferTimeout_AIO()Returns the timeout (in nanoseconds) used to flush buffers in the AIO queue; default isArtemisConstants.DEFAULT_JOURNAL_BUFFER_TIMEOUT_AIO
.- Returns:
- the timeout (in nanoseconds) used to flush buffers in the AIO queue; default is
ArtemisConstants.DEFAULT_JOURNAL_BUFFER_TIMEOUT_AIO
-
setJournalBufferTimeout_AIO
Sets the timeout (in nanoseconds) used to flush buffers in the AIO queue. -
getJournalDeviceBlockSize
Integer getJournalDeviceBlockSize()This is the device block size used on writing. This is usually translated as st_blksize from fstat. Returningnull
means the system should instead make a call on fstat and use st_blksize. The intention of this setting was to bypass the value in certain devices that will return a huge number as their block size (e.g. CephFS) -
setJournalDeviceBlockSize
Set the journal device block size.- See Also:
-
getJournalBufferSize_AIO
int getJournalBufferSize_AIO()Returns the buffer size (in bytes) for AIO; default isArtemisConstants.DEFAULT_JOURNAL_BUFFER_SIZE_AIO
.- Returns:
- the buffer size (in bytes) for AIO; default is
ArtemisConstants.DEFAULT_JOURNAL_BUFFER_SIZE_AIO
-
setJournalBufferSize_AIO
Sets the buffer size (in bytes) for AIO. -
getJournalMaxIO_NIO
int getJournalMaxIO_NIO()Returns the maximum number of write requests for NIO journal; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_MAX_IO_NIO
.- Returns:
- the maximum number of write requests for NIO journal; default is
ActiveMQDefaultConfiguration.DEFAULT_JOURNAL_MAX_IO_NIO
-
setJournalMaxIO_NIO
Sets the maximum number of write requests for NIO journal. -
getJournalBufferTimeout_NIO
int getJournalBufferTimeout_NIO()Returns the timeout (in nanoseconds) used to flush buffers in the NIO; default isArtemisConstants.DEFAULT_JOURNAL_BUFFER_TIMEOUT_NIO
.- Returns:
- the timeout (in nanoseconds) used to flush buffers in the NIO; default is
ArtemisConstants.DEFAULT_JOURNAL_BUFFER_TIMEOUT_NIO
-
setJournalBufferTimeout_NIO
Sets the timeout (in nanoseconds) used to flush buffers in the NIO. -
getJournalBufferSize_NIO
int getJournalBufferSize_NIO()Returns the buffer size (in bytes) for NIO; default isArtemisConstants.DEFAULT_JOURNAL_BUFFER_SIZE_NIO
.- Returns:
- the buffer size (in bytes) for NIO; default is
ArtemisConstants.DEFAULT_JOURNAL_BUFFER_SIZE_NIO
-
setJournalBufferSize_NIO
Sets the buffer size (in bytes) for NIO. -
getJournalMaxAtticFiles
int getJournalMaxAtticFiles()Returns the maximal number of data files before we can start deleting corrupted files instead of moving them to attic; default value isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_MAX_ATTIC_FILES
.- Returns:
- the maximal number of data files before we can start deleting corrupted files instead of moving them to
attic; default value is
ActiveMQDefaultConfiguration.DEFAULT_JOURNAL_MAX_ATTIC_FILES
-
setJournalMaxAtticFiles
Sets the maximal number of data files before we can start deleting corrupted files instead of moving them to attic. -
isCreateBindingsDir
boolean isCreateBindingsDir()Returns whether the bindings directory is created on this server startup; default isActiveMQDefaultConfiguration.DEFAULT_CREATE_BINDINGS_DIR
.- Returns:
- whether the bindings directory is created on this server startup; default is
ActiveMQDefaultConfiguration.DEFAULT_CREATE_BINDINGS_DIR
-
setCreateBindingsDir
Sets whether the bindings directory is created on this server startup. -
isCreateJournalDir
boolean isCreateJournalDir()Returns whether the journal directory is created on this server startup; default isActiveMQDefaultConfiguration.DEFAULT_CREATE_JOURNAL_DIR
.- Returns:
- whether the journal directory is created on this server startup; default is
ActiveMQDefaultConfiguration.DEFAULT_CREATE_JOURNAL_DIR
-
setCreateJournalDir
Sets whether the journal directory is created on this server startup. -
isLogJournalWriteRate
boolean isLogJournalWriteRate() -
setLogJournalWriteRate
-
getServerDumpInterval
long getServerDumpInterval() -
setServerDumpInterval
-
getMemoryWarningThreshold
int getMemoryWarningThreshold() -
setMemoryWarningThreshold
-
getMemoryMeasureInterval
long getMemoryMeasureInterval() -
setMemoryMeasureInterval
-
getPagingDirectory
String getPagingDirectory()Returns the file system directory used to store paging files; default isActiveMQDefaultConfiguration.DEFAULT_PAGING_DIR
.- Returns:
- the file system directory used to store paging files; default is
ActiveMQDefaultConfiguration.DEFAULT_PAGING_DIR
-
setPagingDirectory
Sets the file system directory used to store paging files. -
getPagingLocation
File getPagingLocation()The paging location related to artemis.instance -
getLargeMessagesDirectory
String getLargeMessagesDirectory()Returns the file system directory used to store large messages; default isActiveMQDefaultConfiguration.DEFAULT_LARGE_MESSAGES_DIR
.- Returns:
- the file system directory used to store large messages; default is
ActiveMQDefaultConfiguration.DEFAULT_LARGE_MESSAGES_DIR
-
getLargeMessagesLocation
File getLargeMessagesLocation()The large message location related to artemis.instance -
setLargeMessagesDirectory
Sets the file system directory used to store large messages. -
isWildcardRoutingEnabled
boolean isWildcardRoutingEnabled()Returns whether wildcard routing is supported by this server; default isActiveMQDefaultConfiguration.DEFAULT_WILDCARD_ROUTING_ENABLED
.- Returns:
- whether wildcard routing is supported by this server; default is
ActiveMQDefaultConfiguration.DEFAULT_WILDCARD_ROUTING_ENABLED
-
setWildcardRoutingEnabled
Sets whether wildcard routing is supported by this server. -
getWildcardConfiguration
WildcardConfiguration getWildcardConfiguration() -
setWildCardConfiguration
-
getTransactionTimeout
long getTransactionTimeout()Returns the timeout (in milliseconds) after which transactions is removed from the resource manager after it was created; default isActiveMQDefaultConfiguration.DEFAULT_TRANSACTION_TIMEOUT
.- Returns:
- the timeout (in milliseconds) after which transactions is removed from the resource manager after it was
created; default is
ActiveMQDefaultConfiguration.DEFAULT_TRANSACTION_TIMEOUT
-
setTransactionTimeout
Sets the timeout (in milliseconds) after which transactions is removed from the resource manager after it was created. -
isMessageCounterEnabled
boolean isMessageCounterEnabled()Returns whether message counter is enabled for this server; default isActiveMQDefaultConfiguration.DEFAULT_MESSAGE_COUNTER_ENABLED
.- Returns:
- whether message counter is enabled for this server; default is
ActiveMQDefaultConfiguration.DEFAULT_MESSAGE_COUNTER_ENABLED
-
setMessageCounterEnabled
Sets whether message counter is enabled for this server. -
getMessageCounterSamplePeriod
long getMessageCounterSamplePeriod()Returns the sample period (in milliseconds) to take message counter snapshot; default isActiveMQDefaultConfiguration.DEFAULT_MESSAGE_COUNTER_SAMPLE_PERIOD
.- Returns:
- the sample period (in milliseconds) to take message counter snapshot; default is
ActiveMQDefaultConfiguration.DEFAULT_MESSAGE_COUNTER_SAMPLE_PERIOD
-
setMessageCounterSamplePeriod
Sets the sample period to take message counter snapshot.- Parameters:
period
- value must be greater than 1000ms
-
getMessageCounterMaxDayHistory
int getMessageCounterMaxDayHistory()Returns the maximum number of days kept in memory for message counter; default isActiveMQDefaultConfiguration.DEFAULT_MESSAGE_COUNTER_MAX_DAY_HISTORY
.- Returns:
- the maximum number of days kept in memory for message counter; default is
ActiveMQDefaultConfiguration.DEFAULT_MESSAGE_COUNTER_MAX_DAY_HISTORY
-
setMessageCounterMaxDayHistory
Sets the maximum number of days kept in memory for message counter.- Parameters:
maxDayHistory
- value must be greater than 0
-
getTransactionTimeoutScanPeriod
long getTransactionTimeoutScanPeriod()Returns the frequency (in milliseconds) to scan transactions to detect which transactions have timed out; default isActiveMQDefaultConfiguration.DEFAULT_TRANSACTION_TIMEOUT_SCAN_PERIOD
.- Returns:
- the frequency (in milliseconds) to scan transactions to detect which transactions have timed out; default
is
ActiveMQDefaultConfiguration.DEFAULT_TRANSACTION_TIMEOUT_SCAN_PERIOD
-
setTransactionTimeoutScanPeriod
Sets the frequency (in milliseconds) to scan transactions to detect which transactions have timed out. -
getMessageExpiryScanPeriod
long getMessageExpiryScanPeriod()Returns the frequency (in milliseconds) to scan messages to detect which messages have expired; default isActiveMQDefaultConfiguration.DEFAULT_MESSAGE_EXPIRY_SCAN_PERIOD
.- Returns:
- the frequency (in milliseconds) to scan messages to detect which messages have expired; default is
ActiveMQDefaultConfiguration.DEFAULT_MESSAGE_EXPIRY_SCAN_PERIOD
-
setMessageExpiryScanPeriod
Sets the frequency (in milliseconds) to scan messages to detect which messages have expired. -
getMessageExpiryThreadPriority
Deprecated.Returns the priority of the thread used to scan message expiration; default isActiveMQDefaultConfiguration.DEFAULT_MESSAGE_EXPIRY_THREAD_PRIORITY
.- Returns:
- the priority of the thread used to scan message expiration; default is
ActiveMQDefaultConfiguration.DEFAULT_MESSAGE_EXPIRY_THREAD_PRIORITY
-
setMessageExpiryThreadPriority
Deprecated.Sets the priority of the thread used to scan message expiration. -
getAddressQueueScanPeriod
long getAddressQueueScanPeriod()Returns the frequency (in milliseconds) to scan addresses and queues to detect which ones should be deleted; default isActiveMQDefaultConfiguration.DEFAULT_MESSAGE_EXPIRY_SCAN_PERIOD
.- Returns:
- the frequency (in milliseconds) to scan addresses and queues to detect which ones should be deleted;
default is
ActiveMQDefaultConfiguration.DEFAULT_MESSAGE_EXPIRY_SCAN_PERIOD
-
setAddressQueueScanPeriod
Sets the frequency (in milliseconds) to scan addresses and queues to detect which ones should be deleted. -
getAddressSettings
Returns A list of AddressSettings per matching to be deployed to the address settings repository.- Returns:
- A list of AddressSettings per matching to be deployed to the address settings repository
-
setAddressSettings
Configuration setAddressSettings(Map<String, org.apache.activemq.artemis.core.settings.impl.AddressSettings> addressSettings) Set the collection ofAddressSettings
indexed by address match.- Parameters:
addressSettings
- list of AddressSettings per matching to be deployed to the address settings repository
-
addAddressSetting
Configuration addAddressSetting(String key, org.apache.activemq.artemis.core.settings.impl.AddressSettings addressesSetting) Add anAddressSettings
to the underlying collection.- Parameters:
key
- the address matchaddressesSetting
- theAddressSettings
to add
-
clearAddressSettings
Configuration clearAddressSettings() -
getAddressesSettings
@Deprecated Map<String,org.apache.activemq.artemis.core.settings.impl.AddressSettings> getAddressesSettings()Deprecated. -
setAddressesSettings
@Deprecated Configuration setAddressesSettings(Map<String, org.apache.activemq.artemis.core.settings.impl.AddressSettings> addressesSettings) Deprecated. -
addAddressesSetting
@Deprecated Configuration addAddressesSetting(String key, org.apache.activemq.artemis.core.settings.impl.AddressSettings addressesSetting) Deprecated. -
clearAddressesSettings
Deprecated. -
setSecurityRoles
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).- Parameters:
roles
- a list of roles per matching
-
getSecurityRoles
Returns a collection of roles indexed by matched.- Returns:
- a collection of roles indexed by matched
-
addSecurityRoleNameMapping
-
getSecurityRoleNameMappings
-
putSecurityRoles
Configuration putSecurityRoles(String match, Set<org.apache.activemq.artemis.core.security.Role> roles) -
setConnectorServiceConfigurations
-
addConnectorServiceConfiguration
-
setSecuritySettingPlugins
Configuration setSecuritySettingPlugins(List<org.apache.activemq.artemis.core.server.SecuritySettingPlugin> plugins) -
addSecuritySettingPlugin
Configuration addSecuritySettingPlugin(org.apache.activemq.artemis.core.server.SecuritySettingPlugin plugin) -
setMetricsPlugin
@Deprecated Configuration setMetricsPlugin(org.apache.activemq.artemis.core.server.metrics.ActiveMQMetricsPlugin plugin) Deprecated. -
setMetricsConfiguration
-
getConnectorServiceConfigurations
List<ConnectorServiceConfiguration> getConnectorServiceConfigurations()Returns list ofConnectorServiceConfiguration
.- Returns:
- list of
ConnectorServiceConfiguration
-
getSecuritySettingPlugins
List<org.apache.activemq.artemis.core.server.SecuritySettingPlugin> getSecuritySettingPlugins() -
getMetricsPlugin
@Deprecated org.apache.activemq.artemis.core.server.metrics.ActiveMQMetricsPlugin getMetricsPlugin()Deprecated. -
getMetricsConfiguration
MetricsConfiguration getMetricsConfiguration() -
setPasswordCodec
The default password decoder -
getPasswordCodec
String getPasswordCodec()Gets the default password decoder -
setMaskPassword
Sets if passwords should be masked or not. True means the passwords should be masked. -
isMaskPassword
Boolean isMaskPassword()If passwords are masked. True means the passwords are masked. -
setResolveProtocols
Whether to use all protocols available on the classpath. If false only the core protocol will be set, any other protocols will need to be set directly on the ActiveMQServer -
getTransportConfigurations
-
getTransportConfigurations
-
isResolveProtocols
boolean isResolveProtocols()Returns whether to resolve and use any Protocols available on the classpath; default isActiveMQDefaultConfiguration.DEFAULT_RESOLVE_PROTOCOLS
.- Returns:
- whether to resolve and use any Protocols available on the classpath; default is
ActiveMQDefaultConfiguration.DEFAULT_RESOLVE_PROTOCOLS
-
copy
- Throws:
Exception
-
setJournalLockAcquisitionTimeout
-
getJournalLockAcquisitionTimeout
long getJournalLockAcquisitionTimeout() -
getHAPolicyConfiguration
HAPolicyConfiguration getHAPolicyConfiguration() -
setHAPolicyConfiguration
-
setBrokerInstance
Set the Artemis instance relative folder for data and stuff. -
getBrokerInstance
File getBrokerInstance()Set the Artemis instance relative folder for data and stuff. -
isJDBC
default boolean isJDBC() -
getStoreConfiguration
StoreConfiguration getStoreConfiguration() -
setStoreConfiguration
-
isPopulateValidatedUser
boolean isPopulateValidatedUser() -
setPopulateValidatedUser
-
isRejectEmptyValidatedUser
boolean isRejectEmptyValidatedUser() -
setRejectEmptyValidatedUser
-
debugConnectors
String debugConnectors()It will return all the connectors in a toString manner for debug purposes. -
setConnectionTtlCheckInterval
-
getConnectionTtlCheckInterval
long getConnectionTtlCheckInterval() -
getConfigurationUrl
URL getConfigurationUrl() -
setConfigurationUrl
-
getConfigurationFileRefreshPeriod
long getConfigurationFileRefreshPeriod() -
setConfigurationFileRefreshPeriod
-
getGlobalMaxSizePercentOfJvmMaxMemory
int getGlobalMaxSizePercentOfJvmMaxMemory() -
setGlobalMaxSizePercentOfJvmMaxMemory
org.apache.activemq.artemis.core.config.impl.ConfigurationImpl setGlobalMaxSizePercentOfJvmMaxMemory(int percentOfJvmMaxMemory) -
getGlobalMaxSize
long getGlobalMaxSize() -
setGlobalMaxSize
-
setGlobalMaxMessages
-
getGlobalMaxMessages
long getGlobalMaxMessages() -
getMaxDiskUsage
int getMaxDiskUsage() -
setMaxDiskUsage
-
getMinDiskFree
long getMinDiskFree() -
setMinDiskFree
-
setInternalNamingPrefix
org.apache.activemq.artemis.core.config.impl.ConfigurationImpl setInternalNamingPrefix(String internalNamingPrefix) -
setDiskScanPeriod
-
getDiskScanPeriod
int getDiskScanPeriod() -
setNetworkCheckList
A comma separated list of IPs we could use to validate if the network is UP. In case of none of these Ips are reached (if configured) the server will be shutdown. -
getNetworkCheckList
String getNetworkCheckList() -
setNetworkCheckURLList
A comma separated list of URIs we could use to validate if the network is UP. In case of none of these Ips are reached (if configured) the server will be shutdown. The difference from networkCheckList is that we will use HTTP to make this validation. -
getNetworkCheckURLList
String getNetworkCheckURLList() -
setNetworkCheckPeriod
The interval on which we will perform network checks. -
getNetworkCheckPeriod
long getNetworkCheckPeriod() -
setNetworkCheckTimeout
Time in ms for how long we should wait for a ping to finish. -
getNetworkCheckTimeout
int getNetworkCheckTimeout() -
setNetworCheckNIC
Deprecated.The NIC name to be used on network checks -
setNetworkCheckNIC
The NIC name to be used on network checks -
getNetworkCheckNIC
String getNetworkCheckNIC() -
getNetworkCheckPingCommand
String getNetworkCheckPingCommand() -
setNetworkCheckPingCommand
-
getNetworkCheckPing6Command
String getNetworkCheckPing6Command() -
setNetworkCheckPing6Command
-
getInternalNamingPrefix
String getInternalNamingPrefix() -
getPageSyncTimeout
int getPageSyncTimeout()Returns the timeout (in nanoseconds) used to sync pages; default isArtemisConstants.DEFAULT_JOURNAL_BUFFER_TIMEOUT_NIO
.- Returns:
- the timeout (in nanoseconds) used to sync pages;
default is
ArtemisConstants.DEFAULT_JOURNAL_BUFFER_TIMEOUT_NIO
-
setPageSyncTimeout
Sets the timeout (in nanoseconds) used to sync pages. -
registerBrokerPlugins
-
registerBrokerPlugin
-
unRegisterBrokerPlugin
-
getBrokerPlugins
List<ActiveMQServerBasePlugin> getBrokerPlugins() -
getBrokerConnectionPlugins
List<ActiveMQServerConnectionPlugin> getBrokerConnectionPlugins() -
getBrokerSessionPlugins
List<ActiveMQServerSessionPlugin> getBrokerSessionPlugins() -
getBrokerConsumerPlugins
List<ActiveMQServerConsumerPlugin> getBrokerConsumerPlugins() -
getBrokerAddressPlugins
List<ActiveMQServerAddressPlugin> getBrokerAddressPlugins() -
getBrokerQueuePlugins
List<ActiveMQServerQueuePlugin> getBrokerQueuePlugins() -
getBrokerBindingPlugins
List<ActiveMQServerBindingPlugin> getBrokerBindingPlugins() -
getBrokerMessagePlugins
List<ActiveMQServerMessagePlugin> getBrokerMessagePlugins() -
getBrokerBridgePlugins
List<ActiveMQServerBridgePlugin> getBrokerBridgePlugins() -
getBrokerCriticalPlugins
List<ActiveMQServerCriticalPlugin> getBrokerCriticalPlugins() -
getBrokerFederationPlugins
List<ActiveMQServerFederationPlugin> getBrokerFederationPlugins() -
getBrokerAMQPFederationPlugins
List<AMQPFederationBrokerPlugin> getBrokerAMQPFederationPlugins() -
getFederationConfigurations
List<FederationConfiguration> getFederationConfigurations() -
getBrokerResourcePlugins
List<ActiveMQServerResourcePlugin> getBrokerResourcePlugins() -
getTemporaryQueueNamespace
String getTemporaryQueueNamespace() -
setTemporaryQueueNamespace
-
setMqttSessionScanInterval
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. -
getMqttSessionScanInterval
long getMqttSessionScanInterval()Get the MQTT session scan interval- See Also:
-
setMqttSessionStatePersistenceTimeout
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. -
getMqttSessionStatePersistenceTimeout
long getMqttSessionStatePersistenceTimeout()Get the MQTT session state persistence timeout -
isSuppressSessionNotifications
boolean isSuppressSessionNotifications()Returns whether suppression of session-notifications is enabled for this server; default isActiveMQDefaultConfiguration.DEFAULT_SUPPRESS_SESSION_NOTIFICATIONS
.- Returns:
- whether suppression of session-notifications is enabled for this server; default is
ActiveMQDefaultConfiguration.DEFAULT_SUPPRESS_SESSION_NOTIFICATIONS
-
setSuppressSessionNotifications
-
resolvePropertiesSources
-
getStatus
String getStatus() -
setStatus
This value can reflect a desired state (revision) of config. Useful when configurationFileRefreshPeriod > 0. Eventually with some coordination we can update it from various server components. -
getLiteralMatchMarkers
String getLiteralMatchMarkers() -
setLiteralMatchMarkers
-
setLargeMessageSync
-
isLargeMessageSync
boolean isLargeMessageSync() -
getViewPermissionMethodMatchPattern
String getViewPermissionMethodMatchPattern() -
setViewPermissionMethodMatchPattern
-
isManagementMessageRbac
boolean isManagementMessageRbac() -
setManagementMessageRbac
void setManagementMessageRbac(boolean val) -
getManagementRbacPrefix
String getManagementRbacPrefix() -
setManagementRbacPrefix
-
getMirrorAckManagerQueueAttempts
int getMirrorAckManagerQueueAttempts()This configures the Mirror Ack Manager number of attempts on queues before trying page acks. The default value here is 5. -
setMirrorAckManagerQueueAttempts
-
getMirrorAckManagerPageAttempts
int getMirrorAckManagerPageAttempts()This configures the Mirror Ack Manager number of attempts on page acks. The default value here is 2. -
setMirrorAckManagerPageAttempts
-
getMirrorAckManagerRetryDelay
int getMirrorAckManagerRetryDelay()This configures the interval in which the Mirror AckManager will retry acks when It is not intended to be configured through the XML. The default value here is 100, and this is in milliseconds. -
setMirrorAckManagerRetryDelay
-
isMirrorPageTransaction
boolean isMirrorPageTransaction()Should Mirror use Page Transactions When target destinations is paging? When a target queue on the mirror is paged, the mirror will not record a page transaction for every message. The default is false, and the overhead of paged messages will be smaller, but there is a possibility of eventual duplicates in case of interrupted communication between the mirror source and target. If you set this to true there will be a record stored on the journal for the page-transaction additionally to the record in the page store. -
setMirrorPageTransaction
-
setMirrorAckManagerWarnUnacked
should log.warn when ack retries failed. -
isMirrorAckManagerWarnUnacked
boolean isMirrorAckManagerWarnUnacked() -
exportAsProperties
- Throws:
Exception
-