tivemq.activemq-core.5.2.0.source-code.activemq.xsd.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of activemq-core Show documentation
Show all versions of activemq-core Show documentation
The ActiveMQ Message Broker and Client implementations
Schema for namespace: http://activemq.apache.org/schema/core
Root Element
Element Description Class
broker An ActiveMQ Message Broker. It consists of a number of transport
connectors, network connectors and a bunch of properties which can be used to
configure the broker as its lazily created. org.apache.activemq.xbean.XBeanBrokerService
Element Summary
Element Description Class
amqPersistenceAdapter An implementation of {@link PersistenceAdapter} designed for use with a
{@link Journal} and then check pointing asynchronously on a timeout with some
other long term persistent storage. org.apache.activemq.store.amq.AMQPersistenceAdapter
amqPersistenceAdapterFactory An implementation of {@link PersistenceAdapterFactory} org.apache.activemq.store.amq.AMQPersistenceAdapterFactory
authenticationUser A helper object used to configure simple authentiaction plugin org.apache.activemq.security.AuthenticationUser
authorizationEntry Represents an entry in a {@link DefaultAuthorizationMap} for assigning
different operations (read, write, admin) of user roles to a specific
destination or a hierarchical wildcard area of destinations. org.apache.activemq.security.AuthorizationEntry
authorizationMap Represents a destination based configuration of policies so that individual
destinations or wildcard hierarchies of destinations can be configured using
different policies. Each entry in the map represents the authorization ACLs
for each operation. org.apache.activemq.security.DefaultAuthorizationMap
authorizationPlugin An authorization plugin where each operation on a destination is checked
against an authorizationMap org.apache.activemq.security.AuthorizationPlugin
axionJDBCAdapter Axion specific Adapter.
Axion does not seem to support ALTER statements or sub-selects. This means:
- We cannot auto upgrade the schema was we roll out new versions of ActiveMQ
- We cannot delete durable sub messages that have be acknowledged by all consumers. org.apache.activemq.store.jdbc.adapter.AxionJDBCAdapter
blobJDBCAdapter This JDBCAdapter inserts and extracts BLOB data using the getBlob()/setBlob()
operations. This is a little more involved since to insert a blob you have
to:
1: insert empty blob. 2: select the blob 3: finally update the blob with data
value.
The databases/JDBC drivers that use this adapter are:
org.apache.activemq.store.jdbc.adapter.BlobJDBCAdapter
broker An ActiveMQ Message Broker. It consists of a number of transport
connectors, network connectors and a bunch of properties which can be used to
configure the broker as its lazily created. org.apache.activemq.xbean.XBeanBrokerService
bytesJDBCAdapter This JDBCAdapter inserts and extracts BLOB data using the
setBytes()/getBytes() operations. The databases/JDBC drivers that use this
adapter are: org.apache.activemq.store.jdbc.adapter.BytesJDBCAdapter
commandAgent An agent which listens to commands on a JMS destination org.apache.activemq.broker.util.CommandAgent
compositeDemandForwardingBridge A demand forwarding bridge which works with multicast style transports where
a single Transport could be communicating with multiple remote brokers org.apache.activemq.network.CompositeDemandForwardingBridge
compositeQueue Represents a virtual queue which forwards to a number of other destinations. org.apache.activemq.broker.region.virtual.CompositeQueue
compositeTopic Represents a virtual topic which forwards to a number of other destinations. org.apache.activemq.broker.region.virtual.CompositeTopic
connectionDotFilePlugin A DOT file creator plugin which
creates a DOT file showing the current connections org.apache.activemq.broker.view.ConnectionDotFilePlugin
connectionFactory A Spring enhanced connection
factory which will automatically use the Spring bean name as the clientIDPrefix property
so that connections created have client IDs related to your Spring.xml file for
easier comprehension from JMX. org.apache.activemq.spring.ActiveMQConnectionFactory
constantPendingMessageLimitStrategy This PendingMessageLimitStrategy is configured to a constant value for all subscriptions. org.apache.activemq.broker.region.policy.ConstantPendingMessageLimitStrategy
db2JDBCAdapter org.apache.activemq.store.jdbc.adapter.DB2JDBCAdapter
defaultJDBCAdapter Implements all the default JDBC operations that are used by the
JDBCPersistenceAdapter. sub-classing is encouraged to override the
default implementation of methods to account for differences in JDBC Driver
implementations. The JDBCAdapter inserts and extracts BLOB data using
the getBytes()/setBytes() operations. The databases/JDBC drivers that
use this adapter are:
org.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter
defaultUsageCapacity Identify if a limit has been reached org.apache.activemq.usage.DefaultUsageCapacity
demandForwardingBridge Forwards messages from the local broker to the remote broker based on demand. org.apache.activemq.network.DemandForwardingBridge
destinationDotFilePlugin A DOT
file creator plugin which creates a DOT file showing the current topic & queue hierarchies. org.apache.activemq.broker.view.DestinationDotFilePlugin
destinationEntry A default entry in a DestinationMap which holds a single value. org.apache.activemq.filter.DefaultDestinationMapEntry
fileCursor Pending messages org.apache.activemq.broker.region.policy.FilePendingSubscriberMessageStoragePolicy
fileDurableSubscriberCursor Pending messages for durable subscribers org.apache.activemq.broker.region.policy.FilePendingDurableSubscriberMessageStoragePolicy
fileQueueCursor Pending org.apache.activemq.broker.region.policy.FilePendingQueueMessageStoragePolicy
filteredDestination Represents a destination which is filtered using some predicate such as a selector
so that messages are only dispatched to the destination if they match the filter. org.apache.activemq.broker.region.virtual.FilteredDestination
fixedCountSubscriptionRecoveryPolicy This implementation of {@link SubscriptionRecoveryPolicy} will keep a fixed
count of last messages. org.apache.activemq.broker.region.policy.FixedCountSubscriptionRecoveryPolicy
fixedSizedSubscriptionRecoveryPolicy This implementation of {@link SubscriptionRecoveryPolicy} will keep a fixed
amount of memory available in RAM for message history which is evicted in
time order. org.apache.activemq.broker.region.policy.FixedSizedSubscriptionRecoveryPolicy
forwardingBridge Forwards all messages from the local broker to the remote broker. org.apache.activemq.network.ForwardingBridge
imageBasedJDBCAdaptor Provides JDBCAdapter since that uses
IMAGE datatype to hold binary data.
The databases/JDBC drivers that use this adapter are:
- Sybase
- MS SQL
org.apache.activemq.store.jdbc.adapter.ImageBasedJDBCAdaptor
inboundQueueBridge Create an Inbound Queue Bridge org.apache.activemq.network.jms.InboundQueueBridge
inboundTopicBridge Create an Inbound Topic Bridge org.apache.activemq.network.jms.InboundTopicBridge
individualDeadLetterStrategy A {@link DeadLetterStrategy} where each destination has its own individual
DLQ using the subject naming hierarchy. org.apache.activemq.broker.region.policy.IndividualDeadLetterStrategy
informixJDBCAdapter JDBC Adapter for Informix database.
Because Informix database restricts length of composite primary keys, length of
container name field and subscription id field must be reduced to 150 characters.
Therefore be sure not to use longer names for container name and subscription id than 150 characters. org.apache.activemq.store.jdbc.adapter.InformixJDBCAdapter
jaasAuthenticationPlugin Provides a JAAS based authentication plugin org.apache.activemq.security.JaasAuthenticationPlugin
jaasCertificateAuthenticationPlugin Provides a JAAS based SSL certificate authentication plugin org.apache.activemq.security.JaasCertificateAuthenticationPlugin
jdbcPersistenceAdapter A {@link PersistenceAdapter} implementation using JDBC for persistence
storage.
This persistence adapter will correctly remember prepared XA transactions,
but it will not keep track of local transaction commits so that operations
performed against the Message store are done as a single uow. org.apache.activemq.store.jdbc.JDBCPersistenceAdapter
jmsQueueConnector A Bridge to other JMS Queue providers org.apache.activemq.network.jms.JmsQueueConnector
jmsTopicConnector A Bridge to other JMS Topic providers org.apache.activemq.network.jms.JmsTopicConnector
journalPersistenceAdapter An implementation of {@link PersistenceAdapter} designed for use with a
{@link Journal} and then check pointing asynchronously on a timeout with some
other long term persistent storage. org.apache.activemq.store.journal.JournalPersistenceAdapter
journaledJDBC Creates a default persistence model using the Journal and JDBC org.apache.activemq.store.PersistenceAdapterFactoryBean
kahaPersistenceAdapter org.apache.activemq.store.kahadaptor.KahaPersistenceAdapter
lDAPAuthorizationMap An {@link AuthorizationMap} which uses LDAP org.apache.activemq.security.LDAPAuthorizationMap
lastImageSubscriptionRecoveryPolicy This implementation of {@link SubscriptionRecoveryPolicy} will only keep the
last message. org.apache.activemq.broker.region.policy.LastImageSubscriptionRecoveryPolicy
ldapNetworkConnector class to create dynamic network connectors listed in an directory
server using the LDAP v3 protocol as defined in RFC 2251, the
entries listed in the directory server must implement the ipHost
and ipService objectClasses as defined in RFC 2307. org.apache.activemq.network.LdapNetworkConnector
loggingBrokerPlugin A simple Broker interceptor which allows you to enable/disable logging. org.apache.activemq.broker.util.LoggingBrokerPlugin
managementContext A Flow provides different dispatch policies within the NMR org.apache.activemq.broker.jmx.ManagementContext
masterConnector Connects a Slave Broker to a Master when using Master Slave for High
Availability of messages. org.apache.activemq.broker.ft.MasterConnector
memoryPersistenceAdapter org.apache.activemq.store.memory.MemoryPersistenceAdapter
memoryUsage Used to keep track of how much of something is being used so that a
productive working set usage can be controlled. Main use case is manage
memory usage. org.apache.activemq.usage.MemoryUsage
messageGroupHashBucketFactory A factory to create instances of {@link SimpleMessageGroupMap} when
implementing the Message
Groups functionality. org.apache.activemq.broker.region.group.MessageGroupHashBucketFactory
mirroredQueue Creates Mirrored
Queue using a prefix and postfix to define the topic name on which to mirror the queue to. org.apache.activemq.broker.region.virtual.MirroredQueue
multicastNetworkConnector A network connector which uses some kind of multicast-like transport that
communicates with potentially many remote brokers over a single logical
{@link Transport} instance such as when using multicast.
This implementation does not depend on multicast at all; any other group
based transport could be used. org.apache.activemq.network.MulticastNetworkConnector
multicastTraceBrokerPlugin A Broker interceptor which allows you to trace all operations to a Multicast
socket. org.apache.activemq.broker.util.MulticastTraceBrokerPlugin
networkConnector A network connector which uses a discovery agent to detect the remote brokers
available and setup a connection to each available remote broker org.apache.activemq.network.DiscoveryNetworkConnector
noSubscriptionRecoveryPolicy This SubscriptionRecoveryPolicy disable recovery of messages. org.apache.activemq.broker.region.policy.NoSubscriptionRecoveryPolicy
oldestMessageEvictionStrategy An eviction strategy which evicts the oldest message first (which is the
default). org.apache.activemq.broker.region.policy.OldestMessageEvictionStrategy
oldestMessageWithLowestPriorityEvictionStrategy An eviction strategy which evicts the oldest message with the lowest priority first. org.apache.activemq.broker.region.policy.OldestMessageWithLowestPriorityEvictionStrategy
oracleJDBCAdapter Implements all the default JDBC operations that are used
by the JDBCPersistenceAdapter.
Subclassing is encouraged to override the default
implementation of methods to account for differences
in JDBC Driver implementations.
The JDBCAdapter inserts and extracts BLOB data using the
getBytes()/setBytes() operations.
The databases/JDBC drivers that use this adapter are:
org.apache.activemq.store.jdbc.adapter.OracleJDBCAdapter
outboundQueueBridge Create an Outbound Queue Bridge org.apache.activemq.network.jms.OutboundQueueBridge
outboundTopicBridge Create an Outbound Topic Bridge org.apache.activemq.network.jms.OutboundTopicBridge
policyEntry Represents an entry in a {@link PolicyMap} for assigning policies to a
specific destination or a hierarchical wildcard area of destinations. org.apache.activemq.broker.region.policy.PolicyEntry
policyMap Represents a destination based configuration of policies so that individual
destinations or wildcard hierarchies of destinations can be configured using
different policies. org.apache.activemq.broker.region.policy.PolicyMap
prefetchPolicy Defines the prefetch message policies for different types of consumers org.apache.activemq.ActiveMQPrefetchPolicy
prefetchRatePendingMessageLimitStrategy This PendingMessageLimitStrategy sets the maximum pending message limit value to be
a multiplier of the prefetch limit of the subscription. org.apache.activemq.broker.region.policy.PrefetchRatePendingMessageLimitStrategy
proxyConnector org.apache.activemq.proxy.ProxyConnector
queryBasedSubscriptionRecoveryPolicy This implementation of {@link SubscriptionRecoveryPolicy} will perform a user
specific query mechanism to load any messages they may have missed. org.apache.activemq.broker.region.policy.QueryBasedSubscriptionRecoveryPolicy
queue An ActiveMQ Queue org.apache.activemq.command.ActiveMQQueue
queueDispatchSelector Queue dispatch policy that determines if a message can be sent to a subscription org.apache.activemq.broker.region.QueueDispatchSelector
redeliveryPolicy Configuration options used to control how messages are re-delivered when they
are rolled back. org.apache.activemq.RedeliveryPolicy
roundRobinDispatchPolicy Simple dispatch policy that sends a message to every subscription that
matches the message. org.apache.activemq.broker.region.policy.RoundRobinDispatchPolicy
sharedDeadLetterStrategy A default implementation of {@link DeadLetterStrategy} which uses
a constant destination. org.apache.activemq.broker.region.policy.SharedDeadLetterStrategy
simpleAuthenticationPlugin Provides a simple authentication plugin org.apache.activemq.security.SimpleAuthenticationPlugin
simpleAuthorizationMap An AuthorizationMap which is configured with individual DestinationMaps for
each operation. org.apache.activemq.security.SimpleAuthorizationMap
simpleDispatchPolicy Simple dispatch policy that sends a message to every subscription that
matches the message. org.apache.activemq.broker.region.policy.SimpleDispatchPolicy
simpleDispatchSelector Simple dispatch policy that determines if a message can be sent to a subscription org.apache.activemq.broker.region.policy.SimpleDispatchSelector
simpleJmsMessageConvertor Converts Message from one JMS to another org.apache.activemq.network.jms.SimpleJmsMessageConvertor
simpleMessageGroupMapFactory A factory to create instances of {@link SimpleMessageGroupMap} when implementing the
Message Groups functionality. org.apache.activemq.broker.region.group.SimpleMessageGroupMapFactory
sslContext Extends the SslContext so that it's easier to configure from spring. org.apache.activemq.spring.SpringSslContext
statements org.apache.activemq.store.jdbc.Statements
storeCursor Pending messages org.apache.activemq.broker.region.policy.StorePendingQueueMessageStoragePolicy
storeDurableSubscriberCursor Pending messages for a durable org.apache.activemq.broker.region.policy.StorePendingDurableSubscriberMessageStoragePolicy
storeUsage Used to keep track of how much of something is being used so that a
productive working set usage can be controlled. Main use case is manage
memory usage. org.apache.activemq.usage.StoreUsage
streamJDBCAdapter This JDBCAdapter inserts and extracts BLOB data using the
setBinaryStream()/getBinaryStream() operations.
The databases/JDBC drivers that use this adapter are:
- Axion
org.apache.activemq.store.jdbc.adapter.StreamJDBCAdapter
strictOrderDispatchPolicy Dispatch policy that causes every subscription to see messages in the same
order. org.apache.activemq.broker.region.policy.StrictOrderDispatchPolicy
systemUsage Holder for Usage instances for memory, store and temp files Main use case is
manage memory usage. org.apache.activemq.usage.SystemUsage
tempDestinationAuthorizationEntry Represents an entry in a {@link DefaultAuthorizationMap} for assigning
different operations (read, write, admin) of user roles to a temporary
destination org.apache.activemq.security.TempDestinationAuthorizationEntry
tempUsage Used to keep track of how much of something is being used so that a
productive working set usage can be controlled. Main use case is manage
memory usage. org.apache.activemq.usage.TempUsage
timeStampingBrokerPlugin A Broker interceptor which updates a JMS Client's timestamp on the message
with a broker timestamp. Useful when the clocks on client machines are known
to not be correct and you can only trust the time set on the broker machines.
Enabling this plugin will break JMS compliance since the timestamp that the
producer sees on the messages after as send() will be different from the
timestamp the consumer will observe when he receives the message. This plugin
is not enabled in the default ActiveMQ configuration. org.apache.activemq.broker.util.TimeStampingBrokerPlugin
timedSubscriptionRecoveryPolicy This implementation of {@link SubscriptionRecoveryPolicy} will keep a timed
buffer of messages around in memory and use that to recover new
subscriptions. org.apache.activemq.broker.region.policy.TimedSubscriptionRecoveryPolicy
topic An ActiveMQ Topic org.apache.activemq.command.ActiveMQTopic
transportConnector org.apache.activemq.broker.TransportConnector
udpTraceBrokerPlugin A Broker interceptor which allows you to trace all operations to a UDP
socket. org.apache.activemq.broker.util.UDPTraceBrokerPlugin
usageCapacity Identify if a limit has been reached org.apache.activemq.usage.UsageCapacity
virtualDestinationInterceptor Implements Virtual Topics. org.apache.activemq.broker.region.virtual.VirtualDestinationInterceptor
virtualTopic Creates Virtual
Topics using a prefix and postfix. The virtual destination creates a
wildcard that is then used to look up all active queue subscriptions which
match. org.apache.activemq.broker.region.virtual.VirtualTopic
vmCursor Pending messages held org.apache.activemq.broker.region.policy.VMPendingSubscriberMessageStoragePolicy
vmDurableCursor Pending org.apache.activemq.broker.region.policy.VMPendingDurableSubscriberMessageStoragePolicy
vmQueueCursor Pending messages org.apache.activemq.broker.region.policy.VMPendingQueueMessageStoragePolicy
xaConnectionFactory A Spring enhanced XA connection
factory which will automatically use the Spring bean name as the clientIDPrefix property
so that connections created have client IDs related to your Spring.xml file for
easier comprehension from JMX. org.apache.activemq.spring.ActiveMQXAConnectionFactory
Element Detail
Element: amqPersistenceAdapter
Attribute Type Description
archiveDataLogs xs:boolean
brokerName xs:string
checkpointInterval xs:long
cleanupInterval xs:long
directory xs:string
directoryArchive xs:string
disableLocking xs:boolean
indexBinSize xs:integer
indexKeySize xs:integer
indexPageSize xs:integer When set using XBean, you can use values such as: "20
mb", "1024 kb", or "1 gb"
maxCheckpointMessageAddSize xs:integer When set using XBean, you can use values such as: "20
mb", "1024 kb", or "1 gb"
maxFileLength xs:integer When set using XBean, you can use values such as: "20
mb", "1024 kb", or "1 gb"
maxReferenceFileLength xs:integer When set using XBean, you can use values such as: "20
mb", "1024 kb", or "1 gb"
persistentIndex xs:boolean
syncOnWrite xs:boolean
useNio xs:boolean
Element Type Description
asyncDataManager <spring:bean/>
brokerService broker
referenceStoreAdapter <spring:bean/>
taskRunnerFactory <spring:bean/>
usageManager systemUsage
wireFormat <spring:bean/>
Element: amqPersistenceAdapterFactory
Attribute Type Description
brokerName xs:string
dataDirectory xs:string
journalThreadPriority xs:integer
maxFileLength xs:integer
persistentIndex xs:boolean
syncOnWrite xs:boolean
useNio xs:boolean
Element Type Description
referenceStoreAdapter <spring:bean/>
taskRunnerFactory <spring:bean/>
Element: authenticationUser
Attribute Type Description
groups xs:string
password xs:string
username xs:string
Element: authorizationEntry
Attribute Type Description
admin xs:string
groupClass xs:string
queue xs:string A helper method to set the destination from a configuration file
read xs:string
topic xs:string A helper method to set the destination from a configuration file
write xs:string
Element Type Description
adminACLs (<spring:bean/>)*
destination queue | topic
readACLs (<spring:bean/>)*
writeACLs (<spring:bean/>)*
Element: authorizationMap
Element Type Description
authorizationEntries (<spring:bean/>)* Sets the individual entries on the authorization map
defaultEntry authorizationEntry | tempDestinationAuthorizationEntry
entries (<spring:bean/>)* A helper method to allow the destination map to be populated from a
dependency injection framework such as Spring
tempDestinationAuthorizationEntry tempDestinationAuthorizationEntry
Element: authorizationPlugin
Element Type Description
map authorizationMap | lDAPAuthorizationMap | simpleAuthorizationMap
Element: axionJDBCAdapter
Attribute Type Description
batchStatments xs:boolean
useExternalMessageReferences xs:boolean
Element Type Description
statements statements
Element: blobJDBCAdapter
Attribute Type Description
batchStatments xs:boolean
useExternalMessageReferences xs:boolean
Element Type Description
statements statements
Element: broker
Attribute Type Description
advisorySupport xs:boolean Allows the support of advisory messages to be disabled for performance
reasons.
brokerName xs:string Sets the name of this broker; which must be unique in the network
brokerObjectName xs:string Sets the JMX ObjectName for this broker
cacheTempDestinations xs:boolean
consumerSystemUsagePortion xs:integer
dataDirectory xs:string Sets the directory in which the data files will be stored by default for
the JDBC and Journal persistence adaptors.
dataDirectoryFile xs:string Sets the directory in which the data files will be stored by default for
the JDBC and Journal persistence adaptors.
dedicatedTaskRunner xs:boolean
deleteAllMessagesOnStartup xs:boolean Sets whether or not all messages are deleted on startup - mostly only
useful for testing.
destroyApplicationContextOnShutdown xs:boolean Sets whether the broker should shutdown the ApplicationContext when the broker is stopped.
The broker can be stopped because the underlying JDBC store is unavailable for example.
enableStatistics xs:boolean Sets whether or not the Broker's services enable statistics or not.
keepDurableSubsActive xs:boolean
masterConnectorURI xs:string
monitorConnectionSplits xs:boolean
persistenceThreadPriority xs:integer
persistent xs:boolean Sets whether or not persistence is enabled or disabled.
populateJMSXUserID xs:boolean Sets whether or not the broker should populate the JMSXUserID header.
producerSystemUsagePortion xs:integer
shutdownOnMasterFailure xs:boolean
splitSystemUsageForProducersConsumers xs:boolean
start xs:boolean Sets whether or not the broker is started along with the ApplicationContext it is defined within.
Normally you would want the broker to start up along with the ApplicationContext but sometimes when working
with JUnit tests you may wish to start and stop the broker explicitly yourself.
supportFailOver xs:boolean
systemExitOnShutdown xs:boolean
taskRunnerPriority xs:integer
timeBeforePurgeTempDestinations xs:integer
tmpDataDirectory xs:string
useJmx xs:boolean Sets whether or not the Broker's services should be exposed into JMX or
not.
useLocalHostBrokerName xs:boolean
useLoggingForShutdownErrors xs:boolean Sets whether or not we should use commons-logging when reporting errors
when shutting down the broker
useMirroredQueues xs:boolean Sets whether or not Mirrored
Queues should be supported by default if they have not been
explicitly configured.
useShutdownHook xs:boolean Sets whether or not we should use a shutdown handler to close down the
broker cleanly if the JVM is terminated. It is recommended you leave this
enabled.
useTempMirroredQueues xs:boolean
useVirtualTopics xs:boolean Sets whether or not Virtual
Topics should be supported by default if they have not been
explicitly configured.
vmConnectorURI xs:string
Element Type Description
adminView <spring:bean/> Returns the administration view of the broker; used to create and destroy
resources such as queues and topics. Note this method returns null if JMX
is disabled.
applicationContext <spring:bean/>
consumerSystemUsage systemUsage
destinationFactory <spring:bean/>
destinationInterceptors (mirroredQueue | virtualDestinationInterceptor)* Sets the destination interceptors to use
destinationPolicy policyMap Sets the destination specific policies available either for exact
destinations or for wildcard areas of destinations.
destinations (queue | topic)* Sets the destinations which should be loaded/created on startup
jmsBridgeConnectors (jmsQueueConnector | jmsTopicConnector)*
managementContext managementContext
messageAuthorizationPolicy <spring:bean/> Sets the policy used to decide if the current connection is authorized to
consume a given message
networkConnectorURIs (<spring:bean/>)*
networkConnectors (ldapNetworkConnector | multicastNetworkConnector | networkConnector)* Sets the network connectors which this broker will use to connect to
other brokers in a federated network
persistenceAdapter amqPersistenceAdapter | jdbcPersistenceAdapter | journalPersistenceAdapter | kahaPersistenceAdapter | memoryPersistenceAdapter Sets the persistence adaptor implementation to use for this broker
persistenceFactory amqPersistenceAdapterFactory | journaledJDBC
persistenceTaskRunnerFactory <spring:bean/>
plugins (authorizationPlugin | connectionDotFilePlugin | destinationDotFilePlugin | jaasAuthenticationPlugin | jaasCertificateAuthenticationPlugin | loggingBrokerPlugin | multicastTraceBrokerPlugin | simpleAuthenticationPlugin | timeStampingBrokerPlugin | udpTraceBrokerPlugin)* Sets a number of broker plugins to install such as for security
authentication or authorization
producerSystemUsage systemUsage
proxyConnectors (<spring:bean/>)* Sets the network connectors which this broker will use to connect to
other brokers in a federated network
regionBroker loggingBrokerPlugin | multicastTraceBrokerPlugin | timeStampingBrokerPlugin | udpTraceBrokerPlugin
services (broker | commandAgent | forwardingBridge | inboundQueueBridge | inboundTopicBridge | jmsQueueConnector | jmsTopicConnector | ldapNetworkConnector | managementContext | masterConnector | memoryUsage | multicastNetworkConnector | networkConnector | outboundQueueBridge | outboundTopicBridge | proxyConnector | storeUsage | systemUsage | tempUsage)* Sets the services associated with this broker such as a
{@link MasterConnector}
sslContext sslContext
systemUsage systemUsage
taskRunnerFactory <spring:bean/>
tempDataStore <spring:bean/>
transportConnectorURIs (<spring:bean/>)*
transportConnectors (transportConnector)* Sets the transport connectors which this broker will listen on for new
clients
Element: bytesJDBCAdapter
Attribute Type Description
batchStatments xs:boolean
useExternalMessageReferences xs:boolean
Element Type Description
statements statements
Element: commandAgent
Attribute Type Description
brokerUrl xs:string
Element Type Description
commandDestination queue | topic
connection <spring:bean/>
connectionFactory connectionFactory | xaConnectionFactory
Element: compositeDemandForwardingBridge
Attribute Type Description
createdByDuplex xs:boolean
Element Type Description
configuration ldapNetworkConnector | multicastNetworkConnector | networkConnector
durableDestinations (queue | topic)*
dynamicallyIncludedDestinations (queue | topic)*
excludedDestinations (queue | topic)*
localBroker <spring:bean/>
networkBridgeListener <spring:bean/>
remoteBroker <spring:bean/>
staticallyIncludedDestinations (queue | topic)*
Element: compositeQueue
Attribute Type Description
copyMessage xs:boolean Sets whether a copy of the message will be sent to each destination.
Defaults to true so that the forward destination is set as the
destination of the message
forwardOnly xs:boolean Sets if the virtual destination is forward only (and so there is no
physical queue to match the virtual queue) or if there is also a physical
queue with the same name).
name xs:string Sets the name of this composite destination
Element Type Description
forwardTo (<spring:bean/>)* Sets the list of destinations to forward to
Element: compositeTopic
Attribute Type Description
copyMessage xs:boolean Sets whether a copy of the message will be sent to each destination.
Defaults to true so that the forward destination is set as the
destination of the message
forwardOnly xs:boolean Sets if the virtual destination is forward only (and so there is no
physical queue to match the virtual queue) or if there is also a physical
queue with the same name).
name xs:string Sets the name of this composite destination
Element Type Description
forwardTo (<spring:bean/>)* Sets the list of destinations to forward to
Element: connectionDotFilePlugin
Attribute Type Description
file xs:string Sets the destination file name to create the destination diagram
Element: connectionFactory
Attribute Type Description
alwaysSessionAsync xs:boolean If this flag is set then a separate thread is not used for dispatching
messages for each Session in the Connection. However, a separate thread
is always used if there is more than one session, or the session isn't in
auto acknowledge or duplicates ok mode
alwaysSyncSend xs:boolean Set true if always require messages to be sync sent
beanName xs:string
brokerURL xs:string Sets the connection
URL used to connect to the ActiveMQ broker.
clientID xs:string Sets the JMS clientID to use for the created connection. Note that this
can only be used by one connection at once so generally its a better idea
to set the clientID on a Connection
clientIDPrefix xs:string Sets the prefix used by autogenerated JMS Client ID values which are used
if the JMS client does not explicitly specify on.
closeTimeout xs:integer Sets the timeout before a close is considered complete. Normally a
close() on a connection waits for confirmation from the broker; this
allows that operation to timeout to save the client hanging if there is
no broker
copyMessageOnSend xs:boolean Should a JMS message be copied to a new JMS Message object as part of the
send() method in JMS. This is enabled by default to be compliant with the
JMS specification. You can disable it if you do not mutate JMS messages
after they are sent for a performance boost
disableTimeStampsByDefault xs:boolean Sets whether or not timestamps on messages should be disabled or not. If
you disable them it adds a small performance boost.
dispatchAsync xs:boolean Enables or disables the default setting of whether or not consumers have
their messages dispatched
synchronously or asynchronously by the broker. For non-durable
topics for example we typically dispatch synchronously by default to
minimize context switches which boost performance. However sometimes its
better to go slower to ensure that a single blocked consumer socket does
not block delivery to other consumers.
exclusiveConsumer xs:boolean Enables or disables whether or not queue consumers should be exclusive or
not for example to preserve ordering when not using Message Groups
nestedMapAndListEnabled xs:boolean Enables/disables whether or not Message properties and MapMessage entries
support Nested
Structures of Map and List objects
objectMessageSerializationDefered xs:boolean When an object is set on an ObjectMessage, the JMS spec requires the
object to be serialized by that set method. Enabling this flag causes the
object to not get serialized. The object may subsequently get serialized
if the message needs to be sent over a socket or stored to disk.
optimizeAcknowledge xs:boolean
optimizedMessageDispatch xs:boolean If this flag is set then an larger prefetch limit is used - only
applicable for durable topic subscribers.
password xs:string Sets the JMS password used for connections created from this factory
producerWindowSize xs:integer
sendTimeout xs:integer
statsEnabled xs:boolean
useAsyncSend xs:boolean Forces the use of Async Sends which
adds a massive performance boost; but means that the send() method will
return immediately whether the message has been sent or not which could
lead to message loss.
useBeanNameAsClientIdPrefix xs:boolean
useCompression xs:boolean Enables the use of compression of the message bodies
useRetroactiveConsumer xs:boolean Sets whether or not retroactive consumers are enabled. Retroactive
consumers allow non-durable topic subscribers to receive old messages
that were published before the non-durable subscriber started.
userName xs:string Sets the JMS userName used by connections created by this factory
warnAboutUnstartedConnectionTimeout xs:long Enables the timeout from a connection creation to when a warning is
generated if the connection is not properly started via
{@link Connection#start()} and a message is received by a consumer. It is
a very common gotcha to forget to start
the connection so this option makes the default case to create a
warning if the user forgets. To disable the warning just set the value to <
0 (say -1).
watchTopicAdvisories xs:boolean
Element Type Description
blobTransferPolicy <spring:bean/> Sets the policy used to describe how out-of-band BLOBs (Binary Large
OBjects) are transferred from producers to brokers to consumers
clientIdGenerator <spring:bean/>
prefetchPolicy prefetchPolicy Sets the prefetch
policy for consumers created by this connection.
properties <spring:bean/> Get the properties from this instance for storing in JNDI
redeliveryPolicy redeliveryPolicy Sets the global redelivery policy to be used when a message is delivered
but the session is rolled back
transformer <spring:bean/> Sets the transformer used to transform messages before they are sent on
to the JMS bus or when they are received from the bus but before they are
delivered to the JMS client
transportListener <spring:bean/> Allows a listener to be configured on the ConnectionFactory so that when this factory is used
with frameworks which don't expose the Connection such as Spring JmsTemplate, you can still register
a transport listener.
Element: constantPendingMessageLimitStrategy
Attribute Type Description
limit xs:integer
Element: db2JDBCAdapter
Attribute Type Description
batchStatments xs:boolean
useExternalMessageReferences xs:boolean
Element Type Description
statements statements
Element: defaultJDBCAdapter
Attribute Type Description
batchStatments xs:boolean
useExternalMessageReferences xs:boolean
Element Type Description
statements statements
Element: defaultUsageCapacity
Attribute Type Description
limit xs:long
Element: demandForwardingBridge
Attribute Type Description
createdByDuplex xs:boolean
Element Type Description
configuration ldapNetworkConnector | multicastNetworkConnector | networkConnector
durableDestinations (queue | topic)*
dynamicallyIncludedDestinations (queue | topic)*
excludedDestinations (queue | topic)*
localBroker <spring:bean/>
networkBridgeListener <spring:bean/>
remoteBroker <spring:bean/>
staticallyIncludedDestinations (queue | topic)*
Element: destinationDotFilePlugin
Attribute Type Description
file xs:string Sets the destination file name to create the destination diagram
Element: destinationEntry
Attribute Type Description
queue xs:string A helper method to set the destination from a configuration file
topic xs:string A helper method to set the destination from a configuration file
Element Type Description
destination queue | topic
value <spring:bean/>
Element: fileCursor
Element: fileDurableSubscriberCursor
Element: fileQueueCursor
Element: filteredDestination
Attribute Type Description
queue xs:string Sets the destination property to the given queue name
selector xs:string Sets the JMS selector used to filter messages before forwarding them to this destination
topic xs:string Sets the destination property to the given topic name
Element Type Description
destination queue | topic The destination to send messages to if they match the filter
filter <spring:bean/>
Element: fixedCountSubscriptionRecoveryPolicy
Attribute Type Description
maximumSize xs:integer Sets the maximum number of messages that this destination will hold
around in RAM
Element: fixedSizedSubscriptionRecoveryPolicy
Attribute Type Description
maximumSize xs:integer Sets the maximum amount of RAM in bytes that this buffer can hold in RAM
useSharedBuffer xs:boolean
Element Type Description
buffer <spring:bean/>
Element: forwardingBridge
Attribute Type Description
clientId xs:string
destinationFilter xs:string
dispatchAsync xs:boolean
prefetchSize xs:integer
Element Type Description
localBroker <spring:bean/>
networkBridgeFailedListener <spring:bean/>
remoteBroker <spring:bean/>
Element: imageBasedJDBCAdaptor
Attribute Type Description
batchStatments xs:boolean
useExternalMessageReferences xs:boolean
Element Type Description
statements statements
Element: inboundQueueBridge
Attribute Type Description
doHandleReplyTo xs:boolean
inboundQueueName xs:string
localQueueName xs:string
maximumRetries xs:integer Sets the maximum number of retries if a send fails before closing the
bridge
selector xs:string
Element Type Description
consumer <spring:bean/>
consumerConnection <spring:bean/>
consumerQueue queue
jmsConnector jmsQueueConnector | jmsTopicConnector
jmsMessageConvertor simpleJmsMessageConvertor
producerConnection <spring:bean/>
producerQueue queue
Element: inboundTopicBridge
Attribute Type Description
consumerName xs:string
doHandleReplyTo xs:boolean
inboundTopicName xs:string
localTopicName xs:string
maximumRetries xs:integer Sets the maximum number of retries if a send fails before closing the
bridge
selector xs:string
Element Type Description
consumer <spring:bean/>
consumerConnection <spring:bean/>
consumerTopic topic
jmsConnector jmsQueueConnector | jmsTopicConnector
jmsMessageConvertor simpleJmsMessageConvertor
producerConnection <spring:bean/>
producerTopic topic
Element: individualDeadLetterStrategy
Attribute Type Description
processExpired xs:boolean
processNonPersistent xs:boolean
queuePrefix xs:string Sets the prefix to use for all dead letter queues for queue messages
topicPrefix xs:string Sets the prefix to use for all dead letter queues for topic messages
useQueueForQueueMessages xs:boolean Sets whether a queue or topic should be used for queue messages sent to a
DLQ. The default is to use a Queue
useQueueForTopicMessages xs:boolean Sets whether a queue or topic should be used for topic messages sent to a
DLQ. The default is to use a Queue
Element: informixJDBCAdapter
Attribute Type Description
batchStatments xs:boolean
useExternalMessageReferences xs:boolean
Element Type Description
statements statements
Element: jaasAuthenticationPlugin
Attribute Type Description
configuration xs:string Sets the JAAS configuration domain name used
discoverLoginConfig xs:boolean Enables or disables the auto-discovery of the login.config file for JAAS to initialize itself.
This flag is enabled by default such that if the java.security.auth.login.config system property
is not defined then it is set to the location of the login.config file on the classpath.
Element: jaasCertificateAuthenticationPlugin
Attribute Type Description
configuration xs:string Sets the JAAS configuration domain name used
discoverLoginConfig xs:boolean Enables or disables the auto-discovery of the login.config file for JAAS to initialize itself.
This flag is enabled by default such that if the java.security.auth.login.config system property
is not defined then it is set to the location of the login.config file on the classpath.
Element: jdbcPersistenceAdapter
Attribute Type Description
brokerName xs:string
cleanupPeriod xs:integer Sets the number of milliseconds until the database is attempted to be
cleaned up for durable topics
createTablesOnStartup xs:boolean Sets whether or not tables are created on startup
dataDirectory xs:string
dataDirectoryFile xs:string
directory xs:string
lockKeepAlivePeriod xs:long
useDatabaseLock xs:boolean Sets whether or not an exclusive database lock should be used to enable
JDBC Master/Slave. Enabled by default.
useExternalMessageReferences xs:boolean
Element Type Description
adapter axionJDBCAdapter | blobJDBCAdapter | bytesJDBCAdapter | db2JDBCAdapter | defaultJDBCAdapter | imageBasedJDBCAdaptor | informixJDBCAdapter | oracleJDBCAdapter | streamJDBCAdapter
brokerService broker
dataSource <spring:bean/>
databaseLocker <spring:bean/> Sets the database locker strategy to use to lock the database on startup
ds <spring:bean/>
scheduledThreadPoolExecutor <spring:bean/>
statements statements
usageManager systemUsage
wireFormat <spring:bean/>
Element: jmsQueueConnector
Attribute Type Description
jndiLocalTemplate xs:string
jndiOutboundTemplate xs:string
localClientId xs:string
localConnectionFactoryName xs:string
localPassword xs:string
localUsername xs:string
name xs:string
outboundClientId xs:string
outboundPassword xs:string
outboundQueueConnectionFactoryName xs:string
outboundUsername xs:string
replyToDestinationCacheSize xs:integer
Element Type Description
brokerService broker One way to configure the local connection - this is called by The
BrokerService when the Connector is embedded
inboundMessageConvertor simpleJmsMessageConvertor
inboundQueueBridges (inboundQueueBridge)*
localQueueConnection <spring:bean/>
localQueueConnectionFactory connectionFactory | xaConnectionFactory
outboundMessageConvertor simpleJmsMessageConvertor
outboundQueueBridges (outboundQueueBridge)*
outboundQueueConnection <spring:bean/>
outboundQueueConnectionFactory connectionFactory | xaConnectionFactory
Element: jmsTopicConnector
Attribute Type Description
jndiLocalTemplate xs:string
jndiOutboundTemplate xs:string
localClientId xs:string
localConnectionFactoryName xs:string
localPassword xs:string
localUsername xs:string
name xs:string
outboundClientId xs:string
outboundPassword xs:string
outboundTopicConnectionFactoryName xs:string
outboundUsername xs:string
replyToDestinationCacheSize xs:integer
Element Type Description
brokerService broker One way to configure the local connection - this is called by The
BrokerService when the Connector is embedded
inboundMessageConvertor simpleJmsMessageConvertor
inboundTopicBridges (inboundTopicBridge)*
localTopicConnection <spring:bean/>
localTopicConnectionFactory connectionFactory | xaConnectionFactory
outboundMessageConvertor simpleJmsMessageConvertor
outboundTopicBridges (outboundTopicBridge)*
outboundTopicConnection <spring:bean/>
outboundTopicConnectionFactory connectionFactory | xaConnectionFactory
Element: journalPersistenceAdapter
Attribute Type Description
brokerName xs:string
directory xs:string
maxCheckpointMessageAddSize xs:integer
maxCheckpointWorkers xs:integer
useExternalMessageReferences xs:boolean
Element Type Description
journal <spring:bean/>
longTermPersistence amqPersistenceAdapter | jdbcPersistenceAdapter | journalPersistenceAdapter | kahaPersistenceAdapter | memoryPersistenceAdapter
taskRunnerFactory <spring:bean/>
usageManager systemUsage
Element: journaledJDBC
Attribute Type Description
createTablesOnStartup xs:boolean Sets whether or not tables are created on startup
dataDirectory xs:string
dataDirectoryFile xs:string
journalArchiveDirectory xs:string
journalLogFileSize xs:integer Sets the size of the journal log files
journalLogFiles xs:integer Sets the number of journal log files to use
journalThreadPriority xs:integer Sets the thread priority of the journal thread
useDatabaseLock xs:boolean Sets whether or not an exclusive database lock should be used to enable
JDBC Master/Slave. Enabled by default.
useJournal xs:boolean Enables or disables the use of the journal. The default is to use the
journal
useQuickJournal xs:boolean Enables or disables the use of quick journal, which keeps messages in the
journal and just stores a reference to the messages in JDBC. Defaults to
false so that messages actually reside long term in the JDBC database.
Element Type Description
adapter axionJDBCAdapter | blobJDBCAdapter | bytesJDBCAdapter | db2JDBCAdapter | defaultJDBCAdapter | imageBasedJDBCAdaptor | informixJDBCAdapter | oracleJDBCAdapter | streamJDBCAdapter
dataSource <spring:bean/>
jdbcAdapter jdbcPersistenceAdapter
journal <spring:bean/>
statements statements
taskRunnerFactory <spring:bean/>
Element: kahaPersistenceAdapter
Attribute Type Description
brokerName xs:string
directory xs:string
maxDataFileLength xs:long
persistentIndex xs:boolean
Element Type Description
size <spring:bean/>
usageManager systemUsage
Element: lDAPAuthorizationMap
Attribute Type Description
adminAttribute xs:string
adminBase xs:string
authentication xs:string
connectionPassword xs:string
connectionProtocol xs:string
connectionURL xs:string
connectionUsername xs:string
initialContextFactory xs:string
queueSearchSubtreeBool xs:boolean
readAttribute xs:string
readBase xs:string
topicSearchSubtreeBool xs:boolean
writeAttribute xs:string
writeBase xs:string
Element Type Description
context <spring:bean/>
options <spring:bean/>
queueSearchMatchingFormat <spring:bean/>
topicSearchMatchingFormat <spring:bean/>
Element: lastImageSubscriptionRecoveryPolicy
Element: ldapNetworkConnector
Attribute Type Description
anonymousAuthentication xs:boolean sets LDAP anonymous authentication access credentials
base xs:string sets the base LDAP dn used for lookup operations
bridgeTempDestinations xs:boolean
brokerName xs:string
conduitSubscriptions xs:boolean
decreaseNetworkConsumerPriority xs:boolean
destinationFilter xs:string
dispatchAsync xs:boolean
duplex xs:boolean
dynamicOnly xs:boolean
localUri xs:string
name xs:string
networkTTL xs:integer
objectName xs:string
password xs:string sets the LDAP password for access credentials
prefetchSize xs:integer
searchEventListener xs:boolean enables/disable a persistent search to the LDAP server as defined
in draft-ietf-ldapext-psearch-03.txt (2.16.840.1.113730.3.4.3)
searchFilter xs:string sets the LDAP search filter as defined in RFC 2254
searchScope xs:string sets the LDAP search scope
uri xs:string returns the next URI from the configured list
user xs:string sets the LDAP user for access credentials
userName xs:string
Element Type Description
brokerService broker
connectionFilter <spring:bean/>
durableDestinations (<spring:bean/>)*
dynamicallyIncludedDestinations (<spring:bean/>)*
excludedDestinations (<spring:bean/>)*
staticallyIncludedDestinations (<spring:bean/>)*
Element: loggingBrokerPlugin
Element Type Description
ackLog <spring:bean/>
adminConnectionContext <spring:bean/>
log <spring:bean/>
next loggingBrokerPlugin | multicastTraceBrokerPlugin | timeStampingBrokerPlugin | udpTraceBrokerPlugin
sendLog <spring:bean/>
Element: managementContext
Attribute Type Description
connectorPath xs:string
connectorPort xs:integer
createConnector xs:boolean
createMBeanServer xs:boolean
findTigerMbeanServer xs:boolean Enables/disables the searching for the Java 5 platform MBeanServer
jmxDomainName xs:string
rmiServerPort xs:integer
useMBeanServer xs:boolean
Element Type Description
MBeanServer <spring:bean/> Get the MBeanServer
server <spring:bean/>
Element: masterConnector
Attribute Type Description
localURI xs:string
password xs:string
remoteURI xs:string
remoteUri xs:string
userName xs:string
Element Type Description
brokerService broker
Element: memoryPersistenceAdapter
Attribute Type Description
brokerName xs:string
directory xs:string
useExternalMessageReferences xs:boolean
Element Type Description
usageManager systemUsage
Element: memoryUsage
Attribute Type Description
limit xs:long Sets the memory limit in bytes. Setting the limit in bytes will set the
usagePortion to 0 since the UsageManager is not going to be portion based
off the parent. When set using XBean, you can use values such as: "20
mb", "1024 kb", or "1 gb"
name xs:string
percentUsage xs:integer
percentUsageMinDelta xs:integer Sets the minimum number of percentage points the usage has to change
before a UsageListener event is fired by the manager.
pollingTime xs:integer
portion xs:float
usage xs:long
usagePortion xs:float
Element Type Description
limiter defaultUsageCapacity | usageCapacity
parent <spring:bean/>
Element: messageGroupHashBucketFactory
Attribute Type Description
bucketCount xs:integer Sets the number of hash buckets to use for the message group
functionality. This is only applicable to using message groups to
parallelize processing of a queue while preserving order across an
individual JMSXGroupID header value. This value sets the number of hash
buckets that will be used (i.e. the maximum possible concurrency).
Element: mirroredQueue
Attribute Type Description
copyMessage xs:boolean Sets whether a copy of the message will be sent to each destination.
Defaults to true so that the forward destination is set as the
destination of the message
postfix xs:string Sets any postix used to identify the queue consumers
prefix xs:string Sets the prefix wildcard used to identify the queue consumers for a given
topic
Element Type Description
brokerService broker
Element: multicastNetworkConnector
Attribute Type Description
bridgeTempDestinations xs:boolean
brokerName xs:string
conduitSubscriptions xs:boolean
decreaseNetworkConsumerPriority xs:boolean
destinationFilter xs:string
dispatchAsync xs:boolean
duplex xs:boolean
dynamicOnly xs:boolean
localUri xs:string
name xs:string
networkTTL xs:integer
objectName xs:string
password xs:string
prefetchSize xs:integer
remoteURI xs:string Sets the remote transport URI to some group transport like
multicast://address:port
userName xs:string
Element Type Description
bridge compositeDemandForwardingBridge | demandForwardingBridge
brokerService broker
connectionFilter <spring:bean/>
durableDestinations (<spring:bean/>)*
dynamicallyIncludedDestinations (<spring:bean/>)*
excludedDestinations (<spring:bean/>)*
localTransport <spring:bean/>
remoteTransport <spring:bean/> Sets the remote transport implementation
staticallyIncludedDestinations (<spring:bean/>)*
Element: multicastTraceBrokerPlugin
Attribute Type Description
broadcast xs:boolean
destination xs:string
maxTraceDatagramSize xs:integer
timeToLive xs:integer
Element Type Description
address <spring:bean/>
adminConnectionContext <spring:bean/>
next loggingBrokerPlugin | multicastTraceBrokerPlugin | timeStampingBrokerPlugin | udpTraceBrokerPlugin
wireFormat <spring:bean/>
wireFormatFactory <spring:bean/>
Element: networkConnector
Attribute Type Description
bridgeTempDestinations xs:boolean
brokerName xs:string
conduitSubscriptions xs:boolean
decreaseNetworkConsumerPriority xs:boolean
destinationFilter xs:string
discoveryURI xs:string
dispatchAsync xs:boolean
duplex xs:boolean
dynamicOnly xs:boolean
localUri xs:string
name xs:string
networkTTL xs:integer
objectName xs:string
password xs:string
prefetchSize xs:integer
uri xs:string
userName xs:string
Element Type Description
brokerService broker
connectionFilter <spring:bean/>
discoveryAgent <spring:bean/>
durableDestinations (<spring:bean/>)*
dynamicallyIncludedDestinations (<spring:bean/>)*
excludedDestinations (<spring:bean/>)*
staticallyIncludedDestinations (<spring:bean/>)*
Element: noSubscriptionRecoveryPolicy
Element: oldestMessageEvictionStrategy
Attribute Type Description
evictExpiredMessagesHighWatermark xs:integer Sets the high water mark on which we will eagerly evict expired messages from RAM
Element: oldestMessageWithLowestPriorityEvictionStrategy
Attribute Type Description
evictExpiredMessagesHighWatermark xs:integer Sets the high water mark on which we will eagerly evict expired messages from RAM
Element: oracleJDBCAdapter
Attribute Type Description
batchStatments xs:boolean
useExternalMessageReferences xs:boolean
Element Type Description
statements statements
Element: outboundQueueBridge
Attribute Type Description
doHandleReplyTo xs:boolean
localQueueName xs:string
maximumRetries xs:integer Sets the maximum number of retries if a send fails before closing the
bridge
outboundQueueName xs:string
selector xs:string
Element Type Description
consumer <spring:bean/>
consumerConnection <spring:bean/>
consumerQueue queue
jmsConnector jmsQueueConnector | jmsTopicConnector
jmsMessageConvertor simpleJmsMessageConvertor
producerConnection <spring:bean/>
producerQueue queue
Element: outboundTopicBridge
Attribute Type Description
consumerName xs:string
doHandleReplyTo xs:boolean
localTopicName xs:string
maximumRetries xs:integer Sets the maximum number of retries if a send fails before closing the
bridge
outboundTopicName xs:string
selector xs:string
Element Type Description
consumer <spring:bean/>
consumerConnection <spring:bean/>
consumerTopic topic
jmsConnector jmsQueueConnector | jmsTopicConnector
jmsMessageConvertor simpleJmsMessageConvertor
producerConnection <spring:bean/>
producerTopic topic
Element: policyEntry
Attribute Type Description
enableAudit xs:boolean
lazyDispatch xs:boolean
maxAuditDepth xs:integer
maxPageSize xs:integer
maxProducersToAudit xs:integer
maxQueueAuditDepth xs:integer
memoryLimit xs:long
minimumMessageSize xs:long
optimizedDispatch xs:boolean
producerFlowControl xs:boolean
queue xs:string A helper method to set the destination from a configuration file
sendAdvisoryIfNoConsumers xs:boolean Sends an advisory message if a non-persistent message is sent and there
are no active consumers
strictOrderDispatch xs:boolean
topic xs:string A helper method to set the destination from a configuration file
useCache xs:boolean
useConsumerPriority xs:boolean
Element Type Description
deadLetterStrategy individualDeadLetterStrategy | sharedDeadLetterStrategy Sets the policy used to determine which dead letter queue destination
should be used
destination queue | topic
dispatchPolicy roundRobinDispatchPolicy | simpleDispatchPolicy | strictOrderDispatchPolicy
messageEvictionStrategy oldestMessageEvictionStrategy | oldestMessageWithLowestPriorityEvictionStrategy Sets the eviction strategy used to decide which message to evict when the
slow consumer needs to discard messages
messageGroupMapFactory messageGroupHashBucketFactory | simpleMessageGroupMapFactory Sets the factory used to create new instances of {MessageGroupMap} used
to implement the Message Groups
functionality.
pendingDurableSubscriberPolicy fileDurableSubscriberCursor | storeDurableSubscriberCursor | vmDurableCursor
pendingMessageLimitStrategy constantPendingMessageLimitStrategy | prefetchRatePendingMessageLimitStrategy Sets the strategy to calculate the maximum number of messages that are
allowed to be pending on consumers (in addition to their prefetch sizes).
Once the limit is reached, non-durable topics can then start discarding
old messages. This allows us to keep dispatching messages to slow
consumers while not blocking fast consumers and discarding the messages
oldest first.
pendingQueuePolicy fileQueueCursor | storeCursor | vmQueueCursor
pendingSubscriberPolicy fileCursor | vmCursor
subscriptionRecoveryPolicy fixedCountSubscriptionRecoveryPolicy | fixedSizedSubscriptionRecoveryPolicy | lastImageSubscriptionRecoveryPolicy | noSubscriptionRecoveryPolicy | queryBasedSubscriptionRecoveryPolicy | timedSubscriptionRecoveryPolicy
Element: policyMap
Element Type Description
defaultEntry policyEntry
entries (<spring:bean/>)* A helper method to allow the destination map to be populated from a
dependency injection framework such as Spring
policyEntries (<spring:bean/>)* Sets the individual entries on the policy map
Element: prefetchPolicy
Attribute Type Description
all xs:integer
durableTopicPrefetch xs:integer
inputStreamPrefetch xs:integer
maximumPendingMessageLimit xs:integer Sets how many messages a broker will keep around, above the prefetch
limit, for non-durable topics before starting to discard older messages.
optimizeDurableTopicPrefetch xs:integer
queueBrowserPrefetch xs:integer
queuePrefetch xs:integer
topicPrefetch xs:integer
Element: prefetchRatePendingMessageLimitStrategy
Attribute Type Description
multiplier xs:double Sets the multiplier of the prefetch size which will be used to define the maximum number of pending
messages for non-durable topics before messages are discarded.
Element: proxyConnector
Attribute Type Description
bind xs:string
localUri xs:string
name xs:string
remote xs:string
Element Type Description
server <spring:bean/>
Element: queryBasedSubscriptionRecoveryPolicy
Element Type Description
query <spring:bean/> Sets the query strategy to load initial messages
Element: queue
Attribute Type Description
name xs:string
physicalName xs:string
Element Type Description
compositeDestinations (queue | topic)*
properties <spring:bean/> Get the properties from this instance for storing in JNDI
Element: queueDispatchSelector
Element Type Description
destination queue | topic
exclusiveConsumer <spring:bean/>
Element: redeliveryPolicy
Attribute Type Description
backOffMultiplier xs:short
collisionAvoidancePercent xs:short
initialRedeliveryDelay xs:long
maximumRedeliveries xs:integer
useCollisionAvoidance xs:boolean
useExponentialBackOff xs:boolean
Element: roundRobinDispatchPolicy
Element: sharedDeadLetterStrategy
Attribute Type Description
processExpired xs:boolean
processNonPersistent xs:boolean
Element Type Description
deadLetterQueue queue | topic
Element: simpleAuthenticationPlugin
Element Type Description
userGroups <spring:bean/> Sets the groups a user is in. The key is the user name and the value is a
Set of groups
userPasswords <spring:bean/> Sets the map indexed by user name with the value the password
users (<spring:bean/>)* Sets individual users for authentication
Element: simpleAuthorizationMap
Element Type Description
adminACLs authorizationMap | policyMap
readACLs authorizationMap | policyMap
tempDestinationAuthorizationEntry tempDestinationAuthorizationEntry
writeACLs authorizationMap | policyMap
Element: simpleDispatchPolicy
Element: simpleDispatchSelector
Element Type Description
destination queue | topic
Element: simpleJmsMessageConvertor
Element Type Description
connection <spring:bean/>
Element: simpleMessageGroupMapFactory
Element: sslContext
Attribute Type Description
keyStore xs:string
keyStoreAlgorithm xs:string
keyStorePassword xs:string
keyStoreType xs:string
secureRandomAlgorithm xs:string
trustStore xs:string
trustStoreAlgorithm xs:string
trustStorePassword xs:string
trustStoreType xs:string
Element Type Description
keyManagers (<spring:bean/>)*
secureRandom <spring:bean/>
trustManagers (<spring:bean/>)*
Element: statements
Attribute Type Description
addMessageStatement xs:string
binaryDataType xs:string
containerNameDataType xs:string
createDurableSubStatement xs:string
deleteOldMessagesStatement xs:string
deleteSubscriptionStatement xs:string
destinationMessageCountStatement xs:string
durableSubAcksTableName xs:string
durableSubscriberMessageCountStatement xs:string
findAllDestinationsStatement xs:string
findAllDurableSubMessagesStatement xs:string
findAllDurableSubsStatement xs:string
findAllMessagesStatement xs:string
findDurableSubMessagesStatement xs:string
findDurableSubStatement xs:string
findLastSequenceIdInAcksStatement xs:string
findLastSequenceIdInMsgsStatement xs:string
findMessageSequenceIdStatement xs:string
findMessageStatement xs:string
findNextMessagesStatement xs:string
lastAckedDurableSubscriberMessageStatement xs:string
lockCreateStatement xs:string
lockTableName xs:string
lockUpdateStatement xs:string
longDataType xs:string
messageTableName xs:string
msgIdDataType xs:string
nextDurableSubscriberMessageStatement xs:string
removeAllMessagesStatement xs:string
removeAllSubscriptionsStatement xs:string
removeMessageStatment xs:string
sequenceDataType xs:string
stringIdDataType xs:string
tablePrefix xs:string
updateLastAckOfDurableSubStatement xs:string
updateMessageStatement xs:string
useExternalMessageReferences xs:boolean
useLockCreateWhereClause xs:boolean
Element Type Description
createSchemaStatements (<spring:bean/>)*
dropSchemaStatements (<spring:bean/>)*
Element: storeCursor
Element: storeDurableSubscriberCursor
Element: storeUsage
Attribute Type Description
limit xs:long Sets the memory limit in bytes. Setting the limit in bytes will set the
usagePortion to 0 since the UsageManager is not going to be portion based
off the parent. When set using XBean, you can use values such as: "20
mb", "1024 kb", or "1 gb"
name xs:string
percentUsage xs:integer
percentUsageMinDelta xs:integer Sets the minimum number of percentage points the usage has to change
before a UsageListener event is fired by the manager.
pollingTime xs:integer
usagePortion xs:float
Element Type Description
limiter defaultUsageCapacity | usageCapacity
parent <spring:bean/>
store amqPersistenceAdapter | jdbcPersistenceAdapter | journalPersistenceAdapter | kahaPersistenceAdapter | memoryPersistenceAdapter
Element: streamJDBCAdapter
Attribute Type Description
batchStatments xs:boolean
useExternalMessageReferences xs:boolean
Element Type Description
statements statements
Element: strictOrderDispatchPolicy
Element: systemUsage
Attribute Type Description
name xs:string
sendFailIfNoSpace xs:boolean Sets whether or not a send() should fail if there is no space free. The
default value is false which means to block the send() method until space
becomes available
sendFailIfNoSpaceExplicitySet xs:boolean
Element Type Description
adapter amqPersistenceAdapter | jdbcPersistenceAdapter | journalPersistenceAdapter | kahaPersistenceAdapter | memoryPersistenceAdapter
memoryUsage memoryUsage
parent systemUsage
storeUsage storeUsage
tempStore <spring:bean/>
tempUsage tempUsage
Element: tempDestinationAuthorizationEntry
Attribute Type Description
admin xs:string
groupClass xs:string
queue xs:string A helper method to set the destination from a configuration file
read xs:string
topic xs:string A helper method to set the destination from a configuration file
write xs:string
Element Type Description
adminACLs (<spring:bean/>)*
destination queue | topic
readACLs (<spring:bean/>)*
writeACLs (<spring:bean/>)*
Element: tempUsage
Attribute Type Description
limit xs:long Sets the memory limit in bytes. Setting the limit in bytes will set the
usagePortion to 0 since the UsageManager is not going to be portion based
off the parent. When set using XBean, you can use values such as: "20
mb", "1024 kb", or "1 gb"
name xs:string
percentUsage xs:integer
percentUsageMinDelta xs:integer Sets the minimum number of percentage points the usage has to change
before a UsageListener event is fired by the manager.
pollingTime xs:integer
usagePortion xs:float
Element Type Description
limiter defaultUsageCapacity | usageCapacity
parent <spring:bean/>
store <spring:bean/>
Element: timeStampingBrokerPlugin
Element Type Description
adminConnectionContext <spring:bean/>
next loggingBrokerPlugin | multicastTraceBrokerPlugin | timeStampingBrokerPlugin | udpTraceBrokerPlugin
Element: timedSubscriptionRecoveryPolicy
Attribute Type Description
recoverDuration xs:long
Element: topic
Attribute Type Description
name xs:string
physicalName xs:string
Element Type Description
compositeDestinations (queue | topic)*
properties <spring:bean/> Get the properties from this instance for storing in JNDI
Element: transportConnector
Attribute Type Description
brokerName xs:string
connectUri xs:string
disableAsyncDispatch xs:boolean
discoveryUri xs:string
enableStatusMonitor xs:boolean
name xs:string
uri xs:string Sets the server transport URI to use if there is not a
{@link TransportServer} configured via the
{@link #setServer(TransportServer)} method. This value is used to lazy
create a {@link TransportServer} instance
Element Type Description
brokerInfo <spring:bean/>
brokerService broker This is called by the BrokerService right before it starts the transport.
discoveryAgent <spring:bean/>
messageAuthorizationPolicy <spring:bean/> Sets the policy used to decide if the current connection is authorized to
consume a given message
server <spring:bean/>
taskRunnerFactory <spring:bean/>
Element: udpTraceBrokerPlugin
Attribute Type Description
broadcast xs:boolean
destination xs:string
maxTraceDatagramSize xs:integer
Element Type Description
address <spring:bean/>
adminConnectionContext <spring:bean/>
next loggingBrokerPlugin | multicastTraceBrokerPlugin | timeStampingBrokerPlugin | udpTraceBrokerPlugin
wireFormat <spring:bean/>
wireFormatFactory <spring:bean/>
Element: usageCapacity
Attribute Type Description
limit xs:long
Element: virtualDestinationInterceptor
Element Type Description
virtualDestinations (compositeQueue | compositeTopic | virtualTopic)*
Element: virtualTopic
Attribute Type Description
name xs:string
postfix xs:string Sets any postix used to identify the queue consumers
prefix xs:string Sets the prefix wildcard used to identify the queue consumers for a given
topic
Element: vmCursor
Element: vmDurableCursor
Element: vmQueueCursor
Element: xaConnectionFactory
Attribute Type Description
alwaysSessionAsync xs:boolean If this flag is set then a separate thread is not used for dispatching
messages for each Session in the Connection. However, a separate thread
is always used if there is more than one session, or the session isn't in
auto acknowledge or duplicates ok mode
alwaysSyncSend xs:boolean Set true if always require messages to be sync sent
beanName xs:string
brokerURL xs:string Sets the connection
URL used to connect to the ActiveMQ broker.
clientID xs:string Sets the JMS clientID to use for the created connection. Note that this
can only be used by one connection at once so generally its a better idea
to set the clientID on a Connection
clientIDPrefix xs:string Sets the prefix used by autogenerated JMS Client ID values which are used
if the JMS client does not explicitly specify on.
closeTimeout xs:integer Sets the timeout before a close is considered complete. Normally a
close() on a connection waits for confirmation from the broker; this
allows that operation to timeout to save the client hanging if there is
no broker
copyMessageOnSend xs:boolean Should a JMS message be copied to a new JMS Message object as part of the
send() method in JMS. This is enabled by default to be compliant with the
JMS specification. You can disable it if you do not mutate JMS messages
after they are sent for a performance boost
disableTimeStampsByDefault xs:boolean Sets whether or not timestamps on messages should be disabled or not. If
you disable them it adds a small performance boost.
dispatchAsync xs:boolean Enables or disables the default setting of whether or not consumers have
their messages dispatched
synchronously or asynchronously by the broker. For non-durable
topics for example we typically dispatch synchronously by default to
minimize context switches which boost performance. However sometimes its
better to go slower to ensure that a single blocked consumer socket does
not block delivery to other consumers.
exclusiveConsumer xs:boolean Enables or disables whether or not queue consumers should be exclusive or
not for example to preserve ordering when not using Message Groups
nestedMapAndListEnabled xs:boolean Enables/disables whether or not Message properties and MapMessage entries
support Nested
Structures of Map and List objects
objectMessageSerializationDefered xs:boolean When an object is set on an ObjectMessage, the JMS spec requires the
object to be serialized by that set method. Enabling this flag causes the
object to not get serialized. The object may subsequently get serialized
if the message needs to be sent over a socket or stored to disk.
optimizeAcknowledge xs:boolean
optimizedMessageDispatch xs:boolean If this flag is set then an larger prefetch limit is used - only
applicable for durable topic subscribers.
password xs:string Sets the JMS password used for connections created from this factory
producerWindowSize xs:integer
sendTimeout xs:integer
statsEnabled xs:boolean
useAsyncSend xs:boolean Forces the use of Async Sends which
adds a massive performance boost; but means that the send() method will
return immediately whether the message has been sent or not which could
lead to message loss.
useBeanNameAsClientIdPrefix xs:boolean
useCompression xs:boolean Enables the use of compression of the message bodies
useRetroactiveConsumer xs:boolean Sets whether or not retroactive consumers are enabled. Retroactive
consumers allow non-durable topic subscribers to receive old messages
that were published before the non-durable subscriber started.
userName xs:string Sets the JMS userName used by connections created by this factory
warnAboutUnstartedConnectionTimeout xs:long Enables the timeout from a connection creation to when a warning is
generated if the connection is not properly started via
{@link Connection#start()} and a message is received by a consumer. It is
a very common gotcha to forget to start
the connection so this option makes the default case to create a
warning if the user forgets. To disable the warning just set the value to <
0 (say -1).
watchTopicAdvisories xs:boolean
Element Type Description
blobTransferPolicy <spring:bean/> Sets the policy used to describe how out-of-band BLOBs (Binary Large
OBjects) are transferred from producers to brokers to consumers
clientIdGenerator <spring:bean/>
prefetchPolicy prefetchPolicy Sets the prefetch
policy for consumers created by this connection.
properties <spring:bean/> Get the properties from this instance for storing in JNDI
redeliveryPolicy redeliveryPolicy Sets the global redelivery policy to be used when a message is delivered
but the session is rolled back
transformer <spring:bean/> Sets the transformer used to transform messages before they are sent on
to the JMS bus or when they are received from the bus but before they are
delivered to the JMS client
transportListener <spring:bean/> Allows a listener to be configured on the ConnectionFactory so that when this factory is used
with frameworks which don't expose the Connection such as Spring JmsTemplate, you can still register
a transport listener.