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

tivemq.activemq-core.4.1.1.source-code.activemq.xsd.wiki Maven / Gradle / Ivy

There is a newer version: 5.7.0
Show newest version
h3. Elements By Type
{anchor:org.apache.activemq.broker.TransportConnector-types}
h4. The _[org.apache.activemq.broker.TransportConnector|#org.apache.activemq.broker.TransportConnector-types]_ Type Implementations
    | _[|#transportConnector-element]_ | {html}{html} |

{anchor:org.apache.activemq.network.NetworkConnector-types}
h4. The _[org.apache.activemq.network.NetworkConnector|#org.apache.activemq.network.NetworkConnector-types]_ Type Implementations
    | _[|#multicastNetworkConnector-element]_ | {html}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.{html} |
    | _[|#networkConnector-element]_ | {html}A network connector which uses a discovery agent to detect the remote brokers
available and setup a connection to each available remote broker{html} |

{anchor:org.apache.activemq.network.jms.InboundQueueBridge-types}
h4. The _[org.apache.activemq.network.jms.InboundQueueBridge|#org.apache.activemq.network.jms.InboundQueueBridge-types]_ Type Implementations
    | _[|#inboundQueueBridge-element]_ | {html}Create an Inbound Queue Bridge{html} |

{anchor:org.apache.activemq.broker.BrokerService-types}
h4. The _[org.apache.activemq.broker.BrokerService|#org.apache.activemq.broker.BrokerService-types]_ Type Implementations
    | _[|#broker-element]_ | {html}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.{html} |

{anchor:org.apache.activemq.broker.BrokerPlugin-types}
h4. The _[org.apache.activemq.broker.BrokerPlugin|#org.apache.activemq.broker.BrokerPlugin-types]_ Type Implementations
    | _[|#authorizationPlugin-element]_ | {html}An authorization plugin where each operation on a destination is checked
against an authorizationMap{html} |
    | _[|#connectionDotFilePlugin-element]_ | {html}A DOT file creator plugin which
creates a DOT file showing the current connections{html} |
    | _[|#destinationDotFilePlugin-element]_ | {html}A DOT
file creator plugin which creates a DOT file showing the current topic & queue hierarchies.{html} |
    | _[|#jaasAuthenticationPlugin-element]_ | {html}Provides a JAAS based authentication plugin{html} |
    | _[|#jaasCertificateAuthenticationPlugin-element]_ | {html}Provides a JAAS based SSL certificate authentication plugin{html} |
    | _[|#loggingBrokerPlugin-element]_ | {html}A simple Broker interceptor which allows you to enable/disable logging.{html} |
    | _[|#multicastTraceBrokerPlugin-element]_ | {html}A Broker interceptor which allows you to trace all operations to a Multicast socket.{html} |
    | _[|#simpleAuthenticationPlugin-element]_ | {html}Provides a simple authentication{html} |
    | _[|#timeStampingBrokerPlugin-element]_ | {html}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.{html} |
    | _[|#udpTraceBrokerPlugin-element]_ | {html}A Broker interceptor which allows you to trace all operations to a UDP socket.{html} |

{anchor:org.apache.activemq.store.jdbc.JDBCAdapter-types}
h4. The _[org.apache.activemq.store.jdbc.JDBCAdapter|#org.apache.activemq.store.jdbc.JDBCAdapter-types]_ Type Implementations
    | _[|#axionJDBCAdapter-element]_ | {html}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.{html} |
    | _[|#blobJDBCAdapter-element]_ | {html}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:
{html} | | _[|#bytesJDBCAdapter-element]_ | {html}This JDBCAdapter inserts and extracts BLOB data using the setBytes()/getBytes() operations. The databases/JDBC drivers that use this adapter are:{html} | | _[|#db2JDBCAdapter-element]_ | {html}{html} | | _[|#defaultJDBCAdapter-element]_ | {html}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:

{html} | | _[|#imageBasedJDBCAdaptor-element]_ | {html}Provides JDBCAdapter since that uses IMAGE datatype to hold binary data. The databases/JDBC drivers that use this adapter are:
  • Sybase
  • MS SQL
{html} | | _[|#informixJDBCAdapter-element]_ | {html}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.{html} | | _[|#oracleJDBCAdapter-element]_ | {html}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:

{html} | | _[|#streamJDBCAdapter-element]_ | {html}This JDBCAdapter inserts and extracts BLOB data using the setBinaryStream()/getBinaryStream() operations. The databases/JDBC drivers that use this adapter are:
  • Axion
{html} | {anchor:org.apache.activemq.broker.region.policy.PendingQueueMessageStoragePolicy-types} h4. The _[org.apache.activemq.broker.region.policy.PendingQueueMessageStoragePolicy|#org.apache.activemq.broker.region.policy.PendingQueueMessageStoragePolicy-types]_ Type Implementations | _[|#vmCursor-element]_ | {html}Pending messages held in the JVM{html} | {anchor:javax.jms.TopicConnectionFactory-types} h4. The _[javax.jms.TopicConnectionFactory|#javax.jms.TopicConnectionFactory-types]_ Type Implementations | _[|#connectionFactory-element]_ | {html}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.{html} | | _[|#xaConnectionFactory-element]_ | {html}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.{html} | {anchor:org.apache.activemq.broker.region.virtual.VirtualDestination-types} h4. The _[org.apache.activemq.broker.region.virtual.VirtualDestination|#org.apache.activemq.broker.region.virtual.VirtualDestination-types]_ Type Implementations | _[|#compositeQueue-element]_ | {html}Represents a virtual queue which forwards to a number of other destinations.{html} | | _[|#compositeTopic-element]_ | {html}Represents a virtual topic which forwards to a number of other destinations.{html} | | _[|#virtualTopic-element]_ | {html}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.{html} | {anchor:org.apache.activemq.broker.region.policy.PolicyMap-types} h4. The _[org.apache.activemq.broker.region.policy.PolicyMap|#org.apache.activemq.broker.region.policy.PolicyMap-types]_ Type Implementations | _[|#policyMap-element]_ | {html}Represents a destination based configuration of policies so that individual destinations or wildcard hierarchies of destinations can be configured using different policies.{html} | {anchor:org.apache.activemq.broker.region.policy.PendingMessageLimitStrategy-types} h4. The _[org.apache.activemq.broker.region.policy.PendingMessageLimitStrategy|#org.apache.activemq.broker.region.policy.PendingMessageLimitStrategy-types]_ Type Implementations | _[|#constantPendingMessageLimitStrategy-element]_ | {html}This PendingMessageLimitStrategy is configured to a constant value for all subscriptions.{html} | | _[|#prefetchRatePendingMessageLimitStrategy-element]_ | {html}This PendingMessageLimitStrategy sets the maximum pending message limit value to be a multiplier of the prefetch limit of the subscription.{html} | {anchor:javax.jms.Destination-types} h4. The _[javax.jms.Destination|#javax.jms.Destination-types]_ Type Implementations | _[|#queue-element]_ | {html}An ActiveMQ Queue Destination{html} | | _[|#topic-element]_ | {html}An ActiveMQ Topic Destination{html} | {anchor:org.apache.activemq.broker.region.policy.SubscriptionRecoveryPolicy-types} h4. The _[org.apache.activemq.broker.region.policy.SubscriptionRecoveryPolicy|#org.apache.activemq.broker.region.policy.SubscriptionRecoveryPolicy-types]_ Type Implementations | _[|#fixedCountSubscriptionRecoveryPolicy-element]_ | {html}This implementation of {@link SubscriptionRecoveryPolicy} will keep a fixed count of last messages.{html} | | _[|#fixedSizedSubscriptionRecoveryPolicy-element]_ | {html}This implementation of {@link SubscriptionRecoveryPolicy} will keep a fixed amount of memory available in RAM for message history which is evicted in time order.{html} | | _[|#lastImageSubscriptionRecoveryPolicy-element]_ | {html}This implementation of {@link SubscriptionRecoveryPolicy} will only keep the last message.{html} | | _[|#noSubscriptionRecoveryPolicy-element]_ | {html}This SubscriptionRecoveryPolicy disable recovery of messages.{html} | | _[|#queryBasedSubscriptionRecoveryPolicy-element]_ | {html}This implementation of {@link SubscriptionRecoveryPolicy} will perform a user specific query mechanism to load any messages they may have missed.{html} | | _[|#timedSubscriptionRecoveryPolicy-element]_ | {html}This implementation of {@link SubscriptionRecoveryPolicy} will keep a timed buffer of messages around in memory and use that to recover new subscriptions.{html} | {anchor:javax.jms.QueueConnectionFactory-types} h4. The _[javax.jms.QueueConnectionFactory|#javax.jms.QueueConnectionFactory-types]_ Type Implementations | _[|#connectionFactory-element]_ | {html}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.{html} | | _[|#xaConnectionFactory-element]_ | {html}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.{html} | {anchor:org.apache.activemq.store.jdbc.Statements-types} h4. The _[org.apache.activemq.store.jdbc.Statements|#org.apache.activemq.store.jdbc.Statements-types]_ Type Implementations | _[|#statements-element]_ | {html}{html} | {anchor:org.apache.activemq.broker.jmx.ManagementContext-types} h4. The _[org.apache.activemq.broker.jmx.ManagementContext|#org.apache.activemq.broker.jmx.ManagementContext-types]_ Type Implementations | _[|#managementContext-element]_ | {html}A Flow provides different dispatch policies within the NMR{html} | {anchor:org.apache.activemq.store.PersistenceAdapterFactory-types} h4. The _[org.apache.activemq.store.PersistenceAdapterFactory|#org.apache.activemq.store.PersistenceAdapterFactory-types]_ Type Implementations | _[|#journaledJDBC-element]_ | {html}Creates a default persistence model using the Journal and JDBC{html} | {anchor:org.apache.activemq.security.AuthorizationEntry-types} h4. The _[org.apache.activemq.security.AuthorizationEntry|#org.apache.activemq.security.AuthorizationEntry-types]_ Type Implementations | _[|#authorizationEntry-element]_ | {html}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.{html} | {anchor:org.apache.activemq.broker.region.policy.PendingDurableSubscriberMessageStoragePolicy-types} h4. The _[org.apache.activemq.broker.region.policy.PendingDurableSubscriberMessageStoragePolicy|#org.apache.activemq.broker.region.policy.PendingDurableSubscriberMessageStoragePolicy-types]_ Type Implementations | _[|#fileDurableSubscriberCursor-element]_ | {html}Pending messages for durable subscribers{html} | | _[|#storeDurableSubscriberCursor-element]_ | {html}Pending messages for a durable subscriber{html} | {anchor:org.apache.activemq.broker.region.group.MessageGroupMapFactory-types} h4. The _[org.apache.activemq.broker.region.group.MessageGroupMapFactory|#org.apache.activemq.broker.region.group.MessageGroupMapFactory-types]_ Type Implementations | _[|#messageGroupHashBucketFactory-element]_ | {html}A factory to create instances of {@link SimpleMessageGroupMap} when implementing the Message Groups functionality.{html} | | _[|#simpleMessageGroupMapFactory-element]_ | {html}A factory to create instances of {@link SimpleMessageGroupMap} when implementing the Message Groups functionality.{html} | {anchor:org.apache.activemq.broker.region.policy.DeadLetterStrategy-types} h4. The _[org.apache.activemq.broker.region.policy.DeadLetterStrategy|#org.apache.activemq.broker.region.policy.DeadLetterStrategy-types]_ Type Implementations | _[|#individualDeadLetterStrategy-element]_ | {html}A {@link DeadLetterStrategy} where each destination has its own individual DLQ using the subject naming hierarchy.{html} | | _[|#sharedDeadLetterStrategy-element]_ | {html}A default implementation of {@link DeadLetterStrategy} which uses a constant destination.{html} | {anchor:javax.jms.Topic-types} h4. The _[javax.jms.Topic|#javax.jms.Topic-types]_ Type Implementations | _[|#topic-element]_ | {html}An ActiveMQ Topic Destination{html} | {anchor:org.apache.activemq.ActiveMQPrefetchPolicy-types} h4. The _[org.apache.activemq.ActiveMQPrefetchPolicy|#org.apache.activemq.ActiveMQPrefetchPolicy-types]_ Type Implementations | _[|#prefetchPolicy-element]_ | {html}Defines the prefetch message policies for different types of consumers{html} | {anchor:org.apache.activemq.broker.Broker-types} h4. The _[org.apache.activemq.broker.Broker|#org.apache.activemq.broker.Broker-types]_ Type Implementations | _[|#loggingBrokerPlugin-element]_ | {html}A simple Broker interceptor which allows you to enable/disable logging.{html} | | _[|#multicastTraceBrokerPlugin-element]_ | {html}A Broker interceptor which allows you to trace all operations to a Multicast socket.{html} | | _[|#timeStampingBrokerPlugin-element]_ | {html}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.{html} | | _[|#udpTraceBrokerPlugin-element]_ | {html}A Broker interceptor which allows you to trace all operations to a UDP socket.{html} | {anchor:org.apache.activemq.store.PersistenceAdapter-types} h4. The _[org.apache.activemq.store.PersistenceAdapter|#org.apache.activemq.store.PersistenceAdapter-types]_ Type Implementations | _[|#jdbcPersistenceAdapter-element]_ | {html}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.{html} | | _[|#journalPersistenceAdapter-element]_ | {html}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.{html} | | _[|#kahaPersistenceAdapter-element]_ | {html}{html} | | _[|#memoryPersistenceAdapter-element]_ | {html}{html} | | _[|#quickJournalPersistenceAdapter-element]_ | {html}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.{html} | | _[|#rapidPersistenceAdapter-element]_ | {html}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.{html} | {anchor:org.apache.activemq.broker.region.policy.PolicyEntry-types} h4. The _[org.apache.activemq.broker.region.policy.PolicyEntry|#org.apache.activemq.broker.region.policy.PolicyEntry-types]_ Type Implementations | _[|#policyEntry-element]_ | {html}Represents an entry in a {@link PolicyMap} for assigning policies to a specific destination or a hierarchical wildcard area of destinations.{html} | {anchor:org.apache.activemq.network.DemandForwardingBridgeSupport-types} h4. The _[org.apache.activemq.network.DemandForwardingBridgeSupport|#org.apache.activemq.network.DemandForwardingBridgeSupport-types]_ Type Implementations | _[|#compositeDemandForwardingBridge-element]_ | {html}A demand forwarding bridge which works with multicast style transports where a single Transport could be communicating with multiple remote brokers{html} | | _[|#demandForwardingBridge-element]_ | {html}Forwards messages from the local broker to the remote broker based on demand.{html} | {anchor:org.apache.activemq.network.jms.OutboundQueueBridge-types} h4. The _[org.apache.activemq.network.jms.OutboundQueueBridge|#org.apache.activemq.network.jms.OutboundQueueBridge-types]_ Type Implementations | _[|#outboundQueueBridge-element]_ | {html}Create an Outbound Queue Bridge{html} | {anchor:org.apache.activemq.memory.UsageManager-types} h4. The _[org.apache.activemq.memory.UsageManager|#org.apache.activemq.memory.UsageManager-types]_ Type Implementations | _[|#usageManager-element]_ | {html}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.{html} | {anchor:org.apache.activemq.store.jdbc.JDBCPersistenceAdapter-types} h4. The _[org.apache.activemq.store.jdbc.JDBCPersistenceAdapter|#org.apache.activemq.store.jdbc.JDBCPersistenceAdapter-types]_ Type Implementations | _[|#jdbcPersistenceAdapter-element]_ | {html}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.{html} | {anchor:org.apache.activemq.command.ActiveMQDestination-types} h4. The _[org.apache.activemq.command.ActiveMQDestination|#org.apache.activemq.command.ActiveMQDestination-types]_ Type Implementations | _[|#queue-element]_ | {html}An ActiveMQ Queue Destination{html} | | _[|#topic-element]_ | {html}An ActiveMQ Topic Destination{html} | {anchor:org.apache.activemq.network.jms.InboundTopicBridge-types} h4. The _[org.apache.activemq.network.jms.InboundTopicBridge|#org.apache.activemq.network.jms.InboundTopicBridge-types]_ Type Implementations | _[|#inboundTopicBridge-element]_ | {html}Create an Inbound Topic Bridge{html} | {anchor:org.apache.activemq.network.jms.JmsConnector-types} h4. The _[org.apache.activemq.network.jms.JmsConnector|#org.apache.activemq.network.jms.JmsConnector-types]_ Type Implementations | _[|#jmsQueueConnector-element]_ | {html}A Bridge to other JMS Queue providers{html} | | _[|#jmsTopicConnector-element]_ | {html}A Bridge to other JMS Topic providers{html} | {anchor:org.apache.activemq.RedeliveryPolicy-types} h4. The _[org.apache.activemq.RedeliveryPolicy|#org.apache.activemq.RedeliveryPolicy-types]_ Type Implementations | _[|#redeliveryPolicy-element]_ | {html}Configuration options used to control how messages are re-delivered when they are rolled back.{html} | {anchor:org.apache.activemq.security.AuthorizationMap-types} h4. The _[org.apache.activemq.security.AuthorizationMap|#org.apache.activemq.security.AuthorizationMap-types]_ Type Implementations | _[|#authorizationMap-element]_ | {html}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.{html} | | _[|#lDAPAuthorizationMap-element]_ | {html}An {@link AuthorizationMap} which uses LDAP{html} | | _[|#simpleAuthorizationMap-element]_ | {html}An AuthorizationMap which is configured with individual DestinationMaps for each operation.{html} | {anchor:org.apache.activemq.broker.region.policy.DispatchPolicy-types} h4. The _[org.apache.activemq.broker.region.policy.DispatchPolicy|#org.apache.activemq.broker.region.policy.DispatchPolicy-types]_ Type Implementations | _[|#roundRobinDispatchPolicy-element]_ | {html}Simple dispatch policy that sends a message to every subscription that matches the message.{html} | | _[|#simpleDispatchPolicy-element]_ | {html}Simple dispatch policy that sends a message to every subscription that matches the message.{html} | | _[|#strictOrderDispatchPolicy-element]_ | {html}Dispatch policy that causes every subscription to see messages in the same order.{html} | {anchor:javax.jms.ConnectionFactory-types} h4. The _[javax.jms.ConnectionFactory|#javax.jms.ConnectionFactory-types]_ Type Implementations | _[|#connectionFactory-element]_ | {html}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.{html} | | _[|#xaConnectionFactory-element]_ | {html}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.{html} | {anchor:javax.jms.Queue-types} h4. The _[javax.jms.Queue|#javax.jms.Queue-types]_ Type Implementations | _[|#queue-element]_ | {html}An ActiveMQ Queue Destination{html} | {anchor:org.apache.activemq.broker.region.policy.MessageEvictionStrategy-types} h4. The _[org.apache.activemq.broker.region.policy.MessageEvictionStrategy|#org.apache.activemq.broker.region.policy.MessageEvictionStrategy-types]_ Type Implementations | _[|#oldestMessageEvictionStrategy-element]_ | {html}An eviction strategy which evicts the oldest message first (which is the default).{html} | | _[|#oldestMessageWithLowestPriorityEvictionStrategy-element]_ | {html}An eviction strategy which evicts the oldest message with the lowest priority first.{html} | {anchor:org.apache.activemq.Service-types} h4. The _[org.apache.activemq.Service|#org.apache.activemq.Service-types]_ Type Implementations | _[|#broker-element]_ | {html}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.{html} | | _[|#commandAgent-element]_ | {html}An agent which listens to commands on a JMS destination{html} | | _[|#inboundQueueBridge-element]_ | {html}Create an Inbound Queue Bridge{html} | | _[|#inboundTopicBridge-element]_ | {html}Create an Inbound Topic Bridge{html} | | _[|#jmsQueueConnector-element]_ | {html}A Bridge to other JMS Queue providers{html} | | _[|#jmsTopicConnector-element]_ | {html}A Bridge to other JMS Topic providers{html} | | _[|#managementContext-element]_ | {html}A Flow provides different dispatch policies within the NMR{html} | | _[|#masterConnector-element]_ | {html}Connects a Slave Broker to a Master when using Master Slave for High Availability of messages.{html} | | _[|#multicastNetworkConnector-element]_ | {html}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.{html} | | _[|#networkConnector-element]_ | {html}A network connector which uses a discovery agent to detect the remote brokers available and setup a connection to each available remote broker{html} | | _[|#outboundQueueBridge-element]_ | {html}Create an Outbound Queue Bridge{html} | | _[|#outboundTopicBridge-element]_ | {html}Create an Outbound Topic Bridge{html} | | _[|#proxyConnector-element]_ | {html}{html} | {anchor:org.apache.activemq.network.jms.JmsMesageConvertor-types} h4. The _[org.apache.activemq.network.jms.JmsMesageConvertor|#org.apache.activemq.network.jms.JmsMesageConvertor-types]_ Type Implementations | _[|#simpleJmsMessageConvertor-element]_ | {html}Converts Message from one JMS to another{html} | {anchor:org.apache.activemq.network.jms.OutboundTopicBridge-types} h4. The _[org.apache.activemq.network.jms.OutboundTopicBridge|#org.apache.activemq.network.jms.OutboundTopicBridge-types]_ Type Implementations | _[|#outboundTopicBridge-element]_ | {html}Create an Outbound Topic Bridge{html} | {anchor:org.apache.activemq.broker.region.DestinationInterceptor-types} h4. The _[org.apache.activemq.broker.region.DestinationInterceptor|#org.apache.activemq.broker.region.DestinationInterceptor-types]_ Type Implementations | _[|#virtualDestinationInterceptor-element]_ | {html}Implements Virtual Topics.{html} | {anchor:org.apache.activemq.filter.DestinationMap-types} h4. The _[org.apache.activemq.filter.DestinationMap|#org.apache.activemq.filter.DestinationMap-types]_ Type Implementations | _[|#authorizationMap-element]_ | {html}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.{html} | | _[|#policyMap-element]_ | {html}Represents a destination based configuration of policies so that individual destinations or wildcard hierarchies of destinations can be configured using different policies.{html} | {anchor:authorizationEntry-element} h3. The _[|#authorizationEntry-element]_ Element {html}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.{html} h4. Properties || Property Name || Type || Description || | admin | _java.lang.String_ | {html}{html} | | adminACLs | _java.util.Set_ | {html}{html} | | destination | _[org.apache.activemq.command.ActiveMQDestination|#org.apache.activemq.command.ActiveMQDestination-types]_ | {html}{html} | | queue | _java.lang.String_ | {html}A helper method to set the destination from a configuration file{html} | | read | _java.lang.String_ | {html}{html} | | readACLs | _java.util.Set_ | {html}{html} | | topic | _java.lang.String_ | {html}A helper method to set the destination from a configuration file{html} | | write | _java.lang.String_ | {html}{html} | | writeACLs | _java.util.Set_ | {html}{html} | {anchor:authorizationMap-element} h3. The _[|#authorizationMap-element]_ Element {html}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.{html} h4. Properties || Property Name || Type || Description || | authorizationEntries | (_java.lang.Object_)\* | {html}Sets the individual entries on the authorization map{html} | | defaultEntry | _[org.apache.activemq.security.AuthorizationEntry|#org.apache.activemq.security.AuthorizationEntry-types]_ | {html}{html} | | entries | (_java.lang.Object_)\* | {html}A helper method to allow the destination map to be populated from a dependency injection framework such as Spring{html} | {anchor:authorizationPlugin-element} h3. The _[|#authorizationPlugin-element]_ Element {html}An authorization plugin where each operation on a destination is checked against an authorizationMap{html} h4. Properties || Property Name || Type || Description || | map | _[org.apache.activemq.security.AuthorizationMap|#org.apache.activemq.security.AuthorizationMap-types]_ | {html}{html} | {anchor:axionJDBCAdapter-element} h3. The _[|#axionJDBCAdapter-element]_ Element {html}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.{html} h4. Properties || Property Name || Type || Description || | batchStatments | _boolean_ | {html}{html} | | statements | _[org.apache.activemq.store.jdbc.Statements|#org.apache.activemq.store.jdbc.Statements-types]_ | {html}{html} | | useExternalMessageReferences | _boolean_ | {html}{html} | {anchor:blobJDBCAdapter-element} h3. The _[|#blobJDBCAdapter-element]_ Element {html}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:
{html} h4. Properties || Property Name || Type || Description || | batchStatments | _boolean_ | {html}{html} | | statements | _[org.apache.activemq.store.jdbc.Statements|#org.apache.activemq.store.jdbc.Statements-types]_ | {html}{html} | | useExternalMessageReferences | _boolean_ | {html}{html} | {anchor:broker-element} h3. The _[|#broker-element]_ Element {html}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.{html} h4. Properties || Property Name || Type || Description || | adminView | _org.apache.activemq.broker.jmx.BrokerView_ | {html}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.{html} | | advisorySupport | _boolean_ | {html}Allows the support of advisory messages to be disabled for performance reasons.{html} | | brokerName | _java.lang.String_ | {html}Sets the name of this broker; which must be unique in the network{html} | | brokerObjectName | _javax.management.ObjectName_ | {html}Sets the JMX ObjectName for this broker{html} | | dataDirectory | _java.io.File_ | {html}Sets the directory in which the data files will be stored by default for the JDBC and Journal persistence adaptors.{html} | | deleteAllMessagesOnStartup | _boolean_ | {html}Sets whether or not all messages are deleted on startup - mostly only useful for testing.{html} | | destinationFactory | _org.apache.activemq.broker.region.DestinationFactory_ | {html}{html} | | destinationInterceptors | (_[org.apache.activemq.broker.region.DestinationInterceptor|#org.apache.activemq.broker.region.DestinationInterceptor-types]_)\* | {html}Sets the destination interceptors to use{html} | | destinationPolicy | _[org.apache.activemq.broker.region.policy.PolicyMap|#org.apache.activemq.broker.region.policy.PolicyMap-types]_ | {html}Sets the destination specific policies available either for exact destinations or for wildcard areas of destinations.{html} | | destinations | (_[org.apache.activemq.command.ActiveMQDestination|#org.apache.activemq.command.ActiveMQDestination-types]_)\* | {html}Sets the destinations which should be loaded/created on startup{html} | | jmsBridgeConnectors | (_[org.apache.activemq.network.jms.JmsConnector|#org.apache.activemq.network.jms.JmsConnector-types]_)\* | {html}{html} | | keepDurableSubsActive | _boolean_ | {html}{html} | | managementContext | _[org.apache.activemq.broker.jmx.ManagementContext|#org.apache.activemq.broker.jmx.ManagementContext-types]_ | {html}{html} | | masterConnectorURI | _java.lang.String_ | {html}{html} | | memoryManager | _[org.apache.activemq.memory.UsageManager|#org.apache.activemq.memory.UsageManager-types]_ | {html}{html} | | messageAuthorizationPolicy | _org.apache.activemq.security.MessageAuthorizationPolicy_ | {html}Sets the policy used to decide if the current connection is authorized to consume a given message{html} | | networkConnectorURIs | (_java.lang.String_)\* | {html}{html} | | networkConnectors | (_[org.apache.activemq.network.NetworkConnector|#org.apache.activemq.network.NetworkConnector-types]_)\* | {html}Sets the network connectors which this broker will use to connect to other brokers in a federated network{html} | | pendingDurableSubscriberPolicy | _[org.apache.activemq.broker.region.policy.PendingDurableSubscriberMessageStoragePolicy|#org.apache.activemq.broker.region.policy.PendingDurableSubscriberMessageStoragePolicy-types]_ | {html}{html} | | persistenceAdapter | _[org.apache.activemq.store.PersistenceAdapter|#org.apache.activemq.store.PersistenceAdapter-types]_ | {html}Sets the persistence adaptor implementation to use for this broker{html} | | persistenceFactory | _[org.apache.activemq.store.PersistenceAdapterFactory|#org.apache.activemq.store.PersistenceAdapterFactory-types]_ | {html}{html} | | persistenceTaskRunnerFactory | _org.apache.activemq.thread.TaskRunnerFactory_ | {html}{html} | | persistenceThreadPriority | _int_ | {html}{html} | | persistent | _boolean_ | {html}Sets whether or not persistence is enabled or disabled.{html} | | plugins | (_[org.apache.activemq.broker.BrokerPlugin|#org.apache.activemq.broker.BrokerPlugin-types]_)\* | {html}Sets a number of broker plugins to install such as for security authentication or authorization{html} | | populateJMSXUserID | _boolean_ | {html}Sets whether or not the broker should populate the JMSXUserID header.{html} | | proxyConnectors | (_java.lang.Object_)\* | {html}Sets the network connectors which this broker will use to connect to other brokers in a federated network{html} | | services | (_[org.apache.activemq.Service|#org.apache.activemq.Service-types]_)\* | {html}Sets the services associated with this broker such as a {@link MasterConnector}{html} | | shutdownOnMasterFailure | _boolean_ | {html}{html} | | start | _boolean_ | {html}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.{html} | | taskRunnerFactory | _org.apache.activemq.thread.TaskRunnerFactory_ | {html}{html} | | tempDataStore | _org.apache.activemq.kaha.Store_ | {html}{html} | | tmpDataDirectory | _java.io.File_ | {html}{html} | | transportConnectorURIs | (_java.lang.String_)\* | {html}{html} | | transportConnectors | (_[org.apache.activemq.broker.TransportConnector|#org.apache.activemq.broker.TransportConnector-types]_)\* | {html}Sets the transport connectors which this broker will listen on for new clients{html} | | useJmx | _boolean_ | {html}Sets whether or not the Broker's services should be exposed into JMX or not.{html} | | useLoggingForShutdownErrors | _boolean_ | {html}Sets whether or not we should use commons-logging when reporting errors when shutting down the broker{html} | | useShutdownHook | _boolean_ | {html}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.{html} | | useVirtualTopics | _boolean_ | {html}Sets whether or not Virtual Topics should be supported by default if they have not been explicitly configured.{html} | | vmConnectorURI | _java.net.URI_ | {html}{html} | {anchor:bytesJDBCAdapter-element} h3. The _[|#bytesJDBCAdapter-element]_ Element {html}This JDBCAdapter inserts and extracts BLOB data using the setBytes()/getBytes() operations. The databases/JDBC drivers that use this adapter are:{html} h4. Properties || Property Name || Type || Description || | batchStatments | _boolean_ | {html}{html} | | statements | _[org.apache.activemq.store.jdbc.Statements|#org.apache.activemq.store.jdbc.Statements-types]_ | {html}{html} | | useExternalMessageReferences | _boolean_ | {html}{html} | {anchor:commandAgent-element} h3. The _[|#commandAgent-element]_ Element {html}An agent which listens to commands on a JMS destination{html} h4. Properties || Property Name || Type || Description || | brokerService | _[org.apache.activemq.broker.BrokerService|#org.apache.activemq.broker.BrokerService-types]_ | {html}{html} | | brokerUrl | _java.lang.String_ | {html}{html} | | commandDestination | _[javax.jms.Destination|#javax.jms.Destination-types]_ | {html}{html} | | connection | _javax.jms.Connection_ | {html}{html} | | connectionFactory | _[javax.jms.ConnectionFactory|#javax.jms.ConnectionFactory-types]_ | {html}{html} | {anchor:compositeDemandForwardingBridge-element} h3. The _[|#compositeDemandForwardingBridge-element]_ Element {html}A demand forwarding bridge which works with multicast style transports where a single Transport could be communicating with multiple remote brokers{html} h4. Properties || Property Name || Type || Description || | bridgeTempDestinations | _boolean_ | {html}{html} | | decreaseNetworkConsumerPriority | _boolean_ | {html}{html} | | dispatchAsync | _boolean_ | {html}{html} | | durableDestinations | (_[org.apache.activemq.command.ActiveMQDestination|#org.apache.activemq.command.ActiveMQDestination-types]_)\* | {html}{html} | | dynamicallyIncludedDestinations | (_[org.apache.activemq.command.ActiveMQDestination|#org.apache.activemq.command.ActiveMQDestination-types]_)\* | {html}{html} | | excludedDestinations | (_[org.apache.activemq.command.ActiveMQDestination|#org.apache.activemq.command.ActiveMQDestination-types]_)\* | {html}{html} | | localBroker | _org.apache.activemq.transport.Transport_ | {html}{html} | | localBrokerName | _java.lang.String_ | {html}{html} | | name | _java.lang.String_ | {html}{html} | | networkTTL | _int_ | {html}{html} | | password | _java.lang.String_ | {html}{html} | | prefetchSize | _int_ | {html}{html} | | remoteBroker | _org.apache.activemq.transport.Transport_ | {html}{html} | | staticallyIncludedDestinations | (_[org.apache.activemq.command.ActiveMQDestination|#org.apache.activemq.command.ActiveMQDestination-types]_)\* | {html}{html} | | userName | _java.lang.String_ | {html}{html} | {anchor:compositeQueue-element} h3. The _[|#compositeQueue-element]_ Element {html}Represents a virtual queue which forwards to a number of other destinations.{html} h4. Properties || Property Name || Type || Description || | copyMessage | _boolean_ | {html}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{html} | | forwardOnly | _boolean_ | {html}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).{html} | | forwardTo | _java.util.Collection_ | {html}Sets the list of destinations to forward to{html} | | name | _java.lang.String_ | {html}Sets the name of this composite destination{html} | {anchor:compositeTopic-element} h3. The _[|#compositeTopic-element]_ Element {html}Represents a virtual topic which forwards to a number of other destinations.{html} h4. Properties || Property Name || Type || Description || | copyMessage | _boolean_ | {html}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{html} | | forwardOnly | _boolean_ | {html}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).{html} | | forwardTo | _java.util.Collection_ | {html}Sets the list of destinations to forward to{html} | | name | _java.lang.String_ | {html}Sets the name of this composite destination{html} | {anchor:connectionDotFilePlugin-element} h3. The _[|#connectionDotFilePlugin-element]_ Element {html}A DOT file creator plugin which creates a DOT file showing the current connections{html} h4. Properties || Property Name || Type || Description || | file | _java.lang.String_ | {html}Sets the destination file name to create the destination diagram{html} | {anchor:connectionFactory-element} h3. The _[|#connectionFactory-element]_ Element {html}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.{html} h4. Properties || Property Name || Type || Description || | alwaysSessionAsync | _boolean_ | {html}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{html} | | beanName | _java.lang.String_ | {html}{html} | | brokerURL | _java.lang.String_ | {html}Sets the connection URL used to connect to the ActiveMQ broker.{html} | | clientID | _java.lang.String_ | {html}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{html} | | clientIDPrefix | _java.lang.String_ | {html}Sets the prefix used by autogenerated JMS Client ID values which are used if the JMS client does not explicitly specify on.{html} | | clientIdGenerator | _org.apache.activemq.util.IdGenerator_ | {html}{html} | | closeTimeout | _int_ | {html}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{html} | | copyMessageOnSend | _boolean_ | {html}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{html} | | disableTimeStampsByDefault | _boolean_ | {html}Sets whether or not timestamps on messages should be disabled or not. If you disable them it adds a small performance boost.{html} | | dispatchAsync | _boolean_ | {html}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.{html} | | nestedMapAndListEnabled | _boolean_ | {html}Enables/disables whether or not Message properties and MapMessage entries support Nested Structures of Map and List objects{html} | | objectMessageSerializationDefered | _boolean_ | {html}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.{html} | | optimizeAcknowledge | _boolean_ | {html}{html} | | optimizedMessageDispatch | _boolean_ | {html}If this flag is set then an larger prefetch limit is used - only applicable for durable topic subscribers.{html} | | password | _java.lang.String_ | {html}Sets the JMS password used for connections created from this factory{html} | | prefetchPolicy | _[org.apache.activemq.ActiveMQPrefetchPolicy|#org.apache.activemq.ActiveMQPrefetchPolicy-types]_ | {html}Sets the prefetch policy for consumers created by this connection.{html} | | properties | _java.util.Properties_ | {html}Get the properties from this instance for storing in JNDI{html} | | redeliveryPolicy | _[org.apache.activemq.RedeliveryPolicy|#org.apache.activemq.RedeliveryPolicy-types]_ | {html}Sets the global redelivery policy to be used when a message is delivered but the session is rolled back{html} | | statsEnabled | _boolean_ | {html}{html} | | useAsyncSend | _boolean_ | {html}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.{html} | | useBeanNameAsClientIdPrefix | _boolean_ | {html}{html} | | useCompression | _boolean_ | {html}Enables the use of compression of the message bodies{html} | | useRetroactiveConsumer | _boolean_ | {html}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.{html} | | useSyncSend | _boolean_ | {html}{html} | | userName | _java.lang.String_ | {html}Sets the JMS userName used by connections created by this factory{html} | | watchTopicAdvisories | _boolean_ | {html}{html} | {anchor:constantPendingMessageLimitStrategy-element} h3. The _[|#constantPendingMessageLimitStrategy-element]_ Element {html}This PendingMessageLimitStrategy is configured to a constant value for all subscriptions.{html} h4. Properties || Property Name || Type || Description || | limit | _int_ | {html}{html} | {anchor:db2JDBCAdapter-element} h3. The _[|#db2JDBCAdapter-element]_ Element {html}{html} h4. Properties || Property Name || Type || Description || | batchStatments | _boolean_ | {html}{html} | | statements | _[org.apache.activemq.store.jdbc.Statements|#org.apache.activemq.store.jdbc.Statements-types]_ | {html}{html} | | useExternalMessageReferences | _boolean_ | {html}{html} | {anchor:defaultJDBCAdapter-element} h3. The _[|#defaultJDBCAdapter-element]_ Element {html}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:

{html} h4. Properties || Property Name || Type || Description || | batchStatments | _boolean_ | {html}{html} | | statements | _[org.apache.activemq.store.jdbc.Statements|#org.apache.activemq.store.jdbc.Statements-types]_ | {html}{html} | | useExternalMessageReferences | _boolean_ | {html}{html} | {anchor:demandForwardingBridge-element} h3. The _[|#demandForwardingBridge-element]_ Element {html}Forwards messages from the local broker to the remote broker based on demand.{html} h4. Properties || Property Name || Type || Description || | bridgeTempDestinations | _boolean_ | {html}{html} | | decreaseNetworkConsumerPriority | _boolean_ | {html}{html} | | dispatchAsync | _boolean_ | {html}{html} | | durableDestinations | (_[org.apache.activemq.command.ActiveMQDestination|#org.apache.activemq.command.ActiveMQDestination-types]_)\* | {html}{html} | | dynamicallyIncludedDestinations | (_[org.apache.activemq.command.ActiveMQDestination|#org.apache.activemq.command.ActiveMQDestination-types]_)\* | {html}{html} | | excludedDestinations | (_[org.apache.activemq.command.ActiveMQDestination|#org.apache.activemq.command.ActiveMQDestination-types]_)\* | {html}{html} | | localBroker | _org.apache.activemq.transport.Transport_ | {html}{html} | | localBrokerName | _java.lang.String_ | {html}{html} | | name | _java.lang.String_ | {html}{html} | | networkTTL | _int_ | {html}{html} | | password | _java.lang.String_ | {html}{html} | | prefetchSize | _int_ | {html}{html} | | remoteBroker | _org.apache.activemq.transport.Transport_ | {html}{html} | | staticallyIncludedDestinations | (_[org.apache.activemq.command.ActiveMQDestination|#org.apache.activemq.command.ActiveMQDestination-types]_)\* | {html}{html} | | userName | _java.lang.String_ | {html}{html} | {anchor:destinationDotFilePlugin-element} h3. The _[|#destinationDotFilePlugin-element]_ Element {html}A DOT file creator plugin which creates a DOT file showing the current topic & queue hierarchies.{html} h4. Properties || Property Name || Type || Description || | file | _java.lang.String_ | {html}Sets the destination file name to create the destination diagram{html} | {anchor:destinationEntry-element} h3. The _[|#destinationEntry-element]_ Element {html}A default entry in a DestinationMap which holds a single value.{html} h4. Properties || Property Name || Type || Description || | destination | _[org.apache.activemq.command.ActiveMQDestination|#org.apache.activemq.command.ActiveMQDestination-types]_ | {html}{html} | | queue | _java.lang.String_ | {html}A helper method to set the destination from a configuration file{html} | | topic | _java.lang.String_ | {html}A helper method to set the destination from a configuration file{html} | | value | _java.lang.Object_ | {html}{html} | {anchor:fileDurableSubscriberCursor-element} h3. The _[|#fileDurableSubscriberCursor-element]_ Element {html}Pending messages for durable subscribers{html} {anchor:fixedCountSubscriptionRecoveryPolicy-element} h3. The _[|#fixedCountSubscriptionRecoveryPolicy-element]_ Element {html}This implementation of {@link SubscriptionRecoveryPolicy} will keep a fixed count of last messages.{html} h4. Properties || Property Name || Type || Description || | maximumSize | _int_ | {html}Sets the maximum number of messages that this destination will hold around in RAM{html} | {anchor:fixedSizedSubscriptionRecoveryPolicy-element} h3. The _[|#fixedSizedSubscriptionRecoveryPolicy-element]_ Element {html}This implementation of {@link SubscriptionRecoveryPolicy} will keep a fixed amount of memory available in RAM for message history which is evicted in time order.{html} h4. Properties || Property Name || Type || Description || | buffer | _org.apache.activemq.memory.list.MessageList_ | {html}{html} | | maximumSize | _int_ | {html}Sets the maximum amount of RAM in bytes that this buffer can hold in RAM{html} | | useSharedBuffer | _boolean_ | {html}{html} | {anchor:forwardingBridge-element} h3. The _[|#forwardingBridge-element]_ Element {html}Forwards all messages from the local broker to the remote broker.{html} h4. Properties || Property Name || Type || Description || | clientId | _java.lang.String_ | {html}{html} | | destinationFilter | _java.lang.String_ | {html}{html} | | dispatchAsync | _boolean_ | {html}{html} | | localBroker | _org.apache.activemq.transport.Transport_ | {html}{html} | | prefetchSize | _int_ | {html}{html} | | remoteBroker | _org.apache.activemq.transport.Transport_ | {html}{html} | {anchor:imageBasedJDBCAdaptor-element} h3. The _[|#imageBasedJDBCAdaptor-element]_ Element {html}Provides JDBCAdapter since that uses IMAGE datatype to hold binary data. The databases/JDBC drivers that use this adapter are:
  • Sybase
  • MS SQL
{html} h4. Properties || Property Name || Type || Description || | batchStatments | _boolean_ | {html}{html} | | statements | _[org.apache.activemq.store.jdbc.Statements|#org.apache.activemq.store.jdbc.Statements-types]_ | {html}{html} | | useExternalMessageReferences | _boolean_ | {html}{html} | {anchor:inboundQueueBridge-element} h3. The _[|#inboundQueueBridge-element]_ Element {html}Create an Inbound Queue Bridge{html} h4. Properties || Property Name || Type || Description || | consumer | _javax.jms.MessageConsumer_ | {html}{html} | | consumerConnection | _javax.jms.QueueConnection_ | {html}{html} | | consumerQueue | _[javax.jms.Queue|#javax.jms.Queue-types]_ | {html}{html} | | doHandleReplyTo | _boolean_ | {html}{html} | | inboundQueueName | _java.lang.String_ | {html}{html} | | jmsConnector | _[org.apache.activemq.network.jms.JmsConnector|#org.apache.activemq.network.jms.JmsConnector-types]_ | {html}{html} | | jmsMessageConvertor | _[org.apache.activemq.network.jms.JmsMesageConvertor|#org.apache.activemq.network.jms.JmsMesageConvertor-types]_ | {html}{html} | | localQueueName | _java.lang.String_ | {html}{html} | | maximumRetries | _int_ | {html}Sets the maximum number of retries if a send fails before closing the bridge{html} | | producerConnection | _javax.jms.QueueConnection_ | {html}{html} | | producerQueue | _[javax.jms.Queue|#javax.jms.Queue-types]_ | {html}{html} | | selector | _java.lang.String_ | {html}{html} | {anchor:inboundTopicBridge-element} h3. The _[|#inboundTopicBridge-element]_ Element {html}Create an Inbound Topic Bridge{html} h4. Properties || Property Name || Type || Description || | consumer | _javax.jms.MessageConsumer_ | {html}{html} | | consumerConnection | _javax.jms.TopicConnection_ | {html}{html} | | consumerName | _java.lang.String_ | {html}{html} | | consumerTopic | _[javax.jms.Topic|#javax.jms.Topic-types]_ | {html}{html} | | doHandleReplyTo | _boolean_ | {html}{html} | | inboundTopicName | _java.lang.String_ | {html}{html} | | jmsConnector | _[org.apache.activemq.network.jms.JmsConnector|#org.apache.activemq.network.jms.JmsConnector-types]_ | {html}{html} | | jmsMessageConvertor | _[org.apache.activemq.network.jms.JmsMesageConvertor|#org.apache.activemq.network.jms.JmsMesageConvertor-types]_ | {html}{html} | | localTopicName | _java.lang.String_ | {html}{html} | | maximumRetries | _int_ | {html}Sets the maximum number of retries if a send fails before closing the bridge{html} | | producerConnection | _javax.jms.TopicConnection_ | {html}{html} | | producerTopic | _[javax.jms.Topic|#javax.jms.Topic-types]_ | {html}{html} | | selector | _java.lang.String_ | {html}{html} | {anchor:individualDeadLetterStrategy-element} h3. The _[|#individualDeadLetterStrategy-element]_ Element {html}A {@link DeadLetterStrategy} where each destination has its own individual DLQ using the subject naming hierarchy.{html} h4. Properties || Property Name || Type || Description || | queuePrefix | _java.lang.String_ | {html}Sets the prefix to use for all dead letter queues for queue messages{html} | | topicPrefix | _java.lang.String_ | {html}Sets the prefix to use for all dead letter queues for topic messages{html} | | useQueueForQueueMessages | _boolean_ | {html}Sets whether a queue or topic should be used for queue messages sent to a DLQ. The default is to use a Queue{html} | | useQueueForTopicMessages | _boolean_ | {html}Sets whether a queue or topic should be used for topic messages sent to a DLQ. The default is to use a Queue{html} | {anchor:informixJDBCAdapter-element} h3. The _[|#informixJDBCAdapter-element]_ Element {html}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.{html} h4. Properties || Property Name || Type || Description || | batchStatments | _boolean_ | {html}{html} | | statements | _[org.apache.activemq.store.jdbc.Statements|#org.apache.activemq.store.jdbc.Statements-types]_ | {html}{html} | | useExternalMessageReferences | _boolean_ | {html}{html} | {anchor:jaasAuthenticationPlugin-element} h3. The _[|#jaasAuthenticationPlugin-element]_ Element {html}Provides a JAAS based authentication plugin{html} h4. Properties || Property Name || Type || Description || | configuration | _java.lang.String_ | {html}Sets the JAAS configuration domain name used{html} | | discoverLoginConfig | _boolean_ | {html}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.{html} | {anchor:jaasCertificateAuthenticationPlugin-element} h3. The _[|#jaasCertificateAuthenticationPlugin-element]_ Element {html}Provides a JAAS based SSL certificate authentication plugin{html} h4. Properties || Property Name || Type || Description || | configuration | _java.lang.String_ | {html}Sets the JAAS configuration domain name used{html} | | discoverLoginConfig | _boolean_ | {html}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.{html} | {anchor:jdbcPersistenceAdapter-element} h3. The _[|#jdbcPersistenceAdapter-element]_ Element {html}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.{html} h4. Properties || Property Name || Type || Description || | adapter | _[org.apache.activemq.store.jdbc.JDBCAdapter|#org.apache.activemq.store.jdbc.JDBCAdapter-types]_ | {html}{html} | | brokerService | _[org.apache.activemq.broker.BrokerService|#org.apache.activemq.broker.BrokerService-types]_ | {html}{html} | | cleanupPeriod | _int_ | {html}Sets the number of milliseconds until the database is attempted to be cleaned up for durable topics{html} | | createTablesOnStartup | _boolean_ | {html}Sets whether or not tables are created on startup{html} | | dataDirectory | _java.lang.String_ | {html}{html} | | dataDirectoryFile | _java.io.File_ | {html}{html} | | dataSource | _javax.sql.DataSource_ | {html}{html} | | databaseLocker | _org.apache.activemq.store.jdbc.DatabaseLocker_ | {html}Sets the database locker strategy to use to lock the database on startup{html} | | ds | _javax.sql.DataSource_ | {html}{html} | | scheduledThreadPoolExecutor | _edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecutor_ | {html}{html} | | statements | _[org.apache.activemq.store.jdbc.Statements|#org.apache.activemq.store.jdbc.Statements-types]_ | {html}{html} | | usageManager | _[org.apache.activemq.memory.UsageManager|#org.apache.activemq.memory.UsageManager-types]_ | {html}{html} | | useDatabaseLock | _boolean_ | {html}Sets whether or not an exclusive database lock should be used to enable JDBC Master/Slave. Enabled by default.{html} | | useExternalMessageReferences | _boolean_ | {html}{html} | | wireFormat | _org.apache.activemq.wireformat.WireFormat_ | {html}{html} | {anchor:jmsQueueConnector-element} h3. The _[|#jmsQueueConnector-element]_ Element {html}A Bridge to other JMS Queue providers{html} h4. Properties || Property Name || Type || Description || | brokerService | _[org.apache.activemq.broker.BrokerService|#org.apache.activemq.broker.BrokerService-types]_ | {html}One way to configure the local connection - this is called by The BrokerService when the Connector is embedded{html} | | inboundMessageConvertor | _[org.apache.activemq.network.jms.JmsMesageConvertor|#org.apache.activemq.network.jms.JmsMesageConvertor-types]_ | {html}{html} | | inboundQueueBridges | (_[org.apache.activemq.network.jms.InboundQueueBridge|#org.apache.activemq.network.jms.InboundQueueBridge-types]_)\* | {html}{html} | | jndiLocalTemplate | _org.springframework.jndi.JndiTemplate_ | {html}{html} | | jndiOutboundTemplate | _org.springframework.jndi.JndiTemplate_ | {html}{html} | | localConnectionFactoryName | _java.lang.String_ | {html}{html} | | localPassword | _java.lang.String_ | {html}{html} | | localQueueConnection | _javax.jms.QueueConnection_ | {html}{html} | | localQueueConnectionFactory | _[javax.jms.QueueConnectionFactory|#javax.jms.QueueConnectionFactory-types]_ | {html}{html} | | localUsername | _java.lang.String_ | {html}{html} | | name | _java.lang.String_ | {html}{html} | | outboundMessageConvertor | _[org.apache.activemq.network.jms.JmsMesageConvertor|#org.apache.activemq.network.jms.JmsMesageConvertor-types]_ | {html}{html} | | outboundPassword | _java.lang.String_ | {html}{html} | | outboundQueueBridges | (_[org.apache.activemq.network.jms.OutboundQueueBridge|#org.apache.activemq.network.jms.OutboundQueueBridge-types]_)\* | {html}{html} | | outboundQueueConnection | _javax.jms.QueueConnection_ | {html}{html} | | outboundQueueConnectionFactory | _[javax.jms.QueueConnectionFactory|#javax.jms.QueueConnectionFactory-types]_ | {html}{html} | | outboundQueueConnectionFactoryName | _java.lang.String_ | {html}{html} | | outboundUsername | _java.lang.String_ | {html}{html} | | replyToDestinationCacheSize | _int_ | {html}{html} | {anchor:jmsTopicConnector-element} h3. The _[|#jmsTopicConnector-element]_ Element {html}A Bridge to other JMS Topic providers{html} h4. Properties || Property Name || Type || Description || | brokerService | _[org.apache.activemq.broker.BrokerService|#org.apache.activemq.broker.BrokerService-types]_ | {html}One way to configure the local connection - this is called by The BrokerService when the Connector is embedded{html} | | inboundMessageConvertor | _[org.apache.activemq.network.jms.JmsMesageConvertor|#org.apache.activemq.network.jms.JmsMesageConvertor-types]_ | {html}{html} | | inboundTopicBridges | (_[org.apache.activemq.network.jms.InboundTopicBridge|#org.apache.activemq.network.jms.InboundTopicBridge-types]_)\* | {html}{html} | | jndiLocalTemplate | _org.springframework.jndi.JndiTemplate_ | {html}{html} | | jndiOutboundTemplate | _org.springframework.jndi.JndiTemplate_ | {html}{html} | | localConnectionFactoryName | _java.lang.String_ | {html}{html} | | localPassword | _java.lang.String_ | {html}{html} | | localTopicConnection | _javax.jms.TopicConnection_ | {html}{html} | | localTopicConnectionFactory | _[javax.jms.TopicConnectionFactory|#javax.jms.TopicConnectionFactory-types]_ | {html}{html} | | localUsername | _java.lang.String_ | {html}{html} | | name | _java.lang.String_ | {html}{html} | | outboundMessageConvertor | _[org.apache.activemq.network.jms.JmsMesageConvertor|#org.apache.activemq.network.jms.JmsMesageConvertor-types]_ | {html}{html} | | outboundPassword | _java.lang.String_ | {html}{html} | | outboundTopicBridges | (_[org.apache.activemq.network.jms.OutboundTopicBridge|#org.apache.activemq.network.jms.OutboundTopicBridge-types]_)\* | {html}{html} | | outboundTopicConnection | _javax.jms.TopicConnection_ | {html}{html} | | outboundTopicConnectionFactory | _[javax.jms.TopicConnectionFactory|#javax.jms.TopicConnectionFactory-types]_ | {html}{html} | | outboundTopicConnectionFactoryName | _java.lang.String_ | {html}{html} | | outboundUsername | _java.lang.String_ | {html}{html} | | replyToDestinationCacheSize | _int_ | {html}{html} | {anchor:journalPersistenceAdapter-element} h3. The _[|#journalPersistenceAdapter-element]_ Element {html}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.{html} h4. Properties || Property Name || Type || Description || | journal | _org.apache.activeio.journal.Journal_ | {html}{html} | | longTermPersistence | _[org.apache.activemq.store.PersistenceAdapter|#org.apache.activemq.store.PersistenceAdapter-types]_ | {html}{html} | | maxCheckpointMessageAddSize | _int_ | {html}{html} | | maxCheckpointWorkers | _int_ | {html}{html} | | taskRunnerFactory | _org.apache.activemq.thread.TaskRunnerFactory_ | {html}{html} | | usageManager | _[org.apache.activemq.memory.UsageManager|#org.apache.activemq.memory.UsageManager-types]_ | {html}{html} | | useExternalMessageReferences | _boolean_ | {html}{html} | {anchor:journaledJDBC-element} h3. The _[|#journaledJDBC-element]_ Element {html}Creates a default persistence model using the Journal and JDBC{html} h4. Properties || Property Name || Type || Description || | adapter | _[org.apache.activemq.store.jdbc.JDBCAdapter|#org.apache.activemq.store.jdbc.JDBCAdapter-types]_ | {html}{html} | | createTablesOnStartup | _boolean_ | {html}Sets whether or not tables are created on startup{html} | | dataDirectory | _java.lang.String_ | {html}{html} | | dataDirectoryFile | _java.io.File_ | {html}{html} | | dataSource | _javax.sql.DataSource_ | {html}{html} | | jdbcAdapter | _[org.apache.activemq.store.jdbc.JDBCPersistenceAdapter|#org.apache.activemq.store.jdbc.JDBCPersistenceAdapter-types]_ | {html}{html} | | journal | _org.apache.activeio.journal.Journal_ | {html}{html} | | journalArchiveDirectory | _java.io.File_ | {html}{html} | | journalLogFileSize | _int_ | {html}Sets the size of the journal log files{html} | | journalLogFiles | _int_ | {html}Sets the number of journal log files to use{html} | | journalThreadPriority | _int_ | {html}Sets the thread priority of the journal thread{html} | | statements | _[org.apache.activemq.store.jdbc.Statements|#org.apache.activemq.store.jdbc.Statements-types]_ | {html}{html} | | taskRunnerFactory | _org.apache.activemq.thread.TaskRunnerFactory_ | {html}{html} | | useDatabaseLock | _boolean_ | {html}Sets whether or not an exclusive database lock should be used to enable JDBC Master/Slave. Enabled by default.{html} | | useJournal | _boolean_ | {html}Enables or disables the use of the journal. The default is to use the journal{html} | | useQuickJournal | _boolean_ | {html}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.{html} | {anchor:kahaPersistenceAdapter-element} h3. The _[|#kahaPersistenceAdapter-element]_ Element {html}{html} h4. Properties || Property Name || Type || Description || | dir | _java.io.File_ | {html}{html} | | indexType | _java.lang.String_ | {html}{html} | | maxDataFileLength | _long_ | {html}{html} | | usageManager | _[org.apache.activemq.memory.UsageManager|#org.apache.activemq.memory.UsageManager-types]_ | {html}{html} | | useExternalMessageReferences | _boolean_ | {html}{html} | {anchor:lDAPAuthorizationMap-element} h3. The _[|#lDAPAuthorizationMap-element]_ Element {html}An {@link AuthorizationMap} which uses LDAP{html} h4. Properties || Property Name || Type || Description || | adminAttribute | _java.lang.String_ | {html}{html} | | adminBase | _java.lang.String_ | {html}{html} | | authentication | _java.lang.String_ | {html}{html} | | connectionPassword | _java.lang.String_ | {html}{html} | | connectionProtocol | _java.lang.String_ | {html}{html} | | connectionURL | _java.lang.String_ | {html}{html} | | connectionUsername | _java.lang.String_ | {html}{html} | | context | _javax.naming.directory.DirContext_ | {html}{html} | | initialContextFactory | _java.lang.String_ | {html}{html} | | options | _java.util.Map_ | {html}{html} | | queueSearchMatchingFormat | _java.text.MessageFormat_ | {html}{html} | | queueSearchSubtreeBool | _boolean_ | {html}{html} | | readAttribute | _java.lang.String_ | {html}{html} | | readBase | _java.lang.String_ | {html}{html} | | topicSearchMatchingFormat | _java.text.MessageFormat_ | {html}{html} | | topicSearchSubtreeBool | _boolean_ | {html}{html} | | writeAttribute | _java.lang.String_ | {html}{html} | | writeBase | _java.lang.String_ | {html}{html} | {anchor:lastImageSubscriptionRecoveryPolicy-element} h3. The _[|#lastImageSubscriptionRecoveryPolicy-element]_ Element {html}This implementation of {@link SubscriptionRecoveryPolicy} will only keep the last message.{html} {anchor:loggingBrokerPlugin-element} h3. The _[|#loggingBrokerPlugin-element]_ Element {html}A simple Broker interceptor which allows you to enable/disable logging.{html} h4. Properties || Property Name || Type || Description || | ackLog | _org.apache.commons.logging.Log_ | {html}{html} | | adminConnectionContext | _org.apache.activemq.broker.ConnectionContext_ | {html}{html} | | log | _org.apache.commons.logging.Log_ | {html}{html} | | next | _[org.apache.activemq.broker.Broker|#org.apache.activemq.broker.Broker-types]_ | {html}{html} | | pendingDurableSubscriberPolicy | _[org.apache.activemq.broker.region.policy.PendingDurableSubscriberMessageStoragePolicy|#org.apache.activemq.broker.region.policy.PendingDurableSubscriberMessageStoragePolicy-types]_ | {html}{html} | | sendLog | _org.apache.commons.logging.Log_ | {html}{html} | {anchor:managementContext-element} h3. The _[|#managementContext-element]_ Element {html}A Flow provides different dispatch policies within the NMR{html} h4. Properties || Property Name || Type || Description || | MBeanServer | _javax.management.MBeanServer_ | {html}Get the MBeanServer{html} | | connectorPath | _java.lang.String_ | {html}{html} | | connectorPort | _int_ | {html}{html} | | createConnector | _boolean_ | {html}{html} | | createMBeanServer | _boolean_ | {html}{html} | | findTigerMbeanServer | _boolean_ | {html}Enables/disables the searching for the Java 5 platform MBeanServer{html} | | jmxDomainName | _java.lang.String_ | {html}{html} | | rmiServerPort | _int_ | {html}{html} | | server | _javax.management.MBeanServer_ | {html}{html} | | useMBeanServer | _boolean_ | {html}{html} | {anchor:masterConnector-element} h3. The _[|#masterConnector-element]_ Element {html}Connects a Slave Broker to a Master when using Master Slave for High Availability of messages.{html} h4. Properties || Property Name || Type || Description || | brokerService | _[org.apache.activemq.broker.BrokerService|#org.apache.activemq.broker.BrokerService-types]_ | {html}{html} | | localURI | _java.net.URI_ | {html}{html} | | password | _java.lang.String_ | {html}{html} | | remoteURI | _java.net.URI_ | {html}{html} | | remoteUri | _java.lang.String_ | {html}{html} | | userName | _java.lang.String_ | {html}{html} | {anchor:memoryPersistenceAdapter-element} h3. The _[|#memoryPersistenceAdapter-element]_ Element {html}{html} h4. Properties || Property Name || Type || Description || | usageManager | _[org.apache.activemq.memory.UsageManager|#org.apache.activemq.memory.UsageManager-types]_ | {html}{html} | | useExternalMessageReferences | _boolean_ | {html}{html} | {anchor:messageGroupHashBucketFactory-element} h3. The _[|#messageGroupHashBucketFactory-element]_ Element {html}A factory to create instances of {@link SimpleMessageGroupMap} when implementing the Message Groups functionality.{html} h4. Properties || Property Name || Type || Description || | bucketCount | _int_ | {html}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).{html} | {anchor:multicastNetworkConnector-element} h3. The _[|#multicastNetworkConnector-element]_ Element {html}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.{html} h4. Properties || Property Name || Type || Description || | bridge | _[org.apache.activemq.network.DemandForwardingBridgeSupport|#org.apache.activemq.network.DemandForwardingBridgeSupport-types]_ | {html}{html} | | bridgeTempDestinations | _boolean_ | {html}{html} | | brokerName | _java.lang.String_ | {html}{html} | | conduitSubscriptions | _boolean_ | {html}{html} | | connectionFilter | _org.apache.activemq.network.ConnectionFilter_ | {html}{html} | | decreaseNetworkConsumerPriority | _boolean_ | {html}{html} | | dispatchAsync | _boolean_ | {html}{html} | | durableDestinations | _java.util.Set_ | {html}{html} | | dynamicOnly | _boolean_ | {html}{html} | | dynamicallyIncludedDestinations | (_java.lang.Object_)\* | {html}{html} | | excludedDestinations | (_java.lang.Object_)\* | {html}{html} | | localTransport | _org.apache.activemq.transport.Transport_ | {html}{html} | | localUri | _java.net.URI_ | {html}{html} | | name | _java.lang.String_ | {html}{html} | | networkTTL | _int_ | {html}{html} | | password | _java.lang.String_ | {html}{html} | | prefetchSize | _int_ | {html}{html} | | remoteTransport | _org.apache.activemq.transport.Transport_ | {html}Sets the remote transport implementation{html} | | remoteURI | _java.net.URI_ | {html}Sets the remote transport URI to some group transport like multicast://address:port{html} | | staticallyIncludedDestinations | (_java.lang.Object_)\* | {html}{html} | | userName | _java.lang.String_ | {html}{html} | {anchor:multicastTraceBrokerPlugin-element} h3. The _[|#multicastTraceBrokerPlugin-element]_ Element {html}A Broker interceptor which allows you to trace all operations to a Multicast socket.{html} h4. Properties || Property Name || Type || Description || | address | _java.net.SocketAddress_ | {html}{html} | | adminConnectionContext | _org.apache.activemq.broker.ConnectionContext_ | {html}{html} | | broadcast | _boolean_ | {html}{html} | | destination | _java.net.URI_ | {html}{html} | | maxTraceDatagramSize | _int_ | {html}{html} | | next | _[org.apache.activemq.broker.Broker|#org.apache.activemq.broker.Broker-types]_ | {html}{html} | | pendingDurableSubscriberPolicy | _[org.apache.activemq.broker.region.policy.PendingDurableSubscriberMessageStoragePolicy|#org.apache.activemq.broker.region.policy.PendingDurableSubscriberMessageStoragePolicy-types]_ | {html}{html} | | timeToLive | _int_ | {html}{html} | | wireFormat | _org.apache.activemq.wireformat.WireFormat_ | {html}{html} | | wireFormatFactory | _org.apache.activemq.wireformat.WireFormatFactory_ | {html}{html} | {anchor:networkConnector-element} h3. The _[|#networkConnector-element]_ Element {html}A network connector which uses a discovery agent to detect the remote brokers available and setup a connection to each available remote broker{html} h4. Properties || Property Name || Type || Description || | bridgeTempDestinations | _boolean_ | {html}{html} | | brokerName | _java.lang.String_ | {html}{html} | | conduitSubscriptions | _boolean_ | {html}{html} | | connectionFilter | _org.apache.activemq.network.ConnectionFilter_ | {html}{html} | | decreaseNetworkConsumerPriority | _boolean_ | {html}{html} | | discoveryAgent | _org.apache.activemq.transport.discovery.DiscoveryAgent_ | {html}{html} | | discoveryURI | _java.net.URI_ | {html}{html} | | dispatchAsync | _boolean_ | {html}{html} | | durableDestinations | _java.util.Set_ | {html}{html} | | dynamicOnly | _boolean_ | {html}{html} | | dynamicallyIncludedDestinations | (_java.lang.Object_)\* | {html}{html} | | excludedDestinations | (_java.lang.Object_)\* | {html}{html} | | failover | _boolean_ | {html}{html} | | localUri | _java.net.URI_ | {html}{html} | | name | _java.lang.String_ | {html}{html} | | networkTTL | _int_ | {html}{html} | | password | _java.lang.String_ | {html}{html} | | prefetchSize | _int_ | {html}{html} | | staticallyIncludedDestinations | (_java.lang.Object_)\* | {html}{html} | | uri | _java.net.URI_ | {html}{html} | | userName | _java.lang.String_ | {html}{html} | {anchor:noSubscriptionRecoveryPolicy-element} h3. The _[|#noSubscriptionRecoveryPolicy-element]_ Element {html}This SubscriptionRecoveryPolicy disable recovery of messages.{html} {anchor:oldestMessageEvictionStrategy-element} h3. The _[|#oldestMessageEvictionStrategy-element]_ Element {html}An eviction strategy which evicts the oldest message first (which is the default).{html} h4. Properties || Property Name || Type || Description || | evictExpiredMessagesHighWatermark | _int_ | {html}Sets the high water mark on which we will eagerly evict expired messages from RAM{html} | {anchor:oldestMessageWithLowestPriorityEvictionStrategy-element} h3. The _[|#oldestMessageWithLowestPriorityEvictionStrategy-element]_ Element {html}An eviction strategy which evicts the oldest message with the lowest priority first.{html} h4. Properties || Property Name || Type || Description || | evictExpiredMessagesHighWatermark | _int_ | {html}Sets the high water mark on which we will eagerly evict expired messages from RAM{html} | {anchor:oracleJDBCAdapter-element} h3. The _[|#oracleJDBCAdapter-element]_ Element {html}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:

{html} h4. Properties || Property Name || Type || Description || | batchStatments | _boolean_ | {html}{html} | | statements | _[org.apache.activemq.store.jdbc.Statements|#org.apache.activemq.store.jdbc.Statements-types]_ | {html}{html} | | useExternalMessageReferences | _boolean_ | {html}{html} | {anchor:outboundQueueBridge-element} h3. The _[|#outboundQueueBridge-element]_ Element {html}Create an Outbound Queue Bridge{html} h4. Properties || Property Name || Type || Description || | consumer | _javax.jms.MessageConsumer_ | {html}{html} | | consumerConnection | _javax.jms.QueueConnection_ | {html}{html} | | consumerQueue | _[javax.jms.Queue|#javax.jms.Queue-types]_ | {html}{html} | | doHandleReplyTo | _boolean_ | {html}{html} | | jmsConnector | _[org.apache.activemq.network.jms.JmsConnector|#org.apache.activemq.network.jms.JmsConnector-types]_ | {html}{html} | | jmsMessageConvertor | _[org.apache.activemq.network.jms.JmsMesageConvertor|#org.apache.activemq.network.jms.JmsMesageConvertor-types]_ | {html}{html} | | localQueueName | _java.lang.String_ | {html}{html} | | maximumRetries | _int_ | {html}Sets the maximum number of retries if a send fails before closing the bridge{html} | | outboundQueueName | _java.lang.String_ | {html}{html} | | producerConnection | _javax.jms.QueueConnection_ | {html}{html} | | producerQueue | _[javax.jms.Queue|#javax.jms.Queue-types]_ | {html}{html} | | selector | _java.lang.String_ | {html}{html} | {anchor:outboundTopicBridge-element} h3. The _[|#outboundTopicBridge-element]_ Element {html}Create an Outbound Topic Bridge{html} h4. Properties || Property Name || Type || Description || | consumer | _javax.jms.MessageConsumer_ | {html}{html} | | consumerConnection | _javax.jms.TopicConnection_ | {html}{html} | | consumerName | _java.lang.String_ | {html}{html} | | consumerTopic | _[javax.jms.Topic|#javax.jms.Topic-types]_ | {html}{html} | | doHandleReplyTo | _boolean_ | {html}{html} | | jmsConnector | _[org.apache.activemq.network.jms.JmsConnector|#org.apache.activemq.network.jms.JmsConnector-types]_ | {html}{html} | | jmsMessageConvertor | _[org.apache.activemq.network.jms.JmsMesageConvertor|#org.apache.activemq.network.jms.JmsMesageConvertor-types]_ | {html}{html} | | localTopicName | _java.lang.String_ | {html}{html} | | maximumRetries | _int_ | {html}Sets the maximum number of retries if a send fails before closing the bridge{html} | | outboundTopicName | _java.lang.String_ | {html}{html} | | producerConnection | _javax.jms.TopicConnection_ | {html}{html} | | producerTopic | _[javax.jms.Topic|#javax.jms.Topic-types]_ | {html}{html} | | selector | _java.lang.String_ | {html}{html} | {anchor:policyEntry-element} h3. The _[|#policyEntry-element]_ Element {html}Represents an entry in a {@link PolicyMap} for assigning policies to a specific destination or a hierarchical wildcard area of destinations.{html} h4. Properties || Property Name || Type || Description || | deadLetterStrategy | _[org.apache.activemq.broker.region.policy.DeadLetterStrategy|#org.apache.activemq.broker.region.policy.DeadLetterStrategy-types]_ | {html}Sets the policy used to determine which dead letter queue destination should be used{html} | | destination | _[org.apache.activemq.command.ActiveMQDestination|#org.apache.activemq.command.ActiveMQDestination-types]_ | {html}{html} | | dispatchPolicy | _[org.apache.activemq.broker.region.policy.DispatchPolicy|#org.apache.activemq.broker.region.policy.DispatchPolicy-types]_ | {html}{html} | | memoryLimit | _long_ | {html}{html} | | messageEvictionStrategy | _[org.apache.activemq.broker.region.policy.MessageEvictionStrategy|#org.apache.activemq.broker.region.policy.MessageEvictionStrategy-types]_ | {html}Sets the eviction strategy used to decide which message to evict when the slow consumer needs to discard messages{html} | | messageGroupMapFactory | _[org.apache.activemq.broker.region.group.MessageGroupMapFactory|#org.apache.activemq.broker.region.group.MessageGroupMapFactory-types]_ | {html}Sets the factory used to create new instances of {MessageGroupMap} used to implement the Message Groups functionality.{html} | | pendingMessageLimitStrategy | _[org.apache.activemq.broker.region.policy.PendingMessageLimitStrategy|#org.apache.activemq.broker.region.policy.PendingMessageLimitStrategy-types]_ | {html}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.{html} | | pendingQueueMessageStoragePolicy | _[org.apache.activemq.broker.region.policy.PendingQueueMessageStoragePolicy|#org.apache.activemq.broker.region.policy.PendingQueueMessageStoragePolicy-types]_ | {html}{html} | | queue | _java.lang.String_ | {html}A helper method to set the destination from a configuration file{html} | | sendAdvisoryIfNoConsumers | _boolean_ | {html}Sends an advisory message if a non-persistent message is sent and there are no active consumers{html} | | subscriptionRecoveryPolicy | _[org.apache.activemq.broker.region.policy.SubscriptionRecoveryPolicy|#org.apache.activemq.broker.region.policy.SubscriptionRecoveryPolicy-types]_ | {html}{html} | | topic | _java.lang.String_ | {html}A helper method to set the destination from a configuration file{html} | {anchor:policyMap-element} h3. The _[|#policyMap-element]_ Element {html}Represents a destination based configuration of policies so that individual destinations or wildcard hierarchies of destinations can be configured using different policies.{html} h4. Properties || Property Name || Type || Description || | defaultEntry | _[org.apache.activemq.broker.region.policy.PolicyEntry|#org.apache.activemq.broker.region.policy.PolicyEntry-types]_ | {html}{html} | | entries | (_java.lang.Object_)\* | {html}A helper method to allow the destination map to be populated from a dependency injection framework such as Spring{html} | | policyEntries | (_java.lang.Object_)\* | {html}Sets the individual entries on the policy map{html} | {anchor:prefetchPolicy-element} h3. The _[|#prefetchPolicy-element]_ Element {html}Defines the prefetch message policies for different types of consumers{html} h4. Properties || Property Name || Type || Description || | all | _int_ | {html}{html} | | durableTopicPrefetch | _int_ | {html}{html} | | inputStreamPrefetch | _int_ | {html}{html} | | maximumPendingMessageLimit | _int_ | {html}Sets how many messages a broker will keep around, above the prefetch limit, for non-durable topics before starting to discard older messages.{html} | | optimizeDurableTopicPrefetch | _int_ | {html}{html} | | queueBrowserPrefetch | _int_ | {html}{html} | | queuePrefetch | _int_ | {html}{html} | | topicPrefetch | _int_ | {html}{html} | {anchor:prefetchRatePendingMessageLimitStrategy-element} h3. The _[|#prefetchRatePendingMessageLimitStrategy-element]_ Element {html}This PendingMessageLimitStrategy sets the maximum pending message limit value to be a multiplier of the prefetch limit of the subscription.{html} h4. Properties || Property Name || Type || Description || | multiplier | _double_ | {html}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.{html} | {anchor:proxyConnector-element} h3. The _[|#proxyConnector-element]_ Element {html}{html} h4. Properties || Property Name || Type || Description || | bind | _java.net.URI_ | {html}{html} | | localUri | _java.net.URI_ | {html}{html} | | name | _java.lang.String_ | {html}{html} | | remote | _java.net.URI_ | {html}{html} | | server | _org.apache.activemq.transport.TransportServer_ | {html}{html} | {anchor:queryBasedSubscriptionRecoveryPolicy-element} h3. The _[|#queryBasedSubscriptionRecoveryPolicy-element]_ Element {html}This implementation of {@link SubscriptionRecoveryPolicy} will perform a user specific query mechanism to load any messages they may have missed.{html} h4. Properties || Property Name || Type || Description || | query | _org.apache.activemq.broker.region.policy.MessageQuery_ | {html}Sets the query strategy to load initial messages{html} | {anchor:queue-element} h3. The _[|#queue-element]_ Element {html}An ActiveMQ Queue Destination{html} h4. Properties || Property Name || Type || Description || | compositeDestinations | (_[org.apache.activemq.command.ActiveMQDestination|#org.apache.activemq.command.ActiveMQDestination-types]_)\* | {html}{html} | | name | _java.lang.String_ | {html}{html} | | physicalName | _java.lang.String_ | {html}{html} | | properties | _java.util.Properties_ | {html}Get the properties from this instance for storing in JNDI{html} | {anchor:quickJournalPersistenceAdapter-element} h3. The _[|#quickJournalPersistenceAdapter-element]_ Element {html}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.{html} h4. Properties || Property Name || Type || Description || | journal | _org.apache.activeio.journal.Journal_ | {html}{html} | | longTermPersistence | _[org.apache.activemq.store.PersistenceAdapter|#org.apache.activemq.store.PersistenceAdapter-types]_ | {html}{html} | | maxCheckpointMessageAddSize | _int_ | {html}{html} | | maxCheckpointWorkers | _int_ | {html}{html} | | taskRunnerFactory | _org.apache.activemq.thread.TaskRunnerFactory_ | {html}{html} | | usageManager | _[org.apache.activemq.memory.UsageManager|#org.apache.activemq.memory.UsageManager-types]_ | {html}{html} | | useExternalMessageReferences | _boolean_ | {html}{html} | {anchor:rapidPersistenceAdapter-element} h3. The _[|#rapidPersistenceAdapter-element]_ Element {html}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.{html} h4. Properties || Property Name || Type || Description || | journal | _org.apache.activeio.journal.Journal_ | {html}{html} | | maxCheckpointMessageAddSize | _int_ | {html}{html} | | maxCheckpointWorkers | _int_ | {html}{html} | | taskRunnerFactory | _org.apache.activemq.thread.TaskRunnerFactory_ | {html}{html} | | usageManager | _[org.apache.activemq.memory.UsageManager|#org.apache.activemq.memory.UsageManager-types]_ | {html}{html} | | useExternalMessageReferences | _boolean_ | {html}{html} | {anchor:redeliveryPolicy-element} h3. The _[|#redeliveryPolicy-element]_ Element {html}Configuration options used to control how messages are re-delivered when they are rolled back.{html} h4. Properties || Property Name || Type || Description || | backOffMultiplier | _short_ | {html}{html} | | collisionAvoidancePercent | _short_ | {html}{html} | | initialRedeliveryDelay | _long_ | {html}{html} | | maximumRedeliveries | _int_ | {html}{html} | | useCollisionAvoidance | _boolean_ | {html}{html} | | useExponentialBackOff | _boolean_ | {html}{html} | {anchor:roundRobinDispatchPolicy-element} h3. The _[|#roundRobinDispatchPolicy-element]_ Element {html}Simple dispatch policy that sends a message to every subscription that matches the message.{html} {anchor:sharedDeadLetterStrategy-element} h3. The _[|#sharedDeadLetterStrategy-element]_ Element {html}A default implementation of {@link DeadLetterStrategy} which uses a constant destination.{html} h4. Properties || Property Name || Type || Description || | deadLetterQueue | _[org.apache.activemq.command.ActiveMQDestination|#org.apache.activemq.command.ActiveMQDestination-types]_ | {html}{html} | {anchor:simpleAuthenticationPlugin-element} h3. The _[|#simpleAuthenticationPlugin-element]_ Element {html}Provides a simple authentication{html} h4. Properties || Property Name || Type || Description || | userGroups | _java.util.Map_ | {html}Sets the groups a user is in. The key is the user name and the value is a Set of groups{html} | | userPasswords | _java.util.Map_ | {html}Sets the map indexed by user name with the value the password{html} | {anchor:simpleAuthorizationMap-element} h3. The _[|#simpleAuthorizationMap-element]_ Element {html}An AuthorizationMap which is configured with individual DestinationMaps for each operation.{html} h4. Properties || Property Name || Type || Description || | adminACLs | _[org.apache.activemq.filter.DestinationMap|#org.apache.activemq.filter.DestinationMap-types]_ | {html}{html} | | readACLs | _[org.apache.activemq.filter.DestinationMap|#org.apache.activemq.filter.DestinationMap-types]_ | {html}{html} | | writeACLs | _[org.apache.activemq.filter.DestinationMap|#org.apache.activemq.filter.DestinationMap-types]_ | {html}{html} | {anchor:simpleDispatchPolicy-element} h3. The _[|#simpleDispatchPolicy-element]_ Element {html}Simple dispatch policy that sends a message to every subscription that matches the message.{html} {anchor:simpleJmsMessageConvertor-element} h3. The _[|#simpleJmsMessageConvertor-element]_ Element {html}Converts Message from one JMS to another{html} h4. Properties || Property Name || Type || Description || | connection | _javax.jms.Connection_ | {html}{html} | {anchor:simpleMessageGroupMapFactory-element} h3. The _[|#simpleMessageGroupMapFactory-element]_ Element {html}A factory to create instances of {@link SimpleMessageGroupMap} when implementing the Message Groups functionality.{html} {anchor:statements-element} h3. The _[|#statements-element]_ Element {html}{html} h4. Properties || Property Name || Type || Description || | addMessageStatement | _java.lang.String_ | {html}{html} | | binaryDataType | _java.lang.String_ | {html}{html} | | containerNameDataType | _java.lang.String_ | {html}{html} | | createDurableSubStatement | _java.lang.String_ | {html}{html} | | createSchemaStatements | (_java.lang.String_)\* | {html}{html} | | deleteOldMessagesStatement | _java.lang.String_ | {html}{html} | | deleteSubscriptionStatement | _java.lang.String_ | {html}{html} | | dropSchemaStatements | (_java.lang.String_)\* | {html}{html} | | durableSubAcksTableName | _java.lang.String_ | {html}{html} | | durableSubscriberMessageCountStatement | _java.lang.String_ | {html}{html} | | findAllDestinationsStatement | _java.lang.String_ | {html}{html} | | findAllDurableSubMessagesStatement | _java.lang.String_ | {html}{html} | | findAllDurableSubsStatement | _java.lang.String_ | {html}{html} | | findAllMessagesStatement | _java.lang.String_ | {html}{html} | | findDurableSubMessagesStatement | _java.lang.String_ | {html}{html} | | findDurableSubStatement | _java.lang.String_ | {html}{html} | | findLastSequenceIdInAcksStatement | _java.lang.String_ | {html}{html} | | findLastSequenceIdInMsgsStatement | _java.lang.String_ | {html}{html} | | findMessageSequenceIdStatement | _java.lang.String_ | {html}{html} | | findMessageStatement | _java.lang.String_ | {html}{html} | | lockCreateStatement | _java.lang.String_ | {html}{html} | | lockTableName | _java.lang.String_ | {html}{html} | | lockUpdateStatement | _java.lang.String_ | {html}{html} | | longDataType | _java.lang.String_ | {html}{html} | | messageTableName | _java.lang.String_ | {html}{html} | | msgIdDataType | _java.lang.String_ | {html}{html} | | nextDurableSubscriberMessageIdStatement | _java.lang.String_ | {html}{html} | | nextDurableSubscriberMessageStatement | _java.lang.String_ | {html}{html} | | prevDurableSubscriberMessageIdStatement | _java.lang.String_ | {html}{html} | | removeAllMessagesStatement | _java.lang.String_ | {html}{html} | | removeAllSubscriptionsStatement | _java.lang.String_ | {html}{html} | | removeMessageStatment | _java.lang.String_ | {html}{html} | | sequenceDataType | _java.lang.String_ | {html}{html} | | stringIdDataType | _java.lang.String_ | {html}{html} | | tablePrefix | _java.lang.String_ | {html}{html} | | updateLastAckOfDurableSubStatement | _java.lang.String_ | {html}{html} | | updateMessageStatement | _java.lang.String_ | {html}{html} | | useExternalMessageReferences | _boolean_ | {html}{html} | | useLockCreateWhereClause | _boolean_ | {html}{html} | {anchor:storeDurableSubscriberCursor-element} h3. The _[|#storeDurableSubscriberCursor-element]_ Element {html}Pending messages for a durable subscriber{html} {anchor:streamJDBCAdapter-element} h3. The _[|#streamJDBCAdapter-element]_ Element {html}This JDBCAdapter inserts and extracts BLOB data using the setBinaryStream()/getBinaryStream() operations. The databases/JDBC drivers that use this adapter are:
  • Axion
{html} h4. Properties || Property Name || Type || Description || | batchStatments | _boolean_ | {html}{html} | | statements | _[org.apache.activemq.store.jdbc.Statements|#org.apache.activemq.store.jdbc.Statements-types]_ | {html}{html} | | useExternalMessageReferences | _boolean_ | {html}{html} | {anchor:strictOrderDispatchPolicy-element} h3. The _[|#strictOrderDispatchPolicy-element]_ Element {html}Dispatch policy that causes every subscription to see messages in the same order.{html} {anchor:timeStampingBrokerPlugin-element} h3. The _[|#timeStampingBrokerPlugin-element]_ Element {html}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.{html} h4. Properties || Property Name || Type || Description || | adminConnectionContext | _org.apache.activemq.broker.ConnectionContext_ | {html}{html} | | next | _[org.apache.activemq.broker.Broker|#org.apache.activemq.broker.Broker-types]_ | {html}{html} | | pendingDurableSubscriberPolicy | _[org.apache.activemq.broker.region.policy.PendingDurableSubscriberMessageStoragePolicy|#org.apache.activemq.broker.region.policy.PendingDurableSubscriberMessageStoragePolicy-types]_ | {html}{html} | {anchor:timedSubscriptionRecoveryPolicy-element} h3. The _[|#timedSubscriptionRecoveryPolicy-element]_ Element {html}This implementation of {@link SubscriptionRecoveryPolicy} will keep a timed buffer of messages around in memory and use that to recover new subscriptions.{html} h4. Properties || Property Name || Type || Description || | recoverDuration | _long_ | {html}{html} | {anchor:topic-element} h3. The _[|#topic-element]_ Element {html}An ActiveMQ Topic Destination{html} h4. Properties || Property Name || Type || Description || | compositeDestinations | (_[org.apache.activemq.command.ActiveMQDestination|#org.apache.activemq.command.ActiveMQDestination-types]_)\* | {html}{html} | | name | _java.lang.String_ | {html}{html} | | physicalName | _java.lang.String_ | {html}{html} | | properties | _java.util.Properties_ | {html}Get the properties from this instance for storing in JNDI{html} | {anchor:transportConnector-element} h3. The _[|#transportConnector-element]_ Element {html}{html} h4. Properties || Property Name || Type || Description || | broker | _[org.apache.activemq.broker.Broker|#org.apache.activemq.broker.Broker-types]_ | {html}{html} | | brokerInfo | _org.apache.activemq.command.BrokerInfo_ | {html}{html} | | brokerName | _java.lang.String_ | {html}{html} | | connectUri | _java.net.URI_ | {html}{html} | | disableAsyncDispatch | _boolean_ | {html}{html} | | discoveryAgent | _org.apache.activemq.transport.discovery.DiscoveryAgent_ | {html}{html} | | discoveryUri | _java.net.URI_ | {html}{html} | | enableStatusMonitor | _boolean_ | {html}{html} | | messageAuthorizationPolicy | _org.apache.activemq.security.MessageAuthorizationPolicy_ | {html}Sets the policy used to decide if the current connection is authorized to consume a given message{html} | | name | _java.lang.String_ | {html}{html} | | server | _org.apache.activemq.transport.TransportServer_ | {html}{html} | | taskRunnerFactory | _org.apache.activemq.thread.TaskRunnerFactory_ | {html}{html} | | uri | _java.net.URI_ | {html}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{html} | {anchor:udpTraceBrokerPlugin-element} h3. The _[|#udpTraceBrokerPlugin-element]_ Element {html}A Broker interceptor which allows you to trace all operations to a UDP socket.{html} h4. Properties || Property Name || Type || Description || | address | _java.net.SocketAddress_ | {html}{html} | | adminConnectionContext | _org.apache.activemq.broker.ConnectionContext_ | {html}{html} | | broadcast | _boolean_ | {html}{html} | | destination | _java.net.URI_ | {html}{html} | | maxTraceDatagramSize | _int_ | {html}{html} | | next | _[org.apache.activemq.broker.Broker|#org.apache.activemq.broker.Broker-types]_ | {html}{html} | | pendingDurableSubscriberPolicy | _[org.apache.activemq.broker.region.policy.PendingDurableSubscriberMessageStoragePolicy|#org.apache.activemq.broker.region.policy.PendingDurableSubscriberMessageStoragePolicy-types]_ | {html}{html} | | wireFormat | _org.apache.activemq.wireformat.WireFormat_ | {html}{html} | | wireFormatFactory | _org.apache.activemq.wireformat.WireFormatFactory_ | {html}{html} | {anchor:usageManager-element} h3. The _[|#usageManager-element]_ Element {html}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.{html} h4. Properties || Property Name || Type || Description || | limit | _long_ | {html}Sets the memory limit in bytes. When set using XBean, you can use values such as: "20 mb", "1024 kb", or "1 gb"{html} | | parent | _[org.apache.activemq.memory.UsageManager|#org.apache.activemq.memory.UsageManager-types]_ | {html}{html} | | percentUsage | _int_ | {html}{html} | | percentUsageMinDelta | _int_ | {html}Sets the minimum number of percentage points the usage has to change before a UsageListener event is fired by the manager.{html} | | sendFailIfNoSpace | _boolean_ | {html}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{html} | {anchor:virtualDestinationInterceptor-element} h3. The _[|#virtualDestinationInterceptor-element]_ Element {html}Implements Virtual Topics.{html} h4. Properties || Property Name || Type || Description || | virtualDestinations | (_[org.apache.activemq.broker.region.virtual.VirtualDestination|#org.apache.activemq.broker.region.virtual.VirtualDestination-types]_)\* | {html}{html} | {anchor:virtualTopic-element} h3. The _[|#virtualTopic-element]_ Element {html}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.{html} h4. Properties || Property Name || Type || Description || | name | _java.lang.String_ | {html}{html} | | postfix | _java.lang.String_ | {html}Sets any postix used to identify the queue consumers{html} | | prefix | _java.lang.String_ | {html}Sets the prefix wildcard used to identify the queue consumers for a given topic{html} | {anchor:vmCursor-element} h3. The _[|#vmCursor-element]_ Element {html}Pending messages held in the JVM{html} {anchor:xaConnectionFactory-element} h3. The _[|#xaConnectionFactory-element]_ Element {html}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.{html} h4. Properties || Property Name || Type || Description || | alwaysSessionAsync | _boolean_ | {html}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{html} | | beanName | _java.lang.String_ | {html}{html} | | brokerURL | _java.lang.String_ | {html}Sets the connection URL used to connect to the ActiveMQ broker.{html} | | clientID | _java.lang.String_ | {html}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{html} | | clientIDPrefix | _java.lang.String_ | {html}Sets the prefix used by autogenerated JMS Client ID values which are used if the JMS client does not explicitly specify on.{html} | | clientIdGenerator | _org.apache.activemq.util.IdGenerator_ | {html}{html} | | closeTimeout | _int_ | {html}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{html} | | copyMessageOnSend | _boolean_ | {html}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{html} | | disableTimeStampsByDefault | _boolean_ | {html}Sets whether or not timestamps on messages should be disabled or not. If you disable them it adds a small performance boost.{html} | | dispatchAsync | _boolean_ | {html}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.{html} | | nestedMapAndListEnabled | _boolean_ | {html}Enables/disables whether or not Message properties and MapMessage entries support Nested Structures of Map and List objects{html} | | objectMessageSerializationDefered | _boolean_ | {html}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.{html} | | optimizeAcknowledge | _boolean_ | {html}{html} | | optimizedMessageDispatch | _boolean_ | {html}If this flag is set then an larger prefetch limit is used - only applicable for durable topic subscribers.{html} | | password | _java.lang.String_ | {html}Sets the JMS password used for connections created from this factory{html} | | prefetchPolicy | _[org.apache.activemq.ActiveMQPrefetchPolicy|#org.apache.activemq.ActiveMQPrefetchPolicy-types]_ | {html}Sets the prefetch policy for consumers created by this connection.{html} | | properties | _java.util.Properties_ | {html}Get the properties from this instance for storing in JNDI{html} | | redeliveryPolicy | _[org.apache.activemq.RedeliveryPolicy|#org.apache.activemq.RedeliveryPolicy-types]_ | {html}Sets the global redelivery policy to be used when a message is delivered but the session is rolled back{html} | | statsEnabled | _boolean_ | {html}{html} | | useAsyncSend | _boolean_ | {html}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.{html} | | useBeanNameAsClientIdPrefix | _boolean_ | {html}{html} | | useCompression | _boolean_ | {html}Enables the use of compression of the message bodies{html} | | useRetroactiveConsumer | _boolean_ | {html}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.{html} | | useSyncSend | _boolean_ | {html}{html} | | userName | _java.lang.String_ | {html}Sets the JMS userName used by connections created by this factory{html} | | watchTopicAdvisories | _boolean_ | {html}{html} | h3. Element Index | _[|#authorizationEntry-element]_ | {html}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.{html} | | _[|#authorizationMap-element]_ | {html}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.{html} | | _[|#authorizationPlugin-element]_ | {html}An authorization plugin where each operation on a destination is checked against an authorizationMap{html} | | _[|#axionJDBCAdapter-element]_ | {html}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.{html} | | _[|#blobJDBCAdapter-element]_ | {html}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:
{html} | | _[|#broker-element]_ | {html}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.{html} | | _[|#bytesJDBCAdapter-element]_ | {html}This JDBCAdapter inserts and extracts BLOB data using the setBytes()/getBytes() operations. The databases/JDBC drivers that use this adapter are:{html} | | _[|#commandAgent-element]_ | {html}An agent which listens to commands on a JMS destination{html} | | _[|#compositeDemandForwardingBridge-element]_ | {html}A demand forwarding bridge which works with multicast style transports where a single Transport could be communicating with multiple remote brokers{html} | | _[|#compositeQueue-element]_ | {html}Represents a virtual queue which forwards to a number of other destinations.{html} | | _[|#compositeTopic-element]_ | {html}Represents a virtual topic which forwards to a number of other destinations.{html} | | _[|#connectionDotFilePlugin-element]_ | {html}A DOT file creator plugin which creates a DOT file showing the current connections{html} | | _[|#connectionFactory-element]_ | {html}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.{html} | | _[|#constantPendingMessageLimitStrategy-element]_ | {html}This PendingMessageLimitStrategy is configured to a constant value for all subscriptions.{html} | | _[|#db2JDBCAdapter-element]_ | {html}{html} | | _[|#defaultJDBCAdapter-element]_ | {html}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:

{html} | | _[|#demandForwardingBridge-element]_ | {html}Forwards messages from the local broker to the remote broker based on demand.{html} | | _[|#destinationDotFilePlugin-element]_ | {html}A DOT file creator plugin which creates a DOT file showing the current topic & queue hierarchies.{html} | | _[|#destinationEntry-element]_ | {html}A default entry in a DestinationMap which holds a single value.{html} | | _[|#fileDurableSubscriberCursor-element]_ | {html}Pending messages for durable subscribers{html} | | _[|#fixedCountSubscriptionRecoveryPolicy-element]_ | {html}This implementation of {@link SubscriptionRecoveryPolicy} will keep a fixed count of last messages.{html} | | _[|#fixedSizedSubscriptionRecoveryPolicy-element]_ | {html}This implementation of {@link SubscriptionRecoveryPolicy} will keep a fixed amount of memory available in RAM for message history which is evicted in time order.{html} | | _[|#forwardingBridge-element]_ | {html}Forwards all messages from the local broker to the remote broker.{html} | | _[|#imageBasedJDBCAdaptor-element]_ | {html}Provides JDBCAdapter since that uses IMAGE datatype to hold binary data. The databases/JDBC drivers that use this adapter are:
  • Sybase
  • MS SQL
{html} | | _[|#inboundQueueBridge-element]_ | {html}Create an Inbound Queue Bridge{html} | | _[|#inboundTopicBridge-element]_ | {html}Create an Inbound Topic Bridge{html} | | _[|#individualDeadLetterStrategy-element]_ | {html}A {@link DeadLetterStrategy} where each destination has its own individual DLQ using the subject naming hierarchy.{html} | | _[|#informixJDBCAdapter-element]_ | {html}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.{html} | | _[|#jaasAuthenticationPlugin-element]_ | {html}Provides a JAAS based authentication plugin{html} | | _[|#jaasCertificateAuthenticationPlugin-element]_ | {html}Provides a JAAS based SSL certificate authentication plugin{html} | | _[|#jdbcPersistenceAdapter-element]_ | {html}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.{html} | | _[|#jmsQueueConnector-element]_ | {html}A Bridge to other JMS Queue providers{html} | | _[|#jmsTopicConnector-element]_ | {html}A Bridge to other JMS Topic providers{html} | | _[|#journalPersistenceAdapter-element]_ | {html}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.{html} | | _[|#journaledJDBC-element]_ | {html}Creates a default persistence model using the Journal and JDBC{html} | | _[|#kahaPersistenceAdapter-element]_ | {html}{html} | | _[|#lDAPAuthorizationMap-element]_ | {html}An {@link AuthorizationMap} which uses LDAP{html} | | _[|#lastImageSubscriptionRecoveryPolicy-element]_ | {html}This implementation of {@link SubscriptionRecoveryPolicy} will only keep the last message.{html} | | _[|#loggingBrokerPlugin-element]_ | {html}A simple Broker interceptor which allows you to enable/disable logging.{html} | | _[|#managementContext-element]_ | {html}A Flow provides different dispatch policies within the NMR{html} | | _[|#masterConnector-element]_ | {html}Connects a Slave Broker to a Master when using Master Slave for High Availability of messages.{html} | | _[|#memoryPersistenceAdapter-element]_ | {html}{html} | | _[|#messageGroupHashBucketFactory-element]_ | {html}A factory to create instances of {@link SimpleMessageGroupMap} when implementing the Message Groups functionality.{html} | | _[|#multicastNetworkConnector-element]_ | {html}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.{html} | | _[|#multicastTraceBrokerPlugin-element]_ | {html}A Broker interceptor which allows you to trace all operations to a Multicast socket.{html} | | _[|#networkConnector-element]_ | {html}A network connector which uses a discovery agent to detect the remote brokers available and setup a connection to each available remote broker{html} | | _[|#noSubscriptionRecoveryPolicy-element]_ | {html}This SubscriptionRecoveryPolicy disable recovery of messages.{html} | | _[|#oldestMessageEvictionStrategy-element]_ | {html}An eviction strategy which evicts the oldest message first (which is the default).{html} | | _[|#oldestMessageWithLowestPriorityEvictionStrategy-element]_ | {html}An eviction strategy which evicts the oldest message with the lowest priority first.{html} | | _[|#oracleJDBCAdapter-element]_ | {html}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:

{html} | | _[|#outboundQueueBridge-element]_ | {html}Create an Outbound Queue Bridge{html} | | _[|#outboundTopicBridge-element]_ | {html}Create an Outbound Topic Bridge{html} | | _[|#policyEntry-element]_ | {html}Represents an entry in a {@link PolicyMap} for assigning policies to a specific destination or a hierarchical wildcard area of destinations.{html} | | _[|#policyMap-element]_ | {html}Represents a destination based configuration of policies so that individual destinations or wildcard hierarchies of destinations can be configured using different policies.{html} | | _[|#prefetchPolicy-element]_ | {html}Defines the prefetch message policies for different types of consumers{html} | | _[|#prefetchRatePendingMessageLimitStrategy-element]_ | {html}This PendingMessageLimitStrategy sets the maximum pending message limit value to be a multiplier of the prefetch limit of the subscription.{html} | | _[|#proxyConnector-element]_ | {html}{html} | | _[|#queryBasedSubscriptionRecoveryPolicy-element]_ | {html}This implementation of {@link SubscriptionRecoveryPolicy} will perform a user specific query mechanism to load any messages they may have missed.{html} | | _[|#queue-element]_ | {html}An ActiveMQ Queue Destination{html} | | _[|#quickJournalPersistenceAdapter-element]_ | {html}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.{html} | | _[|#rapidPersistenceAdapter-element]_ | {html}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.{html} | | _[|#redeliveryPolicy-element]_ | {html}Configuration options used to control how messages are re-delivered when they are rolled back.{html} | | _[|#roundRobinDispatchPolicy-element]_ | {html}Simple dispatch policy that sends a message to every subscription that matches the message.{html} | | _[|#sharedDeadLetterStrategy-element]_ | {html}A default implementation of {@link DeadLetterStrategy} which uses a constant destination.{html} | | _[|#simpleAuthenticationPlugin-element]_ | {html}Provides a simple authentication{html} | | _[|#simpleAuthorizationMap-element]_ | {html}An AuthorizationMap which is configured with individual DestinationMaps for each operation.{html} | | _[|#simpleDispatchPolicy-element]_ | {html}Simple dispatch policy that sends a message to every subscription that matches the message.{html} | | _[|#simpleJmsMessageConvertor-element]_ | {html}Converts Message from one JMS to another{html} | | _[|#simpleMessageGroupMapFactory-element]_ | {html}A factory to create instances of {@link SimpleMessageGroupMap} when implementing the Message Groups functionality.{html} | | _[|#statements-element]_ | {html}{html} | | _[|#storeDurableSubscriberCursor-element]_ | {html}Pending messages for a durable subscriber{html} | | _[|#streamJDBCAdapter-element]_ | {html}This JDBCAdapter inserts and extracts BLOB data using the setBinaryStream()/getBinaryStream() operations. The databases/JDBC drivers that use this adapter are:
  • Axion
{html} | | _[|#strictOrderDispatchPolicy-element]_ | {html}Dispatch policy that causes every subscription to see messages in the same order.{html} | | _[|#timeStampingBrokerPlugin-element]_ | {html}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.{html} | | _[|#timedSubscriptionRecoveryPolicy-element]_ | {html}This implementation of {@link SubscriptionRecoveryPolicy} will keep a timed buffer of messages around in memory and use that to recover new subscriptions.{html} | | _[|#topic-element]_ | {html}An ActiveMQ Topic Destination{html} | | _[|#transportConnector-element]_ | {html}{html} | | _[|#udpTraceBrokerPlugin-element]_ | {html}A Broker interceptor which allows you to trace all operations to a UDP socket.{html} | | _[|#usageManager-element]_ | {html}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.{html} | | _[|#virtualDestinationInterceptor-element]_ | {html}Implements Virtual Topics.{html} | | _[|#virtualTopic-element]_ | {html}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.{html} | | _[|#vmCursor-element]_ | {html}Pending messages held in the JVM{html} | | _[|#xaConnectionFactory-element]_ | {html}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.{html} |




© 2015 - 2024 Weber Informatics LLC | Privacy Policy