Class ConfigurationImpl
java.lang.Object
org.apache.activemq.artemis.core.config.impl.ConfigurationImpl
- All Implemented Interfaces:
Serializable,Configuration
- Direct Known Subclasses:
FileConfiguration
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<AMQPBrokerConnectConfiguration>protected booleanprotected Stringprotected List<BridgeConfiguration>protected List<BroadcastGroupConfiguration>protected List<ClusterConnectionConfiguration>protected Stringprotected Stringprotected List<ConnectionRouterConfiguration>protected longprotected Map<String,TransportConfiguration> protected List<ConnectorServiceConfiguration>protected booleanprotected booleanstatic final JournalTypeprotected Integerprotected Map<String,DiscoveryGroupConfiguration> protected List<DivertConfiguration>protected booleanprotected List<FederationConfiguration>protected longprotected GroupingHandlerConfigurationprotected intprotected Stringprotected booleanprotected booleanprotected intprotected intprotected intprotected intprotected intprotected intprotected Stringprotected intprotected intprotected intprotected intprotected intprotected intprotected intprotected Stringprotected longprotected longprotected booleanprotected booleanprotected Stringprotected booleanprotected booleanprotected Stringprotected booleanstatic final Stringstatic final Stringprotected boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAcceptorConfiguration(String name, String uri) Add an acceptor to the configAdds an addresses configurationaddAddressesSetting(String key, AddressSettings addressesSetting) Deprecated.addAddressSetting(String key, AddressSettings addressesSetting) Add anAddressSettingsto the underlying collection.addAMQPConnection(AMQPBrokerConnectConfiguration amqpBrokerConnectConfiguration) voidaddClusterConfiguration(String name, String uri) addConnectorConfiguration(String name, String uri) addDiscoveryGroupConfiguration(String key, DiscoveryGroupConfiguration discoveryGroupConfiguration) voidaddFederationConfiguration(FederationConfiguration federationConfiguration) Deprecated.addResourceLimitSetting(ResourceLimitSettings resourceLimitSettings) addResourceLimitSettings(ResourceLimitSettings resourceLimitSettings) Add a resource limit to the underlying collection.addSecurityRole(String match, RoleSet roles) addSecurityRoleNameMapping(String internalRole, Set<String> externalRoles) 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.booleanvoidexportAsProperties(File file) protected static StringextractPropertyClassName(String property) Returns the acceptors configured for this server.Returns the addresses configured for this server.Deprecated.longReturns 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.longReturns the configured size of the authentication cache; default isActiveMQDefaultConfiguration.DEFAULT_AUTHENTICATION_CACHE_SIZE.longReturns 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 ofClusterConnectionConfigurationused 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.longReturns the redirects configured for this server.longlongReturns 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.longlongReturns the discovery groups configured for this server.intReturns the diverts configured for this server.longReturns the period (in milliseconds) to scan configuration files used by deployment; default isActiveMQDefaultConfiguration.DEFAULT_FILE_DEPLOYER_SCAN_PERIOD.longlongintlongReturns the graceful shutdown timeout for this server; default isActiveMQDefaultConfiguration.DEFAULT_GRACEFUL_SHUTDOWN_TIMEOUT.Returns the grouping handler configured for this server.intReturns 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.intReturns the buffer size (in bytes) for AIO; default isArtemisConstants.DEFAULT_JOURNAL_BUFFER_SIZE_AIO.intReturns the buffer size (in bytes) for NIO; default isArtemisConstants.DEFAULT_JOURNAL_BUFFER_SIZE_NIO.intReturns the timeout (in nanoseconds) used to flush buffers in the AIO queue; default isArtemisConstants.DEFAULT_JOURNAL_BUFFER_TIMEOUT_AIO.intReturns the timeout (in nanoseconds) used to flush buffers in the NIO; default isArtemisConstants.DEFAULT_JOURNAL_BUFFER_TIMEOUT_NIO.intReturns the minimal number of journal files before compacting; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_COMPACT_MIN_FILES.intReturns 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.intReturns How long to wait when opening a new Journal file before failing.intReturns the size (in bytes) of each journal files; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_FILE_SIZE.Returns the location of the journal related toartemis.instance.longintReturns 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.intReturns the maximum number of write requests that can be in the AIO queue at any given time; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_MAX_IO_AIO.intReturns the maximum number of write requests for NIO journal; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_MAX_IO_NIO.intReturns the number of journal files to pre-create; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_MIN_FILES.intNumber of files that would be acceptable to keep on a pool; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_POOL_FILES}longlongReturns the retention period for the journal in milliseconds (always in milliseconds, a conversion is performed on set).Returns the type of journal used by this server (NIO,ASYNCIOorMAPPED); 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.intintlongintintReturns the maximum number of days kept in memory for message counter; default isActiveMQDefaultConfiguration.DEFAULT_MESSAGE_COUNTER_MAX_DAY_HISTORY.longReturns the sample period (in milliseconds) to take message counter snapshot; default isActiveMQDefaultConfiguration.DEFAULT_MESSAGE_COUNTER_SAMPLE_PERIOD.longReturns the frequency (in milliseconds) to scan messages to detect which messages have expired; default isActiveMQDefaultConfiguration.DEFAULT_MESSAGE_EXPIRY_SCAN_PERIOD.intReturns the priority of the thread used to scan message expiration; default isActiveMQDefaultConfiguration.DEFAULT_MESSAGE_EXPIRY_THREAD_PRIORITY.Deprecated.longintThis configures the Mirror Ack Manager number of attempts on page acks.intThis configures the Mirror Ack Manager number of attempts on queues before trying page acks.intThis configures the interval in which the Mirror AckManager will retry acks when It is not intended to be configured through the XML.longGet the MQTT session scan intervallonggetName()To be used on dependency management on the application serverlongintReturns 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).intReturns the max number of concurrent reads allowed on paging; default isActiveMQDefaultConfiguration.DEFAULT_MAX_CONCURRENT_PAGE_IO.intReturns 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 returnedListwill not impact the underlyingList.Deprecated.Returns usernames mapped to ResourceLimitSettings.intReturns the maximum number of threads in the scheduled thread pool of this server; default isActiveMQDefaultConfiguration.DEFAULT_SCHEDULED_THREAD_POOL_MAX_SIZE.longReturns the interval time (in milliseconds) to invalidate security credentials; default isActiveMQDefaultConfiguration.DEFAULT_SECURITY_INVALIDATION_INTERVAL.Returns a collection of roles indexed by matched.longSee doc atConfiguration.setSystemPropertyPrefix(String)}intReturns the maximum number of threads in the thread pool of this server; default isActiveMQDefaultConfiguration.DEFAULT_THREAD_POOL_MAX_SIZE.longReturns the timeout (in milliseconds) after which transactions is removed from the resource manager after it was created; default isActiveMQDefaultConfiguration.DEFAULT_TRANSACTION_TIMEOUT.longReturns 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) inthashCode()booleanReturns if to use Core subscription naming for AMQP.booleanReturns whether code coming from connection is executed asynchronously or not; default isActiveMQDefaultConfiguration.DEFAULT_ASYNC_CONNECTION_EXECUTION_ENABLED.booleanprotected static booleanisClassProperty(String property) booleanReturns whether this server is clustered.trueifConfiguration.getClusterConfigurations()is not empty.booleanReturns whether the bindings directory is created on this server startup; default isActiveMQDefaultConfiguration.DEFAULT_CREATE_BINDINGS_DIR.booleanReturns whether the journal directory is created on this server startup; default isActiveMQDefaultConfiguration.DEFAULT_CREATE_JOURNAL_DIR.booleanbooleanbooleanReturns whether graceful shutdown is enabled for this server; default isActiveMQDefaultConfiguration.DEFAULT_GRACEFUL_SHUTDOWN_ENABLED.booleanReturns whether this server is manageable using JMX or not; default isActiveMQDefaultConfiguration.DEFAULT_JMX_MANAGEMENT_ENABLED.booleanwhether to use the broker name in the JMX treebooleanShould use fdatasync on journal files.booleanReturns whether the journal is synchronized when receiving non-transactional data; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_SYNC_NON_TRANSACTIONAL.booleanReturns whether the journal is synchronized when receiving transactional data; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_SYNC_TRANSACTIONAL.booleanbooleanbooleanIf passwords are masked.booleanReturns whether message counter is enabled for this server; default isActiveMQDefaultConfiguration.DEFAULT_MESSAGE_COUNTER_ENABLED.booleanbooleanShould Mirror use Page Transactions When target destinations is paging?booleanbooleanReturns whether delivery count is persisted before messages are delivered to the consumers; default isActiveMQDefaultConfiguration.DEFAULT_PERSIST_DELIVERY_COUNT_BEFORE_DELIVERY.booleanReturns whether this server is using persistence and store data; default isActiveMQDefaultConfiguration.DEFAULT_PERSISTENCE_ENABLED.booleanReturns whether message ID cache is persisted; default isActiveMQDefaultConfiguration.DEFAULT_PERSIST_ID_CACHE.booleanbooleanReturns whether the whole page is read while getting message after page cache is evicted; default isActiveMQDefaultConfiguration.DEFAULT_READ_WHOLE_PAGE.booleanbooleanReturns whether to resolve and use any Protocols available on the classpath; default isActiveMQDefaultConfiguration.DEFAULT_RESOLVE_PROTOCOLS.booleanReturns whether security is enabled for this server; default isActiveMQDefaultConfiguration.DEFAULT_SECURITY_ENABLED.booleanReturns whether suppression of session-notifications is enabled for this server; default isActiveMQDefaultConfiguration.DEFAULT_SUPPRESS_SESSION_NOTIFICATIONS.booleanDeprecated.voidparseFileProperties(File file) voidparsePrefixedProperties(Object target, String name, Properties properties, String prefix) voidparsePrefixedProperties(Properties properties, String prefix) parseProperties(String fileUrlToProperties) voidputSecurityRoles(String match, Set<Role> roles) static StringvoidvoidSets the acceptors configured for this server.Sets the addresses configured for this server.setAddressesSettings(Map<String, 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, AddressSettings> addressesSettings) Set the collection ofAddressSettingsindexed 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}voidsetBrokerInstance(File directory) Set the Artemis instance relative folder for data and stuff.voidsetBrokerPropertiesKeySurround(String brokerPropertiesKeySurround) setCheckForPrimaryServer(boolean checkForPrimaryServer) Sets the cluster connections configured for this server.setClusterPassword(String theclusterPassword) 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) setCriticalAnalyzerTimeout(long timeout) setDiscoveryGroupConfigurations(Map<String, DiscoveryGroupConfiguration> discoveryGroupConfigurations) 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) Sets whether code coming from connection is executed asynchronously or not.setFailoverOnServerShutdown(boolean failoverOnServerShutdown) setFileDeployerScanPeriod(long period) Sets the period to scan configuration files used by deployment.setGlobalMaxMessages(long maxMessages) setGlobalMaxSize(long maxSize) setGlobalMaxSizePercentOfJvmMaxMemory(int percentOfJvmMaxMemory) setGracefulShutdownEnabled(boolean enabled) Sets whether security is enabled for this server.setGracefulShutdownTimeout(long timeout) Sets the graceful shutdown timeoutsetGroupingHandlerConfiguration(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. those being delivered to the server from clients).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}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 atConfiguration.isJournalDatasync()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) voidsetJournalRetentionPeriod(long periodMillis) setJournalRetentionPeriod(TimeUnit unit, long period) 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(JournalType type) Sets the type of journal used by this server (eitherNIOorASYNCIO).setLargeMessagesDirectory(String directory) Sets the file system directory used to store large messages.setLargeMessageSync(boolean largeMessageSync) setLiteralMatchMarkers(String literalMatchMarkers) setLogJournalWriteRate(boolean logJournalWriteRate) setManagementAddress(SimpleString address) Sets the management address of this server.voidsetManagementMessageRbac(boolean val) Sets the management notification address of this server.voidsetManagementRbacPrefix(String prefix) setMaskPassword(Boolean maskPassword) Sets if passwords should be masked or not.setMaxDiskUsage(int maxDiskUsage) setMaxRedeliveryRecords(int max) 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) Sets the priority of the thread used to scan message expiration.setMetricsConfiguration(MetricsConfiguration metricsConfiguration) Deprecated.setMinDiskFree(long minDiskFree) setMirrorAckManagerPageAttempts(int maxPageAttempts) setMirrorAckManagerQueueAttempts(int minQueueAttempts) 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) setMqttSubscriptionPersistenceEnabled(boolean mqttSubscriptionPersistenceEnabled) This is necessary because MQTT subsriptions are 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) The NIC name to be used on network checkssetNetworkCheckList(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 urls) 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. those being delivered to clients from the server).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> coreQueueConfigurations) 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, 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<Role>> securitySettings) Set the collection ofRoleobjects indexed by match (i.e. address name).setServerDumpInterval(long intervalInMilliseconds) voidThis 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 withConfiguration.setSystemPropertyPrefix(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.voidsetViewPermissionMethodMatchPattern(String permissionMatchPattern) setWildCardConfiguration(WildcardConfiguration wildcardConfiguration) setWildcardRoutingEnabled(boolean enabled) Deprecated.It will find the right location of a subFolder, related to artemisInstancetoString()voidMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.activemq.artemis.core.config.Configuration
isJDBC, resolvePropertiesSources
-
Field Details
-
DEFAULT_JOURNAL_TYPE
-
PROPERTY_CLASS_SUFFIX
- See Also:
-
REDACTED
- See Also:
-
fileDeploymentScanPeriod
protected long fileDeploymentScanPeriod -
jmxManagementEnabled
protected boolean jmxManagementEnabled -
jmxDomain
-
jmxUseBrokerName
protected boolean jmxUseBrokerName -
connectionTTLOverride
protected long connectionTTLOverride -
asyncConnectionExecutionEnabled
protected boolean asyncConnectionExecutionEnabled -
idCacheSize
protected int idCacheSize -
connectorConfigs
-
bridgeConfigurations
-
divertConfigurations
-
connectionRouters
-
clusterConfigurations
-
amqpBrokerConnectConfigurations
-
federationConfigurations
-
broadcastGroupConfigurations
-
discoveryGroupConfigurations
-
largeMessagesDirectory
-
bindingsDirectory
-
createBindingsDir
protected boolean createBindingsDir -
journalDirectory
-
journalRetentionDirectory
-
journalRetentionMaxBytes
protected long journalRetentionMaxBytes -
journalRetentionPeriod
protected long journalRetentionPeriod -
nodeManagerLockDirectory
-
createJournalDir
protected boolean createJournalDir -
journalType
-
largeMessageSync
protected boolean largeMessageSync -
journalSyncTransactional
protected boolean journalSyncTransactional -
journalSyncNonTransactional
protected boolean journalSyncNonTransactional -
journalCompactMinFiles
protected int journalCompactMinFiles -
journalCompactPercentage
protected int journalCompactPercentage -
journalFileOpenTimeout
protected int journalFileOpenTimeout -
journalFileSize
protected int journalFileSize -
journalPoolFiles
protected int journalPoolFiles -
journalMinFiles
protected int journalMinFiles -
journalMaxAtticFilesFiles
protected int journalMaxAtticFilesFiles -
journalMaxIO_AIO
protected int journalMaxIO_AIO -
journalBufferTimeout_AIO
protected int journalBufferTimeout_AIO -
deviceBlockSize
-
journalBufferSize_AIO
protected int journalBufferSize_AIO -
journalMaxIO_NIO
protected int journalMaxIO_NIO -
journalBufferTimeout_NIO
protected int journalBufferTimeout_NIO -
journalBufferSize_NIO
protected int journalBufferSize_NIO -
logJournalWriteRate
protected boolean logJournalWriteRate -
clusterUser
-
clusterPassword
-
failoverOnServerShutdown
protected boolean failoverOnServerShutdown -
groupingHandlerConfiguration
-
connectorServiceConfigurations
-
populateValidatedUser
protected boolean populateValidatedUser -
rejectEmptyValidatedUser
protected boolean rejectEmptyValidatedUser
-
-
Constructor Details
-
ConfigurationImpl
public ConfigurationImpl()
-
-
Method Details
-
getJournalRetentionDirectory
- Specified by:
getJournalRetentionDirectoryin interfaceConfiguration
-
setJournalRetentionDirectory
Description copied from interface:ConfigurationSets the file system directory used to store historical backup journal.- Specified by:
setJournalRetentionDirectoryin interfaceConfiguration
-
getJournalRetentionLocation
- Specified by:
getJournalRetentionLocationin interfaceConfiguration
-
getJournalRetentionPeriod
public long getJournalRetentionPeriod()Description copied from interface:ConfigurationReturns the retention period for the journal in milliseconds (always in milliseconds, a conversion is performed on set).- Specified by:
getJournalRetentionPeriodin interfaceConfiguration- Returns:
- the retention period for the journal in milliseconds (always in milliseconds, a conversion is performed on set)
-
setJournalRetentionPeriod
- Specified by:
setJournalRetentionPeriodin interfaceConfiguration
-
setJournalRetentionPeriod
public void setJournalRetentionPeriod(long periodMillis) -
getJournalRetentionMaxBytes
public long getJournalRetentionMaxBytes()- Specified by:
getJournalRetentionMaxBytesin interfaceConfiguration
-
setJournalRetentionMaxBytes
- Specified by:
setJournalRetentionMaxBytesin interfaceConfiguration
-
setSystemPropertyPrefix
Description copied from interface:ConfigurationWe use Bean-utils to pass in System.properties that start withConfiguration.setSystemPropertyPrefix(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.
- Specified by:
setSystemPropertyPrefixin interfaceConfiguration
-
getSystemPropertyPrefix
Description copied from interface:ConfigurationSee doc atConfiguration.setSystemPropertyPrefix(String)}- Specified by:
getSystemPropertyPrefixin interfaceConfiguration
-
getBrokerPropertiesKeySurround
-
setBrokerPropertiesKeySurround
-
getBrokerPropertiesRemoveValue
-
parseProperties
- Specified by:
parsePropertiesin interfaceConfiguration- Throws:
Exception
-
parseFileProperties
- Throws:
Exception
-
parsePrefixedProperties
- Throws:
Exception
-
parsePrefixedProperties
public void parsePrefixedProperties(Object target, String name, Properties properties, String prefix) throws Exception - Specified by:
parsePrefixedPropertiesin interfaceConfiguration- Throws:
Exception
-
populateWithProperties
public void populateWithProperties(Object target, String propsId, Map<String, Object> beanProperties) throws InvocationTargetException, IllegalAccessException -
exportAsProperties
- Specified by:
exportAsPropertiesin interfaceConfiguration- Throws:
Exception
-
quote
-
isClassProperty
-
extractPropertyClassName
-
isClustered
public boolean isClustered()Description copied from interface:ConfigurationReturns whether this server is clustered.trueifConfiguration.getClusterConfigurations()is not empty.- Specified by:
isClusteredin interfaceConfiguration- Returns:
- whether this server is clustered.
trueifConfiguration.getClusterConfigurations()is not empty
-
isPersistenceEnabled
public boolean isPersistenceEnabled()Description copied from interface:ConfigurationReturns whether this server is using persistence and store data; default isActiveMQDefaultConfiguration.DEFAULT_PERSISTENCE_ENABLED.- Specified by:
isPersistenceEnabledin interfaceConfiguration- Returns:
- whether this server is using persistence and store data; default is
ActiveMQDefaultConfiguration.DEFAULT_PERSISTENCE_ENABLED
-
getMaxDiskUsage
public int getMaxDiskUsage()- Specified by:
getMaxDiskUsagein interfaceConfiguration
-
setMaxDiskUsage
- Specified by:
setMaxDiskUsagein interfaceConfiguration
-
getMinDiskFree
public long getMinDiskFree()- Specified by:
getMinDiskFreein interfaceConfiguration
-
setMinDiskFree
- Specified by:
setMinDiskFreein interfaceConfiguration
-
setGlobalMaxSize
- Specified by:
setGlobalMaxSizein interfaceConfiguration
-
getGlobalMaxSize
public long getGlobalMaxSize()- Specified by:
getGlobalMaxSizein interfaceConfiguration
-
getGlobalMaxSizePercentOfJvmMaxMemory
public int getGlobalMaxSizePercentOfJvmMaxMemory()- Specified by:
getGlobalMaxSizePercentOfJvmMaxMemoryin interfaceConfiguration
-
setGlobalMaxSizePercentOfJvmMaxMemory
- Specified by:
setGlobalMaxSizePercentOfJvmMaxMemoryin interfaceConfiguration
-
setGlobalMaxMessages
- Specified by:
setGlobalMaxMessagesin interfaceConfiguration
-
getGlobalMaxMessages
public long getGlobalMaxMessages()- Specified by:
getGlobalMaxMessagesin interfaceConfiguration
-
setPersistenceEnabled
Description copied from interface:ConfigurationSets whether this server is using persistence and store data.- Specified by:
setPersistenceEnabledin interfaceConfiguration
-
setMaxRedeliveryRecords
Description copied from interface:ConfigurationMaximum number of redelivery records stored on the journal per message reference.- Specified by:
setMaxRedeliveryRecordsin interfaceConfiguration
-
getMaxRedeliveryRecords
public int getMaxRedeliveryRecords()- Specified by:
getMaxRedeliveryRecordsin interfaceConfiguration
-
isJournalDatasync
public boolean isJournalDatasync()Description copied from interface:ConfigurationShould use fdatasync on journal files.- Specified by:
isJournalDatasyncin interfaceConfiguration- Returns:
- a boolean
- See Also:
-
setJournalDatasync
Description copied from interface:Configurationdocumented atConfiguration.isJournalDatasync()- Specified by:
setJournalDatasyncin interfaceConfiguration- Returns:
- this
-
getFileDeployerScanPeriod
public long getFileDeployerScanPeriod()Description copied from interface:ConfigurationReturns the period (in milliseconds) to scan configuration files used by deployment; default isActiveMQDefaultConfiguration.DEFAULT_FILE_DEPLOYER_SCAN_PERIOD.- Specified by:
getFileDeployerScanPeriodin interfaceConfiguration- Returns:
- the period (in milliseconds) to scan configuration files used by deployment; default is
ActiveMQDefaultConfiguration.DEFAULT_FILE_DEPLOYER_SCAN_PERIOD
-
setFileDeployerScanPeriod
Description copied from interface:ConfigurationSets the period to scan configuration files used by deployment.- Specified by:
setFileDeployerScanPeriodin interfaceConfiguration
-
isPersistDeliveryCountBeforeDelivery
public boolean isPersistDeliveryCountBeforeDelivery()Description copied from interface:ConfigurationReturns whether delivery count is persisted before messages are delivered to the consumers; default isActiveMQDefaultConfiguration.DEFAULT_PERSIST_DELIVERY_COUNT_BEFORE_DELIVERY.- Specified by:
isPersistDeliveryCountBeforeDeliveryin interfaceConfiguration- Returns:
- whether delivery count is persisted before messages are delivered to the consumers; default is
ActiveMQDefaultConfiguration.DEFAULT_PERSIST_DELIVERY_COUNT_BEFORE_DELIVERY
-
setPersistDeliveryCountBeforeDelivery
public ConfigurationImpl setPersistDeliveryCountBeforeDelivery(boolean persistDeliveryCountBeforeDelivery) Description copied from interface:ConfigurationSets whether delivery count is persisted before messages are delivered to consumers.- Specified by:
setPersistDeliveryCountBeforeDeliveryin interfaceConfiguration
-
getScheduledThreadPoolMaxSize
public int getScheduledThreadPoolMaxSize()Description copied from interface:ConfigurationReturns the maximum number of threads in the scheduled thread pool of this server; default isActiveMQDefaultConfiguration.DEFAULT_SCHEDULED_THREAD_POOL_MAX_SIZE.- Specified by:
getScheduledThreadPoolMaxSizein interfaceConfiguration- Returns:
- the maximum number of threads in the scheduled thread pool of this server; default is
ActiveMQDefaultConfiguration.DEFAULT_SCHEDULED_THREAD_POOL_MAX_SIZE
-
setScheduledThreadPoolMaxSize
Description copied from interface:ConfigurationSets the maximum number of threads in the scheduled thread pool of this server.- Specified by:
setScheduledThreadPoolMaxSizein interfaceConfiguration
-
getThreadPoolMaxSize
public int getThreadPoolMaxSize()Description copied from interface:ConfigurationReturns the maximum number of threads in the thread pool of this server; default isActiveMQDefaultConfiguration.DEFAULT_THREAD_POOL_MAX_SIZE.- Specified by:
getThreadPoolMaxSizein interfaceConfiguration- Returns:
- the maximum number of threads in the thread pool of this server; default is
ActiveMQDefaultConfiguration.DEFAULT_THREAD_POOL_MAX_SIZE
-
setThreadPoolMaxSize
Description copied from interface:ConfigurationSets the maximum number of threads in the thread pool of this server.- Specified by:
setThreadPoolMaxSizein interfaceConfiguration
-
getSecurityInvalidationInterval
public long getSecurityInvalidationInterval()Description copied from interface:ConfigurationReturns the interval time (in milliseconds) to invalidate security credentials; default isActiveMQDefaultConfiguration.DEFAULT_SECURITY_INVALIDATION_INTERVAL.- Specified by:
getSecurityInvalidationIntervalin interfaceConfiguration- Returns:
- the interval time (in milliseconds) to invalidate security credentials; default is
ActiveMQDefaultConfiguration.DEFAULT_SECURITY_INVALIDATION_INTERVAL
-
setSecurityInvalidationInterval
Description copied from interface:ConfigurationSets the interval time (in milliseconds) to invalidate security credentials.- Specified by:
setSecurityInvalidationIntervalin interfaceConfiguration
-
getAuthenticationCacheSize
public long getAuthenticationCacheSize()Description copied from interface:ConfigurationReturns the configured size of the authentication cache; default isActiveMQDefaultConfiguration.DEFAULT_AUTHENTICATION_CACHE_SIZE.- Specified by:
getAuthenticationCacheSizein interfaceConfiguration- Returns:
- the configured size of the authentication cache; default is
ActiveMQDefaultConfiguration.DEFAULT_AUTHENTICATION_CACHE_SIZE
-
setAuthenticationCacheSize
Description copied from interface:ConfigurationSets the size of the authentication cache.- Specified by:
setAuthenticationCacheSizein interfaceConfiguration
-
getAuthorizationCacheSize
public long getAuthorizationCacheSize()Description copied from interface:ConfigurationReturns the configured size of the authorization cache; default isActiveMQDefaultConfiguration.DEFAULT_AUTHORIZATION_CACHE_SIZE.- Specified by:
getAuthorizationCacheSizein interfaceConfiguration- Returns:
- the configured size of the authorization cache; default is
ActiveMQDefaultConfiguration.DEFAULT_AUTHORIZATION_CACHE_SIZE
-
setAuthorizationCacheSize
Description copied from interface:ConfigurationSets the size of the authorization cache.- Specified by:
setAuthorizationCacheSizein interfaceConfiguration
-
getConnectionTTLOverride
public long getConnectionTTLOverride()Description copied from interface:ConfigurationReturns the connection time to live; This value overrides the connection time-to-live sent by the client; default isActiveMQDefaultConfiguration.DEFAULT_CONNECTION_TTL_OVERRIDE.- Specified by:
getConnectionTTLOverridein interfaceConfiguration- 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
Description copied from interface:ConfigurationSets the connection time to live.- Specified by:
setConnectionTTLOverridein interfaceConfiguration
-
isAmqpUseCoreSubscriptionNaming
public boolean isAmqpUseCoreSubscriptionNaming()Description copied from interface:ConfigurationReturns if to use Core subscription naming for AMQP.- Specified by:
isAmqpUseCoreSubscriptionNamingin interfaceConfiguration- Returns:
- if to use Core subscription naming for AMQP
-
setAmqpUseCoreSubscriptionNaming
Description copied from interface:ConfigurationSets if to use Core subscription naming for AMQP.- Specified by:
setAmqpUseCoreSubscriptionNamingin interfaceConfiguration
-
isAsyncConnectionExecutionEnabled
public boolean isAsyncConnectionExecutionEnabled()Description copied from interface:ConfigurationReturns whether code coming from connection is executed asynchronously or not; default isActiveMQDefaultConfiguration.DEFAULT_ASYNC_CONNECTION_EXECUTION_ENABLED.- Specified by:
isAsyncConnectionExecutionEnabledin interfaceConfiguration- Returns:
- whether code coming from connection is executed asynchronously or not; default is
ActiveMQDefaultConfiguration.DEFAULT_ASYNC_CONNECTION_EXECUTION_ENABLED
-
setEnabledAsyncConnectionExecution
Description copied from interface:ConfigurationSets whether code coming from connection is executed asynchronously or not.- Specified by:
setEnabledAsyncConnectionExecutionin interfaceConfiguration
-
getIncomingInterceptorClassNames
Description copied from interface:ConfigurationReturns the list of interceptors classes used by this server for incoming messages (i.e. those being delivered to the server from clients).- Specified by:
getIncomingInterceptorClassNamesin interfaceConfiguration- Returns:
- the list of interceptors classes used by this server for incoming messages (i.e. those being delivered to the server from clients)
-
setIncomingInterceptorClassNames
Description copied from interface:ConfigurationSets 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}- Specified by:
setIncomingInterceptorClassNamesin interfaceConfiguration
-
getOutgoingInterceptorClassNames
Description copied from interface:ConfigurationReturns the list of interceptors classes used by this server for outgoing messages (i.e. those being delivered to clients from the server).- Specified by:
getOutgoingInterceptorClassNamesin interfaceConfiguration- Returns:
- the list of interceptors classes used by this server for outgoing messages (i.e. those being delivered to clients from the server)
-
setOutgoingInterceptorClassNames
Description copied from interface:ConfigurationSets 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}- Specified by:
setOutgoingInterceptorClassNamesin interfaceConfiguration
-
getAcceptorConfigurations
Description copied from interface:ConfigurationReturns the acceptors configured for this server.- Specified by:
getAcceptorConfigurationsin interfaceConfiguration- Returns:
- the acceptors configured for this server
-
setAcceptorConfigurations
Description copied from interface:ConfigurationSets the acceptors configured for this server.- Specified by:
setAcceptorConfigurationsin interfaceConfiguration
-
addAcceptorConfiguration
- Specified by:
addAcceptorConfigurationin interfaceConfiguration
-
addAcceptorConfiguration
Description copied from interface:ConfigurationAdd an acceptor to the config- Specified by:
addAcceptorConfigurationin interfaceConfiguration- 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
- Specified by:
clearAcceptorConfigurationsin interfaceConfiguration
-
getConnectorConfigurations
Description copied from interface:ConfigurationReturns the connectors configured for this server.- Specified by:
getConnectorConfigurationsin interfaceConfiguration- Returns:
- the connectors configured for this server
-
setConnectorConfigurations
Description copied from interface:ConfigurationSets the connectors configured for this server.- Specified by:
setConnectorConfigurationsin interfaceConfiguration
-
addConnectorConfiguration
- Specified by:
addConnectorConfigurationin interfaceConfiguration
-
addConnectorConfiguration
-
addConnectorConfiguration
- Specified by:
addConnectorConfigurationin interfaceConfiguration- Throws:
Exception
-
clearConnectorConfigurations
- Specified by:
clearConnectorConfigurationsin interfaceConfiguration
-
getGroupingHandlerConfiguration
Description copied from interface:ConfigurationReturns the grouping handler configured for this server.- Specified by:
getGroupingHandlerConfigurationin interfaceConfiguration- Returns:
- the grouping handler configured for this server
-
setGroupingHandlerConfiguration
public ConfigurationImpl setGroupingHandlerConfiguration(GroupingHandlerConfiguration groupingHandlerConfiguration) Description copied from interface:ConfigurationSets the grouping handler configured for this server.- Specified by:
setGroupingHandlerConfigurationin interfaceConfiguration
-
getBridgeConfigurations
Description copied from interface:ConfigurationReturns the bridges configured for this server.- Specified by:
getBridgeConfigurationsin interfaceConfiguration- Returns:
- the bridges configured for this server
-
setBridgeConfigurations
Description copied from interface:ConfigurationSets the bridges configured for this server.- Specified by:
setBridgeConfigurationsin interfaceConfiguration
-
addBridgeConfiguration
-
getBroadcastGroupConfigurations
Description copied from interface:ConfigurationReturns the broadcast groups configured for this server.- Specified by:
getBroadcastGroupConfigurationsin interfaceConfiguration- Returns:
- the broadcast groups configured for this server
-
setBroadcastGroupConfigurations
Description copied from interface:ConfigurationSets the broadcast groups configured for this server}- Specified by:
setBroadcastGroupConfigurationsin interfaceConfiguration
-
addBroadcastGroupConfiguration
- Specified by:
addBroadcastGroupConfigurationin interfaceConfiguration
-
getClusterConfigurations
Description copied from interface:ConfigurationReturns the cluster connections configured for this server; modifying the returned list will modify the list ofClusterConnectionConfigurationused by this configuration.- Specified by:
getClusterConfigurationsin interfaceConfiguration- Returns:
- the cluster connections configured for this server; modifying the returned list will modify the list of
ClusterConnectionConfigurationused by this configuration
-
setClusterConfigurations
Description copied from interface:ConfigurationSets the cluster connections configured for this server.- Specified by:
setClusterConfigurationsin interfaceConfiguration
-
addClusterConfiguration
- Specified by:
addClusterConfigurationin interfaceConfiguration
-
addClusterConfiguration
public ClusterConnectionConfiguration addClusterConfiguration(String name, String uri) throws Exception - Specified by:
addClusterConfigurationin interfaceConfiguration- Throws:
Exception
-
addAMQPConnection
public ConfigurationImpl addAMQPConnection(AMQPBrokerConnectConfiguration amqpBrokerConnectConfiguration) - Specified by:
addAMQPConnectionin interfaceConfiguration
-
getAMQPConnection
- Specified by:
getAMQPConnectionin interfaceConfiguration
-
getAMQPConnections
-
setAMQPConnectionConfigurations
public Configuration setAMQPConnectionConfigurations(List<AMQPBrokerConnectConfiguration> amqpConnectionConfiugrations) Description copied from interface:ConfigurationQuick set of all AMQP connection configurations in one call which will clear all previously set or added broker configurations.- Specified by:
setAMQPConnectionConfigurationsin interfaceConfiguration- Parameters:
amqpConnectionConfiugrations- A list of AMQP broker connection configurations to assign to the broker.- Returns:
- this configuration object
-
clearAMQPConnectionConfigurations
Description copied from interface:ConfigurationClears the current configuration object of all set or added AMQP connection configuration elements.- Specified by:
clearAMQPConnectionConfigurationsin interfaceConfiguration- Returns:
- this configuration object
-
clearClusterConfigurations
- Specified by:
clearClusterConfigurationsin interfaceConfiguration
-
getDivertConfigurations
Description copied from interface:ConfigurationReturns the diverts configured for this server.- Specified by:
getDivertConfigurationsin interfaceConfiguration- Returns:
- the diverts configured for this server
-
setDivertConfigurations
Description copied from interface:ConfigurationSets the diverts configured for this server.- Specified by:
setDivertConfigurationsin interfaceConfiguration
-
addDivertConfiguration
- Specified by:
addDivertConfigurationin interfaceConfiguration
-
getConnectionRouters
Description copied from interface:ConfigurationReturns the redirects configured for this server.- Specified by:
getConnectionRoutersin interfaceConfiguration- Returns:
- the redirects configured for this server
-
setConnectionRouters
Description copied from interface:ConfigurationSets the redirects configured for this server.- Specified by:
setConnectionRoutersin interfaceConfiguration
-
addConnectionRouter
- Specified by:
addConnectionRouterin interfaceConfiguration
-
getQueueConfigurations
Deprecated.Description copied from interface:ConfigurationReturns the queues configured for this server.- Specified by:
getQueueConfigurationsin interfaceConfiguration- Returns:
- the queues configured for this server
-
getQueueConfigs
Description copied from interface:ConfigurationReturns the queues configured for this server; modifying the returnedListwill not impact the underlyingList.- Specified by:
getQueueConfigsin interfaceConfiguration- Returns:
- the queues configured for this server; modifying the returned
Listwill not impact the underlyingList
-
setQueueConfigurations
@Deprecated public ConfigurationImpl setQueueConfigurations(List<CoreQueueConfiguration> coreQueueConfigurations) Deprecated.Description copied from interface:ConfigurationSets the queues configured for this server.- Specified by:
setQueueConfigurationsin interfaceConfiguration
-
setQueueConfigs
Description copied from interface:ConfigurationSets the queues configured for this server.- Specified by:
setQueueConfigsin interfaceConfiguration
-
addQueueConfiguration
Deprecated.- Specified by:
addQueueConfigurationin interfaceConfiguration
-
addQueueConfiguration
- Specified by:
addQueueConfigurationin interfaceConfiguration
-
getAddressConfigurations
Description copied from interface:ConfigurationReturns the addresses configured for this server.- Specified by:
getAddressConfigurationsin interfaceConfiguration- Returns:
- the addresses configured for this server
-
setAddressConfigurations
Description copied from interface:ConfigurationSets the addresses configured for this server.- Specified by:
setAddressConfigurationsin interfaceConfiguration
-
addAddressConfiguration
Description copied from interface:ConfigurationAdds an addresses configuration- Specified by:
addAddressConfigurationin interfaceConfiguration
-
getDiscoveryGroupConfigurations
Description copied from interface:ConfigurationReturns the discovery groups configured for this server.- Specified by:
getDiscoveryGroupConfigurationsin interfaceConfiguration- Returns:
- the discovery groups configured for this server
-
setDiscoveryGroupConfigurations
public ConfigurationImpl setDiscoveryGroupConfigurations(Map<String, DiscoveryGroupConfiguration> discoveryGroupConfigurations) Description copied from interface:ConfigurationSets the discovery groups configured for this server.- Specified by:
setDiscoveryGroupConfigurationsin interfaceConfiguration
-
addDiscoveryGroupConfiguration
public ConfigurationImpl addDiscoveryGroupConfiguration(String key, DiscoveryGroupConfiguration discoveryGroupConfiguration) - Specified by:
addDiscoveryGroupConfigurationin interfaceConfiguration
-
getIDCacheSize
public int getIDCacheSize()Description copied from interface:ConfigurationReturns the size of the cache for pre-creating message IDs; default isActiveMQDefaultConfiguration.DEFAULT_ID_CACHE_SIZE.- Specified by:
getIDCacheSizein interfaceConfiguration- Returns:
- the size of the cache for pre-creating message IDs; default is
ActiveMQDefaultConfiguration.DEFAULT_ID_CACHE_SIZE
-
setIDCacheSize
Description copied from interface:ConfigurationSets the size of the cache for pre-creating message IDs.- Specified by:
setIDCacheSizein interfaceConfiguration
-
isPersistIDCache
public boolean isPersistIDCache()Description copied from interface:ConfigurationReturns whether message ID cache is persisted; default isActiveMQDefaultConfiguration.DEFAULT_PERSIST_ID_CACHE.- Specified by:
isPersistIDCachein interfaceConfiguration- Returns:
- whether message ID cache is persisted; default is
ActiveMQDefaultConfiguration.DEFAULT_PERSIST_ID_CACHE
-
setPersistIDCache
Description copied from interface:ConfigurationSets whether message ID cache is persisted.- Specified by:
setPersistIDCachein interfaceConfiguration
-
getBindingsLocation
Description copied from interface:ConfigurationThe binding location related to artemis.instance.- Specified by:
getBindingsLocationin interfaceConfiguration
-
getBindingsDirectory
Description copied from interface:ConfigurationReturns the file system directory used to store bindings; default isActiveMQDefaultConfiguration.DEFAULT_BINDINGS_DIRECTORY.- Specified by:
getBindingsDirectoryin interfaceConfiguration- Returns:
- the file system directory used to store bindings; default is
ActiveMQDefaultConfiguration.DEFAULT_BINDINGS_DIRECTORY
-
setBindingsDirectory
Description copied from interface:ConfigurationSets the file system directory used to store bindings.- Specified by:
setBindingsDirectoryin interfaceConfiguration
-
getPageMaxConcurrentIO
public int getPageMaxConcurrentIO()Description copied from interface:ConfigurationReturns the max number of concurrent reads allowed on paging; default isActiveMQDefaultConfiguration.DEFAULT_MAX_CONCURRENT_PAGE_IO.- Specified by:
getPageMaxConcurrentIOin interfaceConfiguration- Returns:
- the max number of concurrent reads allowed on paging; default is
ActiveMQDefaultConfiguration.DEFAULT_MAX_CONCURRENT_PAGE_IO
-
setPageMaxConcurrentIO
Description copied from interface:ConfigurationThe max number of concurrent reads allowed on paging.Default = 5
- Specified by:
setPageMaxConcurrentIOin interfaceConfiguration
-
isReadWholePage
public boolean isReadWholePage()Description copied from interface:ConfigurationReturns whether the whole page is read while getting message after page cache is evicted; default isActiveMQDefaultConfiguration.DEFAULT_READ_WHOLE_PAGE.- Specified by:
isReadWholePagein interfaceConfiguration- Returns:
- whether the whole page is read while getting message after page cache is evicted; default is
ActiveMQDefaultConfiguration.DEFAULT_READ_WHOLE_PAGE
-
setReadWholePage
Description copied from interface:ConfigurationSets whether the whole page is read while getting message after page cache is evicted.- Specified by:
setReadWholePagein interfaceConfiguration
-
getJournalLocation
Description copied from interface:ConfigurationReturns the location of the journal related toartemis.instance.- Specified by:
getJournalLocationin interfaceConfiguration- Returns:
- the location of the journal related to
artemis.instance
-
getJournalDirectory
Description copied from interface:ConfigurationReturns the file system directory used to store journal log; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_DIR.- Specified by:
getJournalDirectoryin interfaceConfiguration- Returns:
- the file system directory used to store journal log; default is
ActiveMQDefaultConfiguration.DEFAULT_JOURNAL_DIR
-
setJournalDirectory
Description copied from interface:ConfigurationSets the file system directory used to store journal log.- Specified by:
setJournalDirectoryin interfaceConfiguration
-
getNodeManagerLockLocation
Description copied from interface:ConfigurationReturns the location of the node manager lock file related to artemis.instance.- Specified by:
getNodeManagerLockLocationin interfaceConfiguration- Returns:
- the location of the node manager lock file related to artemis.instance
-
setNodeManagerLockDirectory
Description copied from interface:ConfigurationSets the file system directory used to store the node manager lock file.- Specified by:
setNodeManagerLockDirectoryin interfaceConfiguration
-
getNodeManagerLockDirectory
Description copied from interface:ConfigurationReturns the directory that contains the lock file.- Specified by:
getNodeManagerLockDirectoryin interfaceConfiguration- Returns:
- the directory that contains the lock file
-
getJournalType
Description copied from interface:ConfigurationReturns the type of journal used by this server (NIO,ASYNCIOorMAPPED); default isASYNCIO.- Specified by:
getJournalTypein interfaceConfiguration- Returns:
- the type of journal used by this server (
NIO,ASYNCIOorMAPPED); default isASYNCIO
-
setPagingDirectory
Description copied from interface:ConfigurationSets the file system directory used to store paging files.- Specified by:
setPagingDirectoryin interfaceConfiguration
-
getPagingLocation
Description copied from interface:ConfigurationThe paging location related to artemis.instance- Specified by:
getPagingLocationin interfaceConfiguration
-
getPagingDirectory
Description copied from interface:ConfigurationReturns the file system directory used to store paging files; default isActiveMQDefaultConfiguration.DEFAULT_PAGING_DIR.- Specified by:
getPagingDirectoryin interfaceConfiguration- Returns:
- the file system directory used to store paging files; default is
ActiveMQDefaultConfiguration.DEFAULT_PAGING_DIR
-
setJournalType
Description copied from interface:ConfigurationSets the type of journal used by this server (eitherNIOorASYNCIO).- Specified by:
setJournalTypein interfaceConfiguration
-
isJournalSyncTransactional
public boolean isJournalSyncTransactional()Description copied from interface:ConfigurationReturns whether the journal is synchronized when receiving transactional data; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_SYNC_TRANSACTIONAL.- Specified by:
isJournalSyncTransactionalin interfaceConfiguration- Returns:
- whether the journal is synchronized when receiving transactional data; default is
ActiveMQDefaultConfiguration.DEFAULT_JOURNAL_SYNC_TRANSACTIONAL
-
setJournalSyncTransactional
Description copied from interface:ConfigurationSets whether the journal is synchronized when receiving transactional data.- Specified by:
setJournalSyncTransactionalin interfaceConfiguration
-
isJournalSyncNonTransactional
public boolean isJournalSyncNonTransactional()Description copied from interface:ConfigurationReturns whether the journal is synchronized when receiving non-transactional data; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_SYNC_NON_TRANSACTIONAL.- Specified by:
isJournalSyncNonTransactionalin interfaceConfiguration- Returns:
- whether the journal is synchronized when receiving non-transactional data; default is
ActiveMQDefaultConfiguration.DEFAULT_JOURNAL_SYNC_NON_TRANSACTIONAL
-
setJournalSyncNonTransactional
Description copied from interface:ConfigurationSets whether the journal is synchronized when receiving non-transactional data.- Specified by:
setJournalSyncNonTransactionalin interfaceConfiguration
-
getJournalFileSize
public int getJournalFileSize()Description copied from interface:ConfigurationReturns the size (in bytes) of each journal files; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_FILE_SIZE.- Specified by:
getJournalFileSizein interfaceConfiguration- Returns:
- the size (in bytes) of each journal files; default is
ActiveMQDefaultConfiguration.DEFAULT_JOURNAL_FILE_SIZE
-
setJournalFileSize
Description copied from interface:ConfigurationSets the size (in bytes) of each journal files.- Specified by:
setJournalFileSizein interfaceConfiguration
-
getJournalPoolFiles
public int getJournalPoolFiles()Description copied from interface:ConfigurationNumber of files that would be acceptable to keep on a pool; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_POOL_FILES}- Specified by:
getJournalPoolFilesin interfaceConfiguration
-
setJournalPoolFiles
Description copied from interface:ConfigurationNumber of files that would be acceptable to keep on a pool; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_POOL_FILES}- Specified by:
setJournalPoolFilesin interfaceConfiguration
-
getJournalMinFiles
public int getJournalMinFiles()Description copied from interface:ConfigurationReturns the number of journal files to pre-create; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_MIN_FILES.- Specified by:
getJournalMinFilesin interfaceConfiguration- Returns:
- the number of journal files to pre-create; default is
ActiveMQDefaultConfiguration.DEFAULT_JOURNAL_MIN_FILES
-
setJournalMinFiles
Description copied from interface:ConfigurationSets the number of journal files to pre-create.- Specified by:
setJournalMinFilesin interfaceConfiguration
-
isLogJournalWriteRate
public boolean isLogJournalWriteRate()- Specified by:
isLogJournalWriteRatein interfaceConfiguration
-
setLogJournalWriteRate
- Specified by:
setLogJournalWriteRatein interfaceConfiguration
-
isCreateBindingsDir
public boolean isCreateBindingsDir()Description copied from interface:ConfigurationReturns whether the bindings directory is created on this server startup; default isActiveMQDefaultConfiguration.DEFAULT_CREATE_BINDINGS_DIR.- Specified by:
isCreateBindingsDirin interfaceConfiguration- Returns:
- whether the bindings directory is created on this server startup; default is
ActiveMQDefaultConfiguration.DEFAULT_CREATE_BINDINGS_DIR
-
setCreateBindingsDir
Description copied from interface:ConfigurationSets whether the bindings directory is created on this server startup.- Specified by:
setCreateBindingsDirin interfaceConfiguration
-
isCreateJournalDir
public boolean isCreateJournalDir()Description copied from interface:ConfigurationReturns whether the journal directory is created on this server startup; default isActiveMQDefaultConfiguration.DEFAULT_CREATE_JOURNAL_DIR.- Specified by:
isCreateJournalDirin interfaceConfiguration- Returns:
- whether the journal directory is created on this server startup; default is
ActiveMQDefaultConfiguration.DEFAULT_CREATE_JOURNAL_DIR
-
setCreateJournalDir
Description copied from interface:ConfigurationSets whether the journal directory is created on this server startup.- Specified by:
setCreateJournalDirin interfaceConfiguration
-
isWildcardRoutingEnabled
Deprecated.Description copied from interface:ConfigurationReturns whether wildcard routing is supported by this server; default isActiveMQDefaultConfiguration.DEFAULT_WILDCARD_ROUTING_ENABLED.- Specified by:
isWildcardRoutingEnabledin interfaceConfiguration- Returns:
- whether wildcard routing is supported by this server; default is
ActiveMQDefaultConfiguration.DEFAULT_WILDCARD_ROUTING_ENABLED
-
setWildcardRoutingEnabled
Deprecated.Description copied from interface:ConfigurationSets whether wildcard routing is supported by this server.- Specified by:
setWildcardRoutingEnabledin interfaceConfiguration
-
getWildcardConfiguration
- Specified by:
getWildcardConfigurationin interfaceConfiguration
-
setWildCardConfiguration
- Specified by:
setWildCardConfigurationin interfaceConfiguration
-
getTransactionTimeout
public long getTransactionTimeout()Description copied from interface:ConfigurationReturns the timeout (in milliseconds) after which transactions is removed from the resource manager after it was created; default isActiveMQDefaultConfiguration.DEFAULT_TRANSACTION_TIMEOUT.- Specified by:
getTransactionTimeoutin interfaceConfiguration- 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
Description copied from interface:ConfigurationSets the timeout (in milliseconds) after which transactions is removed from the resource manager after it was created.- Specified by:
setTransactionTimeoutin interfaceConfiguration
-
getTransactionTimeoutScanPeriod
public long getTransactionTimeoutScanPeriod()Description copied from interface:ConfigurationReturns the frequency (in milliseconds) to scan transactions to detect which transactions have timed out; default isActiveMQDefaultConfiguration.DEFAULT_TRANSACTION_TIMEOUT_SCAN_PERIOD.- Specified by:
getTransactionTimeoutScanPeriodin interfaceConfiguration- Returns:
- the frequency (in milliseconds) to scan transactions to detect which transactions have timed out; default
is
ActiveMQDefaultConfiguration.DEFAULT_TRANSACTION_TIMEOUT_SCAN_PERIOD
-
setTransactionTimeoutScanPeriod
Description copied from interface:ConfigurationSets the frequency (in milliseconds) to scan transactions to detect which transactions have timed out.- Specified by:
setTransactionTimeoutScanPeriodin interfaceConfiguration
-
getMessageExpiryScanPeriod
public long getMessageExpiryScanPeriod()Description copied from interface:ConfigurationReturns the frequency (in milliseconds) to scan messages to detect which messages have expired; default isActiveMQDefaultConfiguration.DEFAULT_MESSAGE_EXPIRY_SCAN_PERIOD.- Specified by:
getMessageExpiryScanPeriodin interfaceConfiguration- Returns:
- the frequency (in milliseconds) to scan messages to detect which messages have expired; default is
ActiveMQDefaultConfiguration.DEFAULT_MESSAGE_EXPIRY_SCAN_PERIOD
-
setMessageExpiryScanPeriod
Description copied from interface:ConfigurationSets the frequency (in milliseconds) to scan messages to detect which messages have expired.- Specified by:
setMessageExpiryScanPeriodin interfaceConfiguration
-
getMessageExpiryThreadPriority
public int getMessageExpiryThreadPriority()Description copied from interface:ConfigurationReturns the priority of the thread used to scan message expiration; default isActiveMQDefaultConfiguration.DEFAULT_MESSAGE_EXPIRY_THREAD_PRIORITY.- Specified by:
getMessageExpiryThreadPriorityin interfaceConfiguration- Returns:
- the priority of the thread used to scan message expiration; default is
ActiveMQDefaultConfiguration.DEFAULT_MESSAGE_EXPIRY_THREAD_PRIORITY
-
setMessageExpiryThreadPriority
Description copied from interface:ConfigurationSets the priority of the thread used to scan message expiration.- Specified by:
setMessageExpiryThreadPriorityin interfaceConfiguration
-
getAddressQueueScanPeriod
public long getAddressQueueScanPeriod()Description copied from interface:ConfigurationReturns the frequency (in milliseconds) to scan addresses and queues to detect which ones should be deleted; default isActiveMQDefaultConfiguration.DEFAULT_MESSAGE_EXPIRY_SCAN_PERIOD.- Specified by:
getAddressQueueScanPeriodin interfaceConfiguration- 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
Description copied from interface:ConfigurationSets the frequency (in milliseconds) to scan addresses and queues to detect which ones should be deleted.- Specified by:
setAddressQueueScanPeriodin interfaceConfiguration
-
isSecurityEnabled
public boolean isSecurityEnabled()Description copied from interface:ConfigurationReturns whether security is enabled for this server; default isActiveMQDefaultConfiguration.DEFAULT_SECURITY_ENABLED.- Specified by:
isSecurityEnabledin interfaceConfiguration- Returns:
- whether security is enabled for this server; default is
ActiveMQDefaultConfiguration.DEFAULT_SECURITY_ENABLED
-
setSecurityEnabled
Description copied from interface:ConfigurationSets whether security is enabled for this server.- Specified by:
setSecurityEnabledin interfaceConfiguration
-
isGracefulShutdownEnabled
public boolean isGracefulShutdownEnabled()Description copied from interface:ConfigurationReturns whether graceful shutdown is enabled for this server; default isActiveMQDefaultConfiguration.DEFAULT_GRACEFUL_SHUTDOWN_ENABLED.- Specified by:
isGracefulShutdownEnabledin interfaceConfiguration- Returns:
- whether graceful shutdown is enabled for this server; default is
ActiveMQDefaultConfiguration.DEFAULT_GRACEFUL_SHUTDOWN_ENABLED
-
setGracefulShutdownEnabled
Description copied from interface:ConfigurationSets whether security is enabled for this server.- Specified by:
setGracefulShutdownEnabledin interfaceConfiguration
-
getGracefulShutdownTimeout
public long getGracefulShutdownTimeout()Description copied from interface:ConfigurationReturns the graceful shutdown timeout for this server; default isActiveMQDefaultConfiguration.DEFAULT_GRACEFUL_SHUTDOWN_TIMEOUT.- Specified by:
getGracefulShutdownTimeoutin interfaceConfiguration- Returns:
- the graceful shutdown timeout for this server; default is
ActiveMQDefaultConfiguration.DEFAULT_GRACEFUL_SHUTDOWN_TIMEOUT
-
setGracefulShutdownTimeout
Description copied from interface:ConfigurationSets the graceful shutdown timeout- Specified by:
setGracefulShutdownTimeoutin interfaceConfiguration
-
isJMXManagementEnabled
public boolean isJMXManagementEnabled()Description copied from interface:ConfigurationReturns whether this server is manageable using JMX or not; default isActiveMQDefaultConfiguration.DEFAULT_JMX_MANAGEMENT_ENABLED.- Specified by:
isJMXManagementEnabledin interfaceConfiguration- Returns:
- whether this server is manageable using JMX or not; default is
ActiveMQDefaultConfiguration.DEFAULT_JMX_MANAGEMENT_ENABLED
-
setJMXManagementEnabled
Description copied from interface:ConfigurationSets whether this server is manageable using JMX or not; default isActiveMQDefaultConfiguration.DEFAULT_JMX_MANAGEMENT_ENABLED}- Specified by:
setJMXManagementEnabledin interfaceConfiguration
-
getJMXDomain
Description copied from interface:ConfigurationReturns the domain used by JMX MBeans (provided JMX management is enabled); default isActiveMQDefaultConfiguration.DEFAULT_JMX_DOMAIN.- Specified by:
getJMXDomainin interfaceConfiguration- Returns:
- the domain used by JMX MBeans (provided JMX management is enabled); default is
ActiveMQDefaultConfiguration.DEFAULT_JMX_DOMAIN
-
setJMXDomain
Description copied from interface:ConfigurationSets 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.
- Specified by:
setJMXDomainin interfaceConfiguration
-
isJMXUseBrokerName
public boolean isJMXUseBrokerName()Description copied from interface:Configurationwhether to use the broker name in the JMX tree- Specified by:
isJMXUseBrokerNamein interfaceConfiguration
-
setJMXUseBrokerName
Description copied from interface:Configurationwhether to use the broker name in the JMX tree- Specified by:
setJMXUseBrokerNamein interfaceConfiguration
-
getLargeMessagesDirectory
Description copied from interface:ConfigurationReturns the file system directory used to store large messages; default isActiveMQDefaultConfiguration.DEFAULT_LARGE_MESSAGES_DIR.- Specified by:
getLargeMessagesDirectoryin interfaceConfiguration- Returns:
- the file system directory used to store large messages; default is
ActiveMQDefaultConfiguration.DEFAULT_LARGE_MESSAGES_DIR
-
getLargeMessagesLocation
Description copied from interface:ConfigurationThe large message location related to artemis.instance- Specified by:
getLargeMessagesLocationin interfaceConfiguration
-
setLargeMessagesDirectory
Description copied from interface:ConfigurationSets the file system directory used to store large messages.- Specified by:
setLargeMessagesDirectoryin interfaceConfiguration
-
isMessageCounterEnabled
public boolean isMessageCounterEnabled()Description copied from interface:ConfigurationReturns whether message counter is enabled for this server; default isActiveMQDefaultConfiguration.DEFAULT_MESSAGE_COUNTER_ENABLED.- Specified by:
isMessageCounterEnabledin interfaceConfiguration- Returns:
- whether message counter is enabled for this server; default is
ActiveMQDefaultConfiguration.DEFAULT_MESSAGE_COUNTER_ENABLED
-
setMessageCounterEnabled
Description copied from interface:ConfigurationSets whether message counter is enabled for this server.- Specified by:
setMessageCounterEnabledin interfaceConfiguration
-
getMessageCounterSamplePeriod
public long getMessageCounterSamplePeriod()Description copied from interface:ConfigurationReturns the sample period (in milliseconds) to take message counter snapshot; default isActiveMQDefaultConfiguration.DEFAULT_MESSAGE_COUNTER_SAMPLE_PERIOD.- Specified by:
getMessageCounterSamplePeriodin interfaceConfiguration- Returns:
- the sample period (in milliseconds) to take message counter snapshot; default is
ActiveMQDefaultConfiguration.DEFAULT_MESSAGE_COUNTER_SAMPLE_PERIOD
-
setMessageCounterSamplePeriod
Description copied from interface:ConfigurationSets the sample period to take message counter snapshot.- Specified by:
setMessageCounterSamplePeriodin interfaceConfiguration- Parameters:
period- value must be greater than 1000ms
-
getMessageCounterMaxDayHistory
public int getMessageCounterMaxDayHistory()Description copied from interface:ConfigurationReturns the maximum number of days kept in memory for message counter; default isActiveMQDefaultConfiguration.DEFAULT_MESSAGE_COUNTER_MAX_DAY_HISTORY.- Specified by:
getMessageCounterMaxDayHistoryin interfaceConfiguration- Returns:
- the maximum number of days kept in memory for message counter; default is
ActiveMQDefaultConfiguration.DEFAULT_MESSAGE_COUNTER_MAX_DAY_HISTORY
-
setMessageCounterMaxDayHistory
Description copied from interface:ConfigurationSets the maximum number of days kept in memory for message counter.- Specified by:
setMessageCounterMaxDayHistoryin interfaceConfiguration- Parameters:
maxDayHistory- value must be greater than 0
-
getManagementAddress
Description copied from interface:ConfigurationReturns the management address of this server; Clients can send management messages to this address to manage this server; default isActiveMQDefaultConfiguration.DEFAULT_MANAGEMENT_ADDRESS.- Specified by:
getManagementAddressin interfaceConfiguration- 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
Description copied from interface:ConfigurationSets the management address of this server.- Specified by:
setManagementAddressin interfaceConfiguration
-
getManagementNotificationAddress
Description copied from interface:ConfigurationReturns 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.- Specified by:
getManagementNotificationAddressin interfaceConfiguration- 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
Description copied from interface:ConfigurationSets the management notification address of this server.- Specified by:
setManagementNotificationAddressin interfaceConfiguration
-
getClusterUser
Description copied from interface:ConfigurationReturns the cluster user for this server; default isActiveMQDefaultConfiguration.DEFAULT_CLUSTER_USER.- Specified by:
getClusterUserin interfaceConfiguration- Returns:
- the cluster user for this server; default is
ActiveMQDefaultConfiguration.DEFAULT_CLUSTER_USER
-
setClusterUser
Description copied from interface:ConfigurationSets the cluster user for this server.- Specified by:
setClusterUserin interfaceConfiguration
-
getClusterPassword
Description copied from interface:ConfigurationReturns the cluster password for this server; default isActiveMQDefaultConfiguration.DEFAULT_CLUSTER_PASSWORD.- Specified by:
getClusterPasswordin interfaceConfiguration- Returns:
- the cluster password for this server; default is
ActiveMQDefaultConfiguration.DEFAULT_CLUSTER_PASSWORD
-
isFailoverOnServerShutdown
public boolean isFailoverOnServerShutdown() -
setFailoverOnServerShutdown
-
setClusterPassword
Description copied from interface:ConfigurationSets the cluster password for this server.- Specified by:
setClusterPasswordin interfaceConfiguration
-
getJournalCompactMinFiles
public int getJournalCompactMinFiles()Description copied from interface:ConfigurationReturns the minimal number of journal files before compacting; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_COMPACT_MIN_FILES.- Specified by:
getJournalCompactMinFilesin interfaceConfiguration- Returns:
- the minimal number of journal files before compacting; default is
ActiveMQDefaultConfiguration.DEFAULT_JOURNAL_COMPACT_MIN_FILES
-
getJournalCompactPercentage
public int getJournalCompactPercentage()Description copied from interface:ConfigurationReturns the percentage of live data before compacting the journal; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_COMPACT_PERCENTAGE.- Specified by:
getJournalCompactPercentagein interfaceConfiguration- Returns:
- the percentage of live data before compacting the journal; default is
ActiveMQDefaultConfiguration.DEFAULT_JOURNAL_COMPACT_PERCENTAGE
-
setJournalCompactMinFiles
Description copied from interface:ConfigurationSets the minimal number of journal files before compacting.- Specified by:
setJournalCompactMinFilesin interfaceConfiguration
-
getJournalFileOpenTimeout
public int getJournalFileOpenTimeout()Description copied from interface:ConfigurationReturns How long to wait when opening a new Journal file before failing.- Specified by:
getJournalFileOpenTimeoutin interfaceConfiguration- Returns:
- How long to wait when opening a new Journal file before failing
-
setJournalFileOpenTimeout
Description copied from interface:ConfigurationSets the journal file open timeout- Specified by:
setJournalFileOpenTimeoutin interfaceConfiguration
-
setJournalCompactPercentage
Description copied from interface:ConfigurationSets the percentage of live data before compacting the journal.- Specified by:
setJournalCompactPercentagein interfaceConfiguration
-
getServerDumpInterval
public long getServerDumpInterval()- Specified by:
getServerDumpIntervalin interfaceConfiguration
-
setServerDumpInterval
- Specified by:
setServerDumpIntervalin interfaceConfiguration
-
getMemoryWarningThreshold
public int getMemoryWarningThreshold()- Specified by:
getMemoryWarningThresholdin interfaceConfiguration
-
setMemoryWarningThreshold
- Specified by:
setMemoryWarningThresholdin interfaceConfiguration
-
getMemoryMeasureInterval
public long getMemoryMeasureInterval()- Specified by:
getMemoryMeasureIntervalin interfaceConfiguration
-
setMemoryMeasureInterval
- Specified by:
setMemoryMeasureIntervalin interfaceConfiguration
-
getJournalMaxIO_AIO
public int getJournalMaxIO_AIO()Description copied from interface:ConfigurationReturns the maximum number of write requests that can be in the AIO queue at any given time; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_MAX_IO_AIO.- Specified by:
getJournalMaxIO_AIOin interfaceConfiguration- 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
Description copied from interface:ConfigurationSets the maximum number of write requests that can be in the AIO queue at any given time.- Specified by:
setJournalMaxIO_AIOin interfaceConfiguration
-
getJournalBufferTimeout_AIO
public int getJournalBufferTimeout_AIO()Description copied from interface:ConfigurationReturns the timeout (in nanoseconds) used to flush buffers in the AIO queue; default isArtemisConstants.DEFAULT_JOURNAL_BUFFER_TIMEOUT_AIO.- Specified by:
getJournalBufferTimeout_AIOin interfaceConfiguration- Returns:
- the timeout (in nanoseconds) used to flush buffers in the AIO queue; default is
ArtemisConstants.DEFAULT_JOURNAL_BUFFER_TIMEOUT_AIO
-
getJournalDeviceBlockSize
Description copied from interface:ConfigurationThis is the device block size used on writing. This is usually translated as st_blksize from fstat. Returningnullmeans 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)- Specified by:
getJournalDeviceBlockSizein interfaceConfiguration
-
setJournalDeviceBlockSize
Description copied from interface:ConfigurationSet the journal device block size.- Specified by:
setJournalDeviceBlockSizein interfaceConfiguration- See Also:
-
setJournalBufferTimeout_AIO
Description copied from interface:ConfigurationSets the timeout (in nanoseconds) used to flush buffers in the AIO queue.- Specified by:
setJournalBufferTimeout_AIOin interfaceConfiguration
-
getJournalBufferSize_AIO
public int getJournalBufferSize_AIO()Description copied from interface:ConfigurationReturns the buffer size (in bytes) for AIO; default isArtemisConstants.DEFAULT_JOURNAL_BUFFER_SIZE_AIO.- Specified by:
getJournalBufferSize_AIOin interfaceConfiguration- Returns:
- the buffer size (in bytes) for AIO; default is
ArtemisConstants.DEFAULT_JOURNAL_BUFFER_SIZE_AIO
-
setJournalBufferSize_AIO
Description copied from interface:ConfigurationSets the buffer size (in bytes) for AIO.- Specified by:
setJournalBufferSize_AIOin interfaceConfiguration
-
getJournalMaxIO_NIO
public int getJournalMaxIO_NIO()Description copied from interface:ConfigurationReturns the maximum number of write requests for NIO journal; default isActiveMQDefaultConfiguration.DEFAULT_JOURNAL_MAX_IO_NIO.- Specified by:
getJournalMaxIO_NIOin interfaceConfiguration- Returns:
- the maximum number of write requests for NIO journal; default is
ActiveMQDefaultConfiguration.DEFAULT_JOURNAL_MAX_IO_NIO
-
setJournalMaxIO_NIO
Description copied from interface:ConfigurationSets the maximum number of write requests for NIO journal.- Specified by:
setJournalMaxIO_NIOin interfaceConfiguration
-
getJournalBufferTimeout_NIO
public int getJournalBufferTimeout_NIO()Description copied from interface:ConfigurationReturns the timeout (in nanoseconds) used to flush buffers in the NIO; default isArtemisConstants.DEFAULT_JOURNAL_BUFFER_TIMEOUT_NIO.- Specified by:
getJournalBufferTimeout_NIOin interfaceConfiguration- Returns:
- the timeout (in nanoseconds) used to flush buffers in the NIO; default is
ArtemisConstants.DEFAULT_JOURNAL_BUFFER_TIMEOUT_NIO
-
setJournalBufferTimeout_NIO
Description copied from interface:ConfigurationSets the timeout (in nanoseconds) used to flush buffers in the NIO.- Specified by:
setJournalBufferTimeout_NIOin interfaceConfiguration
-
getJournalBufferSize_NIO
public int getJournalBufferSize_NIO()Description copied from interface:ConfigurationReturns the buffer size (in bytes) for NIO; default isArtemisConstants.DEFAULT_JOURNAL_BUFFER_SIZE_NIO.- Specified by:
getJournalBufferSize_NIOin interfaceConfiguration- Returns:
- the buffer size (in bytes) for NIO; default is
ArtemisConstants.DEFAULT_JOURNAL_BUFFER_SIZE_NIO
-
setJournalBufferSize_NIO
Description copied from interface:ConfigurationSets the buffer size (in bytes) for NIO.- Specified by:
setJournalBufferSize_NIOin interfaceConfiguration
-
getAddressSettings
Description copied from interface:ConfigurationReturns A list of AddressSettings per matching to be deployed to the address settings repository.- Specified by:
getAddressSettingsin interfaceConfiguration- Returns:
- A list of AddressSettings per matching to be deployed to the address settings repository
-
setAddressSettings
Description copied from interface:ConfigurationSet the collection ofAddressSettingsindexed by address match.- Specified by:
setAddressSettingsin interfaceConfiguration- Parameters:
addressesSettings- list of AddressSettings per matching to be deployed to the address settings repository
-
addAddressSetting
Description copied from interface:ConfigurationAdd anAddressSettingsto the underlying collection.- Specified by:
addAddressSettingin interfaceConfiguration- Parameters:
key- the address matchaddressesSetting- theAddressSettingsto add
-
clearAddressSettings
- Specified by:
clearAddressSettingsin interfaceConfiguration
-
getAddressesSettings
Deprecated.- Specified by:
getAddressesSettingsin interfaceConfiguration
-
setAddressesSettings
@Deprecated public ConfigurationImpl setAddressesSettings(Map<String, AddressSettings> addressesSettings) Deprecated.- Specified by:
setAddressesSettingsin interfaceConfiguration
-
addAddressesSetting
@Deprecated public ConfigurationImpl addAddressesSetting(String key, AddressSettings addressesSetting) Deprecated.- Specified by:
addAddressesSettingin interfaceConfiguration
-
clearAddressesSettings
Deprecated.- Specified by:
clearAddressesSettingsin interfaceConfiguration
-
getResourceLimitSettings
Description copied from interface:ConfigurationReturns usernames mapped to ResourceLimitSettings.- Specified by:
getResourceLimitSettingsin interfaceConfiguration- Returns:
- usernames mapped to ResourceLimitSettings
-
setResourceLimitSettings
public ConfigurationImpl setResourceLimitSettings(Map<String, ResourceLimitSettings> resourceLimitSettings) Description copied from interface:ConfigurationSet the collection of resource limits indexed by username.- Specified by:
setResourceLimitSettingsin interfaceConfiguration- Parameters:
resourceLimitSettings- usernames mapped to ResourceLimitSettings
-
addResourceLimitSettings
Description copied from interface:ConfigurationAdd a resource limit to the underlying collection.- Specified by:
addResourceLimitSettingsin interfaceConfiguration- Parameters:
resourceLimitSettings- the ResourceLimitSettings to add
-
addResourceLimitSetting
-
getSecurityRoles
Description copied from interface:ConfigurationReturns a collection of roles indexed by matched.- Specified by:
getSecurityRolesin interfaceConfiguration- Returns:
- a collection of roles indexed by matched
-
putSecurityRoles
- Specified by:
putSecurityRolesin interfaceConfiguration
-
addSecurityRole
-
setSecurityRoles
Description copied from interface:ConfigurationSet the collection ofRoleobjects indexed by match (i.e. address name).- Specified by:
setSecurityRolesin interfaceConfiguration- Parameters:
securitySettings- a list of roles per matching
-
addSecurityRoleNameMapping
- Specified by:
addSecurityRoleNameMappingin interfaceConfiguration
-
getSecurityRoleNameMappings
- Specified by:
getSecurityRoleNameMappingsin interfaceConfiguration
-
getConnectorServiceConfigurations
Description copied from interface:ConfigurationReturns list ofConnectorServiceConfiguration.- Specified by:
getConnectorServiceConfigurationsin interfaceConfiguration- Returns:
- list of
ConnectorServiceConfiguration
-
getSecuritySettingPlugins
- Specified by:
getSecuritySettingPluginsin interfaceConfiguration
-
getMetricsPlugin
Deprecated.- Specified by:
getMetricsPluginin interfaceConfiguration
-
getMetricsConfiguration
- Specified by:
getMetricsConfigurationin interfaceConfiguration
-
registerBrokerPlugins
- Specified by:
registerBrokerPluginsin interfaceConfiguration
-
registerBrokerPlugin
- Specified by:
registerBrokerPluginin interfaceConfiguration
-
unRegisterBrokerPlugin
- Specified by:
unRegisterBrokerPluginin interfaceConfiguration
-
getBrokerPlugins
- Specified by:
getBrokerPluginsin interfaceConfiguration
-
addBrokerPlugin
-
getBrokerConnectionPlugins
- Specified by:
getBrokerConnectionPluginsin interfaceConfiguration
-
getBrokerSessionPlugins
- Specified by:
getBrokerSessionPluginsin interfaceConfiguration
-
getBrokerConsumerPlugins
- Specified by:
getBrokerConsumerPluginsin interfaceConfiguration
-
getBrokerAddressPlugins
- Specified by:
getBrokerAddressPluginsin interfaceConfiguration
-
getBrokerQueuePlugins
- Specified by:
getBrokerQueuePluginsin interfaceConfiguration
-
getBrokerBindingPlugins
- Specified by:
getBrokerBindingPluginsin interfaceConfiguration
-
getBrokerMessagePlugins
- Specified by:
getBrokerMessagePluginsin interfaceConfiguration
-
getBrokerBridgePlugins
- Specified by:
getBrokerBridgePluginsin interfaceConfiguration
-
getBrokerCriticalPlugins
- Specified by:
getBrokerCriticalPluginsin interfaceConfiguration
-
getBrokerFederationPlugins
- Specified by:
getBrokerFederationPluginsin interfaceConfiguration
-
getBrokerAMQPFederationPlugins
- Specified by:
getBrokerAMQPFederationPluginsin interfaceConfiguration
-
getFederationConfigurations
- Specified by:
getFederationConfigurationsin interfaceConfiguration
-
addFederationConfiguration
-
getBrokerResourcePlugins
- Specified by:
getBrokerResourcePluginsin interfaceConfiguration
-
getBrokerInstance
Description copied from interface:ConfigurationSet the Artemis instance relative folder for data and stuff.- Specified by:
getBrokerInstancein interfaceConfiguration
-
setBrokerInstance
Description copied from interface:ConfigurationSet the Artemis instance relative folder for data and stuff.- Specified by:
setBrokerInstancein interfaceConfiguration
-
isCheckForPrimaryServer
public boolean isCheckForPrimaryServer() -
setCheckForPrimaryServer
-
toString
-
setConnectorServiceConfigurations
public ConfigurationImpl setConnectorServiceConfigurations(List<ConnectorServiceConfiguration> configs) - Specified by:
setConnectorServiceConfigurationsin interfaceConfiguration
-
addConnectorServiceConfiguration
- Specified by:
addConnectorServiceConfigurationin interfaceConfiguration
-
setSecuritySettingPlugins
- Specified by:
setSecuritySettingPluginsin interfaceConfiguration
-
addSecuritySettingPlugin
- Specified by:
addSecuritySettingPluginin interfaceConfiguration
-
setMetricsPlugin
Deprecated.- Specified by:
setMetricsPluginin interfaceConfiguration
-
setMetricsConfiguration
- Specified by:
setMetricsConfigurationin interfaceConfiguration
-
isMaskPassword
Description copied from interface:ConfigurationIf passwords are masked. True means the passwords are masked.- Specified by:
isMaskPasswordin interfaceConfiguration
-
setMaskPassword
Description copied from interface:ConfigurationSets if passwords should be masked or not. True means the passwords should be masked.- Specified by:
setMaskPasswordin interfaceConfiguration
-
setPasswordCodec
Description copied from interface:ConfigurationThe default password decoder- Specified by:
setPasswordCodecin interfaceConfiguration
-
getPasswordCodec
Description copied from interface:ConfigurationGets the default password decoder- Specified by:
getPasswordCodecin interfaceConfiguration
-
getName
Description copied from interface:ConfigurationTo be used on dependency management on the application server- Specified by:
getNamein interfaceConfiguration
-
setName
Description copied from interface:ConfigurationTo be used on dependency management on the application server- Specified by:
setNamein interfaceConfiguration
-
setResolveProtocols
Description copied from interface:ConfigurationWhether 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- Specified by:
setResolveProtocolsin interfaceConfiguration
-
getTransportConfigurations
- Specified by:
getTransportConfigurationsin interfaceConfiguration
-
getTransportConfigurations
- Specified by:
getTransportConfigurationsin interfaceConfiguration
-
debugConnectors
Description copied from interface:ConfigurationIt will return all the connectors in a toString manner for debug purposes.- Specified by:
debugConnectorsin interfaceConfiguration
-
isResolveProtocols
public boolean isResolveProtocols()Description copied from interface:ConfigurationReturns whether to resolve and use any Protocols available on the classpath; default isActiveMQDefaultConfiguration.DEFAULT_RESOLVE_PROTOCOLS.- Specified by:
isResolveProtocolsin interfaceConfiguration- Returns:
- whether to resolve and use any Protocols available on the classpath; default is
ActiveMQDefaultConfiguration.DEFAULT_RESOLVE_PROTOCOLS
-
getStoreConfiguration
- Specified by:
getStoreConfigurationin interfaceConfiguration
-
setStoreConfiguration
- Specified by:
setStoreConfigurationin interfaceConfiguration
-
isPopulateValidatedUser
public boolean isPopulateValidatedUser()- Specified by:
isPopulateValidatedUserin interfaceConfiguration
-
setPopulateValidatedUser
- Specified by:
setPopulateValidatedUserin interfaceConfiguration
-
isRejectEmptyValidatedUser
public boolean isRejectEmptyValidatedUser()- Specified by:
isRejectEmptyValidatedUserin interfaceConfiguration
-
setRejectEmptyValidatedUser
- Specified by:
setRejectEmptyValidatedUserin interfaceConfiguration
-
getConnectionTtlCheckInterval
public long getConnectionTtlCheckInterval()- Specified by:
getConnectionTtlCheckIntervalin interfaceConfiguration
-
setConnectionTtlCheckInterval
- Specified by:
setConnectionTtlCheckIntervalin interfaceConfiguration
-
hashCode
public int hashCode() -
equals
-
copy
- Specified by:
copyin interfaceConfiguration- Throws:
Exception
-
setJournalLockAcquisitionTimeout
- Specified by:
setJournalLockAcquisitionTimeoutin interfaceConfiguration
-
getJournalLockAcquisitionTimeout
public long getJournalLockAcquisitionTimeout()- Specified by:
getJournalLockAcquisitionTimeoutin interfaceConfiguration
-
getHAPolicyConfiguration
- Specified by:
getHAPolicyConfigurationin interfaceConfiguration
-
setHAPolicyConfiguration
- Specified by:
setHAPolicyConfigurationin interfaceConfiguration
-
getConfigurationUrl
- Specified by:
getConfigurationUrlin interfaceConfiguration
-
setConfigurationUrl
- Specified by:
setConfigurationUrlin interfaceConfiguration
-
getConfigurationFileRefreshPeriod
public long getConfigurationFileRefreshPeriod()- Specified by:
getConfigurationFileRefreshPeriodin interfaceConfiguration
-
setConfigurationFileRefreshPeriod
- Specified by:
setConfigurationFileRefreshPeriodin interfaceConfiguration
-
getDiskScanPeriod
public int getDiskScanPeriod()- Specified by:
getDiskScanPeriodin interfaceConfiguration
-
getInternalNamingPrefix
- Specified by:
getInternalNamingPrefixin interfaceConfiguration
-
setInternalNamingPrefix
- Specified by:
setInternalNamingPrefixin interfaceConfiguration
-
setDiskScanPeriod
- Specified by:
setDiskScanPeriodin interfaceConfiguration
-
setNetworkCheckList
Description copied from interface:ConfigurationA 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.- Specified by:
setNetworkCheckListin interfaceConfiguration
-
getNetworkCheckList
- Specified by:
getNetworkCheckListin interfaceConfiguration
-
setNetworkCheckURLList
Description copied from interface:ConfigurationA 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.- Specified by:
setNetworkCheckURLListin interfaceConfiguration
-
getNetworkCheckURLList
- Specified by:
getNetworkCheckURLListin interfaceConfiguration
-
setNetworkCheckPeriod
The interval on which we will perform network checks.- Specified by:
setNetworkCheckPeriodin interfaceConfiguration
-
getNetworkCheckPeriod
public long getNetworkCheckPeriod()- Specified by:
getNetworkCheckPeriodin interfaceConfiguration
-
setNetworkCheckTimeout
Time in ms for how long we should wait for a ping to finish.- Specified by:
setNetworkCheckTimeoutin interfaceConfiguration
-
getNetworkCheckTimeout
public int getNetworkCheckTimeout()- Specified by:
getNetworkCheckTimeoutin interfaceConfiguration
-
setNetworCheckNIC
Description copied from interface:ConfigurationThe NIC name to be used on network checks- Specified by:
setNetworCheckNICin interfaceConfiguration
-
setNetworkCheckNIC
Description copied from interface:ConfigurationThe NIC name to be used on network checks- Specified by:
setNetworkCheckNICin interfaceConfiguration
-
getNetworkCheckNIC
- Specified by:
getNetworkCheckNICin interfaceConfiguration
-
getNetworkCheckPingCommand
- Specified by:
getNetworkCheckPingCommandin interfaceConfiguration
-
setNetworkCheckPingCommand
- Specified by:
setNetworkCheckPingCommandin interfaceConfiguration
-
getNetworkCheckPing6Command
- Specified by:
getNetworkCheckPing6Commandin interfaceConfiguration
-
setNetworkCheckPing6Command
- Specified by:
setNetworkCheckPing6Commandin interfaceConfiguration
-
isCriticalAnalyzer
public boolean isCriticalAnalyzer()- Specified by:
isCriticalAnalyzerin interfaceConfiguration
-
setCriticalAnalyzer
- Specified by:
setCriticalAnalyzerin interfaceConfiguration
-
getCriticalAnalyzerTimeout
public long getCriticalAnalyzerTimeout()- Specified by:
getCriticalAnalyzerTimeoutin interfaceConfiguration
-
setCriticalAnalyzerTimeout
- Specified by:
setCriticalAnalyzerTimeoutin interfaceConfiguration
-
getCriticalAnalyzerCheckPeriod
public long getCriticalAnalyzerCheckPeriod()- Specified by:
getCriticalAnalyzerCheckPeriodin interfaceConfiguration
-
setCriticalAnalyzerCheckPeriod
- Specified by:
setCriticalAnalyzerCheckPeriodin interfaceConfiguration
-
getCriticalAnalyzerPolicy
- Specified by:
getCriticalAnalyzerPolicyin interfaceConfiguration
-
setCriticalAnalyzerPolicy
- Specified by:
setCriticalAnalyzerPolicyin interfaceConfiguration
-
getPageSyncTimeout
public int getPageSyncTimeout()Description copied from interface:ConfigurationReturns the timeout (in nanoseconds) used to sync pages; default isArtemisConstants.DEFAULT_JOURNAL_BUFFER_TIMEOUT_NIO.- Specified by:
getPageSyncTimeoutin interfaceConfiguration- Returns:
- the timeout (in nanoseconds) used to sync pages;
default is
ArtemisConstants.DEFAULT_JOURNAL_BUFFER_TIMEOUT_NIO
-
setPageSyncTimeout
Description copied from interface:ConfigurationSets the timeout (in nanoseconds) used to sync pages.- Specified by:
setPageSyncTimeoutin interfaceConfiguration
-
subFolder
It will find the right location of a subFolder, related to artemisInstance -
getTemporaryQueueNamespace
- Specified by:
getTemporaryQueueNamespacein interfaceConfiguration
-
setTemporaryQueueNamespace
- Specified by:
setTemporaryQueueNamespacein interfaceConfiguration
-
getJournalMaxAtticFiles
public int getJournalMaxAtticFiles()Description copied from interface:ConfigurationReturns 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.- Specified by:
getJournalMaxAtticFilesin interfaceConfiguration- 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
Description copied from interface:ConfigurationSets the maximal number of data files before we can start deleting corrupted files instead of moving them to attic.- Specified by:
setJournalMaxAtticFilesin interfaceConfiguration
-
getMqttSessionScanInterval
public long getMqttSessionScanInterval()Description copied from interface:ConfigurationGet the MQTT session scan interval- Specified by:
getMqttSessionScanIntervalin interfaceConfiguration- See Also:
-
setMqttSessionScanInterval
Description copied from interface:ConfigurationThis 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.- Specified by:
setMqttSessionScanIntervalin interfaceConfiguration
-
getMqttSessionStatePersistenceTimeout
public long getMqttSessionStatePersistenceTimeout()- Specified by:
getMqttSessionStatePersistenceTimeoutin interfaceConfiguration
-
setMqttSessionStatePersistenceTimeout
- Specified by:
setMqttSessionStatePersistenceTimeoutin interfaceConfiguration
-
isMqttSubscriptionPersistenceEnabled
public boolean isMqttSubscriptionPersistenceEnabled()- Specified by:
isMqttSubscriptionPersistenceEnabledin interfaceConfiguration- See Also:
-
setMqttSubscriptionPersistenceEnabled
public Configuration setMqttSubscriptionPersistenceEnabled(boolean mqttSubscriptionPersistenceEnabled) Description copied from interface:ConfigurationThis is necessary because MQTT subsriptions are 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.- Specified by:
setMqttSubscriptionPersistenceEnabledin interfaceConfiguration
-
isSuppressSessionNotifications
public boolean isSuppressSessionNotifications()Description copied from interface:ConfigurationReturns whether suppression of session-notifications is enabled for this server; default isActiveMQDefaultConfiguration.DEFAULT_SUPPRESS_SESSION_NOTIFICATIONS.- Specified by:
isSuppressSessionNotificationsin interfaceConfiguration- Returns:
- whether suppression of session-notifications is enabled for this server; default is
ActiveMQDefaultConfiguration.DEFAULT_SUPPRESS_SESSION_NOTIFICATIONS
-
setSuppressSessionNotifications
- Specified by:
setSuppressSessionNotificationsin interfaceConfiguration
-
getStatus
- Specified by:
getStatusin interfaceConfiguration
-
setStatus
Description copied from interface:ConfigurationThis 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.- Specified by:
setStatusin interfaceConfiguration
-
getLiteralMatchMarkers
- Specified by:
getLiteralMatchMarkersin interfaceConfiguration
-
setLiteralMatchMarkers
- Specified by:
setLiteralMatchMarkersin interfaceConfiguration
-
setLargeMessageSync
- Specified by:
setLargeMessageSyncin interfaceConfiguration
-
isLargeMessageSync
public boolean isLargeMessageSync()- Specified by:
isLargeMessageSyncin interfaceConfiguration
-
getViewPermissionMethodMatchPattern
- Specified by:
getViewPermissionMethodMatchPatternin interfaceConfiguration
-
setViewPermissionMethodMatchPattern
- Specified by:
setViewPermissionMethodMatchPatternin interfaceConfiguration
-
isManagementMessageRbac
public boolean isManagementMessageRbac()- Specified by:
isManagementMessageRbacin interfaceConfiguration
-
setManagementMessageRbac
public void setManagementMessageRbac(boolean val) - Specified by:
setManagementMessageRbacin interfaceConfiguration
-
getManagementRbacPrefix
- Specified by:
getManagementRbacPrefixin interfaceConfiguration
-
setManagementRbacPrefix
- Specified by:
setManagementRbacPrefixin interfaceConfiguration
-
getMirrorAckManagerQueueAttempts
public int getMirrorAckManagerQueueAttempts()Description copied from interface:ConfigurationThis configures the Mirror Ack Manager number of attempts on queues before trying page acks. The default value here is 5.- Specified by:
getMirrorAckManagerQueueAttemptsin interfaceConfiguration
-
isMirrorAckManagerWarnUnacked
public boolean isMirrorAckManagerWarnUnacked()- Specified by:
isMirrorAckManagerWarnUnackedin interfaceConfiguration
-
setMirrorAckManagerWarnUnacked
Description copied from interface:Configurationshould log.warn when ack retries failed.- Specified by:
setMirrorAckManagerWarnUnackedin interfaceConfiguration
-
setMirrorAckManagerQueueAttempts
- Specified by:
setMirrorAckManagerQueueAttemptsin interfaceConfiguration
-
getMirrorAckManagerPageAttempts
public int getMirrorAckManagerPageAttempts()Description copied from interface:ConfigurationThis configures the Mirror Ack Manager number of attempts on page acks. The default value here is 2.- Specified by:
getMirrorAckManagerPageAttemptsin interfaceConfiguration
-
setMirrorAckManagerPageAttempts
- Specified by:
setMirrorAckManagerPageAttemptsin interfaceConfiguration
-
getMirrorAckManagerRetryDelay
public int getMirrorAckManagerRetryDelay()Description copied from interface:ConfigurationThis 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.- Specified by:
getMirrorAckManagerRetryDelayin interfaceConfiguration
-
setMirrorAckManagerRetryDelay
- Specified by:
setMirrorAckManagerRetryDelayin interfaceConfiguration
-
isMirrorPageTransaction
public boolean isMirrorPageTransaction()Description copied from interface:ConfigurationShould 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.- Specified by:
isMirrorPageTransactionin interfaceConfiguration
-
setMirrorPageTransaction
- Specified by:
setMirrorPageTransactionin interfaceConfiguration
-