[CONF] Apache ActiveMQ > Per Destination Policies
Title: Message Title Gary Tully edited a page Per Destination Policies ... The following are examples of different policies that can be customized on a per destination basis: Dispatch Policies An example from the demos https://git-wip-us.apache.org/repos/asf?p=activemq.git;a=blob;f=assembly/src/release/examples/conf/activemq-demo.xml;hb=HEAD:< bean class = "org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" /> < broker persistent = "false" brokerName = "${brokername}" xmlns = "http://activemq.apache.org/schema/core" > < destinationPolicy > < policyMap > < policyEntries > < policyEntry topic="FOO.>"> < dispatchPolicy > < roundRobinDispatchPolicy /> dispatchPolicy > < subscriptionRecoveryPolicy > < lastImageSubscriptionRecoveryPolicy /> subscriptionRecoveryPolicy > policyEntry > < policyEntry topic="ORDERS.>"> < dispatchPolicy > < strictOrderDispatchPolicy /> dispatchPolicy > < subscriptionRecoveryPolicy > < timedSubscriptionRecoveryPolicy recoverDuration = "6" /> subscriptionRecoveryPolicy > policyEntry > < policyEntry topic="PRICES.>"> < pendingMessageLimitStrategy > < constantPendingMessageLimitStrategy limit = "10" /> pendingMessageLimitStrategy > < subscriptionRecoveryPolicy > < timedSubscriptionRecoveryPolicy recoverDuration = "1" /> subscriptionRecoveryPolicy > policyEntry > < policyEntry tempTopic = "true" advisoryForConsumed = "true" /> < policyEntry tempQueue = "true" advisoryForConsumed = "true" /> policyEntries > policyMap > destinationPolicy > broker > beans > View page • Like Stop watching space • Manage notifications This message was sent by Atlassian Confluence 5.8.17
[CONF] Apache ActiveMQ > Per Destination Policies
Title: Message Title Gary Tully edited a page Per Destination Policies ... Common Property Default Value Description advisoryForConsumed false Send an advisory message when a message is consumed by a client. advisoryForDelivery false Send an advisory message when a message is sent to a client. advisoryForFastProducers false Send an advisory message if a producer is deemed fast. advisoryForSlowConsumers false Send an advisory message if a consumer is deemed slow. advisoryWhenFull false Send an advisory message when a limit (memory, store, temp disk) is full. enableAudit true When true the broker will track duplicate messages. Duplicates can happen for non-persistent messages during failover. gcInactiveDestinations false Garbage collect inactive destinations. inactiveTimoutBeforeGC 5000 The timeout (in ms) after which a destination is considered inactive. includeBodyForAdvisory false Includes the body of the original message that triggered the advisory as part of the dataStructure field in the advisory message (where applicable). Normally the message body is cleared. maxBrowsePageSize 400 The maximum number of messages to page in from the store at one time for a browser. maxDestinations -1 (v5.12) If 0 or greater, sets the maximum number of destinations that can be created. This parameter is intended to limit the number of hierarchical destinations that can be created under a wildcard destination. maxPageSize 200 The maximum number of messages to page in from the store at one time. Increase this value to improve performance for queue destination's that contain grouped messages that are consumed by multiple concurrent consumers. memoryLimit n/a The memory limit (in bytes) of the destination's cursor. This memory limit is subordinate to the system level memory limit, as specified by the / attribute. There is no default for this value; it simply acts as a child to the overall broker memory until the broker memory is exhausted. Note: when this limit is specified the destination's cursorMemoryHighWaterMark will be applied against it and not the /> memory limit. minimumMessageSize 1024 For non-serialized messages (embedded broker) - the assumed size of the message used for memory usage calculation. Serialized messages use the serialized size as the basis for the memory calculation. prioritizedMessages false Persist message priority information. producerFlowControl true If true the broker will throttle (flow-control) the producer. Throttling is achieved either by withholding the producer's ACK or by raising a javax.jms.ResourceAllocationException (that's propagated back to the client) when local resources e.g., memory and/or storage, have been exhausted. If false excess messages will be written to the message store to prevent memory exhaustion. However, when the message store reaches capacity the producer will be throttled until resources are freed. slowConsumerStrategy null Sets the strategy for handling slow consumers. See AbortSlowConsumerStrategy. storeUsageHighWaterMark 100 The percentage (%) threshold of the / store limit which when exceeded causes a send to block. useCache true If true persistent messages are cached for fast retrieval from store. usePrefetchExtension true The prefetch extension is used when a message is delivered but not ACK'ed, such that the broker can dispatch another message, e.g., prefetch == 0, the idea being that there will always be prefetch number of messages pending. It also allows a transaction batch to exceed the prefetch value. sendFailIfNoSpace false (v5.16.0) If true, will cause a send to fail with a javax.jms.ResourceAllocationException when the destination has reached is resource limits (memory or storage) sendFailIfNoSpaceAfterTimeout 0 (v5.16.0) if > 0, will cause a send to fail with a javax.jms.ResourceAllocationException when the destination resource limits (memory or storage) remain exhausted for the configured duration in milliseconds Additional properties for a Queue ... The following are examples of different policies that can be customized on a per destination basis: Dispatch Policies Here is an example of this in use: ... View page • Like Stop watching space • Manage notifications This message was sent by Atlassian Confluence 5.8.17
[CONF] Apache ActiveMQ > Per Destination Policies
Title: Message Title Gary Tully edited a page Change comment: split description of cursorMemoryHighWaterMark Per Destination Policies ... Common Property Default Value Description advisoryForConsumed false Send an advisory message when a message is consumed by a client. advisoryForDelivery false Send an advisory message when a message is sent to a client. advisoryForFastProducers false Send an advisory message if a producer is deemed fast. advisoryForSlowConsumers false Send an advisory message if a consumer is deemed slow. advisoryWhenFull false Send an advisory message when a limit (memory, store, temp disk) is full. cursorMemoryHighWaterMark 70 The percentage (%) threshold applied either to the / or the destination's memoryLimit (when defined) which when exceeded will cause the destination's cursor to either block or write to disk. enableAudit true When true the broker will track duplicate messages. Duplicates can happen for non-persistent messages during failover. gcInactiveDestinations false Garbage collect inactive destinations. inactiveTimoutBeforeGC 5000 The timeout (in ms) after which a destination is considered inactive. includeBodyForAdvisory false Includes the body of the original message that triggered the advisory as part of the dataStructure field in the advisory message (where applicable). Normally the message body is cleared. maxBrowsePageSize 400 The maximum number of messages to page in from the store at one time for a browser. maxDestinations -1 (v5.12) If 0 or greater, sets the maximum number of destinations that can be created. This parameter is intended to limit the number of hierarchical destinations that can be created under a wildcard destination. maxPageSize 200 The maximum number of messages to page in from the store at one time. Increase this value to improve performance for queue destination's that contain grouped messages that are consumed by multiple concurrent consumers. memoryLimit n/a The memory limit (in bytes) of the destination's cursor. This memory limit is subordinate to the system level memory limit, as specified by the / attribute. There is no default for this value; it simply acts as a child to the overall broker memory until the broker memory is exhausted. Note: when this limit is specified the destination's cursorMemoryHighWaterMark will be applied against it and not the /> memory limit. minimumMessageSize 1024 For non-serialized messages (embedded broker) - the assumed size of the message used for memory usage calculation. Serialized messages use the serialized size as the basis for the memory calculation. prioritizedMessages false Persist message priority information. producerFlowControl true If true the broker will throttle (flow-control) the producer. Throttling is achieved either by withholding the producer's ACK or by raising a javax.jms.ResourceAllocationException (that's propagated back to the client) when local resources e.g., memory and/or storage, have been exhausted. If false excess messages will be written to the message store to prevent memory exhaustion. However, when the message store reaches capacity the producer will be throttled until resources are freed. slowConsumerStrategy null Sets the strategy for handling slow consumers. See AbortSlowConsumerStrategy. storeUsageHighWaterMark 100 The percentage (%) threshold of the / store limit which when exceeded causes a send to block. useCache true If true persistent messages are cached for fast retrieval from store. usePrefetchExtension true The prefetch extension is used when a message is delivered but not ACK'ed, such that the broker can dispatch another message, e.g., prefetch == 0, the idea being that there will always be prefetch number of messages pending. It also allows a transaction batch to exceed the prefetch value. ... Queue Only Property Default Value Description allConsumersExclusiveByDefault false When true all consumers will be exclusive. See ActiveMQ Exclusive Consumers cursorMemoryHighWaterMark 70 The percentage (%) threshold applied either to the / or the destination's memoryLimit (when defined) which when exceeded will cause the destination's cursor to either block or write to disk. consumersBeforeDispatchStarts 0 When the first consumer connects, wait for specified number of consumers before message dispatching starts. expireMessagesPeriod 3 The period (in ms) of checks for message expiry on queued
[CONF] Apache ActiveMQ > Per Destination Policies
Title: Message Title Jakub Korab edited a page Per Destination Policies ... Common Property Default Value Description advisoryForConsumed false Send an advisory message when a message is consumed by a client. advisoryForDelivery false Send an advisory message when a message is sent to a client. advisoryForFastProducers false Send an advisory message if a producer is deemed fast. advisoryForSlowConsumers false Send an advisory message if a consumer is deemed slow. advisoryWhenFull false Send an advisory message when a limit (memory, store, temp disk) is full. cursorMemoryHighWaterMark 70 The percentage (%) threshold applied either to the / or the destination's memoryLimit (when defined) which when exceeded will cause the destination's cursor to either block or write to disk. enableAudit true When true the broker will track duplicate messages. Duplicates can happen for non-persistent messages during failover. gcInactiveDestinations false Garbage collect inactive destinations. inactiveTimoutBeforeGC 5000 The timeout (in ms) after which a destination is considered inactive. includeBodyForAdvisory false Includes the body of the original message that triggered the advisory as part of the dataStructure field in the advisory message (where applicable). Normally the message body is cleared. maxBrowsePageSize 400 The maximum number of messages to page in from the store at one time for a browser. maxDestinations -1 (v5.12) If 0 or greater, sets the maximum number of destinations that can be created. This parameter is intended to limit the number of hierarchical destinations that can be created under a wildcard destination. maxExpirePageSize 400 The maximum number of messages to page in when periodically expiring messages. Messages are paged in according to this setting if the number of messages in memory pending dispatch is less than this value, and there are messages in the store to page in. Messages are expired during this paging step as they are brought into memory from the store. Once the paging process is completed, messages are expired from the list of those that are in memory and pending dispatch, then from the list of those that are in memory but not yet targeted at a subscription. maxPageSize 200 The maximum number of messages to page in from the store at one time. Increase this value to improve performance for queue destination's that contain grouped messages that are consumed by multiple concurrent consumers. memoryLimit n/a The memory limit (in bytes) of the destination's cursor. This memory limit is subordinate to the system level memory limit, as specified by the / attribute. There is no default for this value; it simply acts as a child to the overall broker memory until the broker memory is exhausted. Note: when this limit is specified the destination's cursorMemoryHighWaterMark will be applied against it and not the /> memory limit. minimumMessageSize 1024 For non-serialized messages (embedded broker) - the assumed size of the message used for memory usage calculation. Serialized messages use the serialized size as the basis for the memory calculation. prioritizedMessages false Persist message priority information. producerFlowControl true If true the broker will throttle (flow-control) the producer. Throttling is achieved either by withholding the producer's ACK or by raising a javax.jms.ResourceAllocationException (that's propagated back to the client) when local resources e.g., memory and/or storage, have been exhausted. If false excess messages will be written to the message store to prevent memory exhaustion. However, when the message store reaches capacity the producer will be throttled until resources are freed. slowConsumerStrategy null Sets the strategy for handling slow consumers. See AbortSlowConsumerStrategy. storeUsageHighWaterMark 100 The percentage (%) threshold of the / store limit which when exceeded causes a send to block. useCache true If true persistent messages are cached for fast retrieval from store. usePrefetchExtension true The prefetch extension is used when a message is delivered but not ACK'ed, such that the broker can dispatch another message, e.g., prefetch == 0, the idea being that there will always be prefetch number of messages pending. It also allows a transaction batch to exceed the prefetch value. ... View page • Like Stop watching space • Manage notifications
[CONF] Apache ActiveMQ > Per Destination Policies
Title: Message Title Christopher L. Shannon edited a page Per Destination Policies ... Common Property Default Value Description advisoryForConsumed false Send an advisory message when a message is consumed by a client. advisoryForDelivery false Send an advisory message when a message is sent to a client. advisoryForFastProducers false Send an advisory message if a producer is deemed fast. advisoryForSlowConsumers false Send an advisory message if a consumer is deemed slow. advisoryWhenFull false Send an advisory message when a limit (memory, store, temp disk) is full. allConsumersExclusiveByDefault false When true all consumers will be exclusive. See ActiveMQ Exclusive Consumers cursorMemoryHighWaterMark 70 The percentage (%) threshold applied either to the / or the destination's memoryLimit (when defined) which when exceeded will cause the destination's cursor to either block or write to disk. enableAudit true When true the broker will track duplicate messages. Duplicates can happen for non-persistent messages during failover. gcInactiveDestinations false Garbage collect inactive destinations. inactiveTimoutBeforeGC 5000 The timeout (in ms) after which a destination is considered inactive. includeBodyForAdvisory false Includes the body of the original message that triggered the advisory as part of the dataStructure field in the advisory message (where applicable). Normally the message body is cleared. maxBrowsePageSize 400 The maximum number of messages to page in from the store at one time for a browser. maxDestinations -1 (v5.12) If 0 or greater, sets the maximum number of destinations that can be created. This parameter is intended to limit the number of hierarchical destinations that can be created under a wildcard destination. maxPageSize 200 The maximum number of messages to page in from the store at one time. Increase this value to improve performance for queue destination's that contain grouped messages that are consumed by multiple concurrent consumers. memoryLimit n/a The memory limit (in bytes) of the destination's cursor. This memory limit is subordinate to the system level memory limit, as specified by the / attribute. There is no default for this value; it simply acts as a child to the overall broker memory until the broker memory is exhausted. Note: when this limit is specified the destination's cursorMemoryHighWaterMark will be applied against it and not the /> memory limit. minimumMessageSize 1024 For non-serialized messages (embedded broker) - the assumed size of the message used for memory usage calculation. Serialized messages use the serialized size as the basis for the memory calculation. prioritizedMessages false Persist message priority information. producerFlowControl true If true the broker will throttle (flow-control) the producer. Throttling is achieved either by withholding the producer's ACK or by raising a javax.jms.ResourceAllocationException (that's propagated back to the client) when local resources e.g., memory and/or storage, have been exhausted. If false excess messages will be written to the message store to prevent memory exhaustion. However, when the message store reaches capacity the producer will be throttled until resources are freed. slowConsumerStrategy null Sets the strategy for handling slow consumers. See AbortSlowConsumerStrategy. storeUsageHighWaterMark 100 The percentage (%) threshold of the / store limit which when exceeded causes a send to block. useCache true If true persistent messages are cached for fast retrieval from store. usePrefetchExtension true The prefetch extension is used when a message is delivered but not ACK'ed, such that the broker can dispatch another message, e.g., prefetch == 0, the idea being that there will always be prefetch number of messages pending. It also allows a transaction batch to exceed the prefetch value. ... Queue Only Property Default Value Description allConsumersExclusiveByDefault false When true all consumers will be exclusive. See ActiveMQ Exclusive Consumers consumersBeforeDispatchStarts 0 When the first consumer connects, wait for specified number of consumers before message dispatching starts. expireMessagesPeriod 3 The period (in ms) of checks for message expiry on queued messages, value of 0 disables. lazyDispatch false Only page in from store the number of messages that can be dispatched at time. optimizedDispatch
[CONF] Apache ActiveMQ > Per Destination Policies
Title: Message Title Christopher L. Shannon edited a page Per Destination Policies ... Common Property Default Value Description advisoryForConsumed false Send an advisory message when a message is consumed by a client. advisoryForDelivery false Send an advisory message when a message is sent to a client. advisoryForFastProducers false Send an advisory message if a producer is deemed fast. advisoryForSlowConsumers false Send an advisory message if a consumer is deemed slow. advisoryWhenFull false Send an advisory message when a limit (memory, store, temp disk) is full. allConsumersExclusiveByDefault false When true all consumers will be exclusive. See ActiveMQ Exclusive Consumers cursorMemoryHighWaterMark 70 The percentage (%) threshold applied either to the / or the destination's memoryLimit (when defined) which when exceeded will cause the destination's cursor to either block or write to disk. enableAudit true When true the broker will track duplicate messages. Duplicates can happen for non-persistent messages during failover. gcInactiveDestinations false Garbage collect inactive destinations. inactiveTimoutBeforeGC 5000 The timeout (in ms) after which a destination is considered inactive. includeBodyForAdvisory false Includes the body of the original message that triggered the advisory as part of the dataStructure field in the advisory message (where applicable). Normally the message body is cleared. maxBrowsePageSize 400 The maximum number of messages to page in from the store at one time for a browser. maxDestinations -1 (v5.12) If 0 or greater, sets the maximum number of destinations that can be created. This parameter is intended to limit the number of hierarchical destinations that can be created under a wildcard destination. maxPageSize 200 The maximum number of messages to page in from the store at one time. Increase this value to improve performance for queue destination's that contain grouped messages that are consumed by multiple concurrent consumers. memoryLimit n/a The memory limit (in bytes) of the destination's cursor. This memory limit is subordinate to the system level memory limit, as specified by the / attribute. There is no default for this value; it simply acts as a child to the overall broker memory until the broker memory is exhausted. Note: when this limit is specified the destination's cursorMemoryHighWaterMark will be applied against it and not the /> memory limit. minimumMessageSize 1024 For non-serialized messages (embedded broker) - the assumed size of the message used for memory usage calculation. Serialized messages use the serialized size as the basis for the memory calculation. prioritizedMessages false Persist message priority information. producerFlowControl true If true the broker will throttle (flow-control) the producer. Throttling is achieved either by withholding the producer's ACK or by raising a javax.jms.ResourceAllocationException (that's propagated back to the client) when local resources e.g., memory and/or storage, have been exhausted. If false excess messages will be written to the message store to prevent memory exhaustion. However, when the message store reaches capacity the producer will be throttled until resources are freed. slowConsumerStrategy null Sets the strategy for handling slow consumers. See AbortSlowConsumerStrategy. storeUsageHighWaterMark 100 The percentage (%) threshold of the / store limit which when exceeded causes a send to block. useCache true If true persistent messages are cached for fast retrieval from store. usePrefetchExtension true The prefetch extension is used when a message is delivered but not ACK'ed, such that the broker can dispatch another message, e.g., prefetch == 0, the idea being that there will always be prefetch number of messages pending. It also allows a transaction batch to exceed the prefetch value. ... View page • Like Stop watching space • Manage notifications This message was sent by Atlassian Confluence 5.8.4
[CONF] Apache ActiveMQ > Per Destination Policies
Title: Message Title Brian D. Johnson edited a page Per Destination Policies ... Common Property Default Value Description advisoryForConsumed false Send an advisory message when a message is consumed by a client. advisoryForDelivery false Send an advisory message when a message is sent to a client. advisoryForFastProducers false Send an advisory message if a producer is deemed fast. advisoryForSlowConsumers false Send an advisory message if a consumer is deemed slow. advisoryWhenFull false Send an advisory message when a limit (memory, store, temp disk) is full. cursorMemoryHighWaterMark 70 The percentage (%) threshold applied either to the / or the destination's memoryLimit (when defined) which when exceeded will cause the destination's cursor to either block or write to disk. enableAudit true When true the broker will track duplicate messages. Duplicates can happen for non-persistent messages during failover. gcInactiveDestinations false Garbage collect inactive destinations. inactiveTimoutBeforeGC 5000 The timeout (in ms) after which a destination is considered inactive. includeBodyForAdvisory false Includes the body of the original message that triggered the advisory as part of the dataStructure field in the advisory message (where applicable). Normally the message body is cleared. maxBrowsePageSize 400 The maximum number of messages to page in from the store at one time for a browser. maxDestinations -1 (v5.12) If 0 or greater, sets the maximum number of destinations that can be created. This parameter is intended to limit the number of hierarchical destinations that can be created under a wildcard destination. maxPageSize 200 The maximum number of messages to page in from the store at one time. Increase this value to improve performance for queue destination's that contain grouped messages that are consumed by multiple concurrent consumers. memoryLimit n/a The memory limit (in bytes) of the destination's cursor. This memory limit is subordinate to the system level memory limit, as specified by the / attribute. There is no default for this value; it simply acts as a child to the overall broker memory until the broker memory is exhausted. Note: when this limit is specified the destination's cursorMemoryHighWaterMark will be applied against it and not the /> memory limit. minimumMessageSize 1024 For non-serialized messages (embedded broker) - the assumed size of the message used for memory usage calculation. Serialized messages use the serialized size as the basis for the memory calculation. prioritizedMessages false Persist message priority information. producerFlowControl true If true the broker will throttle (flow-control) the producer. Throttling is achieved either by withholding the producer's ACK or by raising a javax.jms.ResourceAllocationException (that's propagated back to the client) when local resources e.g., memory and/or storage, have been exhausted. If false excess messages will be written to the message store to prevent memory exhaustion. However, when the message store reaches capacity the producer will be throttled until resources are freed. slowConsumerStrategy null Sets the strategy for handling slow consumers. See abortSlowConsumerStrategy AbortSlowConsumerStrategy. storeUsageHighWaterMark 100 The percentage (%) threshold of the / store limit which when exceeded causes a send to block. useCache true If true persistent messages are cached for fast retrieval from store. usePrefetchExtension true The prefetch extension is used when a message is delivered but not ACK'ed, such that the broker can dispatch another message, e.g., prefetch == 0, the idea being that there will always be prefetch number of messages pending. It also allows a transaction batch to exceed the prefetch value. ... View page • Like Stop watching space • Manage notifications This message was sent by Atlassian Confluence 5.8.4
[CONF] Apache ActiveMQ > Per Destination Policies
Title: Message Title Paul Gale edited a page Change comment: Sorted options alphabetically Per Destination Policies ... Common Property Default Value Description producerFlowControladvisoryForConsumed true If true the broker will throttle (flow-control) the producer. Throttling is achieved either by withholding the producer's ACK or by raising a javax.jms.ResourceAllocationException (that's propagated back to the client) when local resources e.g., memory and/or storage, have been exhausted. If false excess messages will be written to the message store to prevent memory exhaustion. However, when the message store reaches capacity the producer will be throttled until resources are freedfalse Send an advisory message when a message is consumed by a client. advisoryForDelivery false Send an advisory message when a message is sent to a client. advisoryForFastProducers false Send an advisory message if a producer is deemed fast. advisoryForSlowConsumers false Send an advisory message if a consumer is deemed slow. advisoryWhenFull false Send an advisory message when a limit (memory, store, temp disk) is full. cursorMemoryHighWaterMark 70 The percentage (%) threshold applied either to the / or the destination's memoryLimit (when defined) which when exceeded will cause the destination's cursor to either block or write to disk. enableAudit true When true the broker will track duplicate messages. Duplicates can happen for non-persistent messages during failover. useCachegcInactiveDestinations true If true persistent messages are cached for fast retrieval from storefalse Garbage collect inactive destinations. inactiveTimoutBeforeGC 5000 The timeout (in ms) after which a destination is considered inactive. includeBodyForAdvisory false Includes the body of the original message that triggered the advisory as part of the dataStructure field in the advisory message (where applicable). Normally the message body is cleared. maxBrowsePageSize 400 The maximum number of messages to page in from the store at one time for a browser. maxPageSize 200 The maximum number of messages to page in from the store at one time. Increase this value to improve performance for queue destination's that contain grouped messages that are consumed by multiple concurrent consumers. maxBrowsePageSizemaxDestinations 400 The -1 (v5.12) If 0 or greater, sets the maximum number of messages to page in from the store at one time for a browserdestinations that can be created. This parameter is intended to limit the number of hierarchical destinations that can be created under a wildcard destination. memoryLimit n/a The memory limit (in bytes) of the destination's cursor. This memory limit is subordinate to the system level memory limit, as specified by the / attribute. There is no default for this value; it simply acts as a child to the overall broker memory until the broker memory is exhausted. Note: when this limit is specified the destination's cursorMemoryHighWaterMark will be applied against it and not the /> memory limit. minimumMessageSize 1024 For non-serialized messages (embedded broker) - the assumed size of the message used for memory usage calculation. Serialized messages use the serialized size as the basis for the memory calculation. cursorMemoryHighWaterMarkprioritizedMessages 70 The percentage (%) threshold applied either to the / or the destination's memoryLimit (when defined) which when exceeded will cause the destination's cursor to either block or write to disk. false Persist message priority information. producerFlowControl true If true the broker will throttle (flow-control) the producer. Throttling is achieved either by withholding the producer's ACK or by raising a javax.jms.ResourceAllocationException (that's propagated back to the client) when local resources e.g., memory and/or storage, have been exhausted. If false excess messages will be written to the message store to prevent memory exhaustion. However, when the message store reaches capacity the producer will be throttled until resources are freed. slowConsumerStrategy null Sets the strategy for handling slow consumers. See abortSlowConsumerStrategy. storeUsageHighWaterMark 100 The percentage (%) threshold of the / store limit which when exceeded causes a send to block. prioritizedMessagesuseCache false Persist message priority information. advisoryForConsumed false Send an advisory message when a message is consumed by a client.
[CONF] Apache ActiveMQ > Per Destination Policies
Title: Message Title Matt Pavlovich edited a page Change comment: fix 'advisory' spelling Per Destination Policies ... Common Property Default Value Description producerFlowControl true If true the broker will throttle (flow-control) the producer. Throttling is achieved either by withholding the producer's ACK or by raising a javax.jms.ResourceAllocationException (that's propagated back to the client) when local resources e.g., memory and/or storage, have been exhausted. If false excess messages will be written to the message store to prevent memory exhaustion. However, when the message store reaches capacity the producer will be throttled until resources are freed. enableAudit true When true the broker will track duplicate messages. Duplicates can happen for non-persistent messages during failover. useCache true If true persistent messages are cached for fast retrieval from store. maxPageSize 200 The maximum number of messages to page in from the store at one time. Increase this value to improve performance for queue destination's that contain grouped messages that are consumed by multiple concurrent consumers. maxBrowsePageSize 400 The maximum number of messages to page in from the store at one time for a browser. memoryLimit n/a The memory limit (in bytes) of the destination's cursor. This memory limit is subordinate to the system level memory limit, as specified by the / attribute. There is no default for this value; it simply acts as a child to the overall broker memory until the broker memory is exhausted. Note: when this limit is specified the destination's cursorMemoryHighWaterMark will be applied against it and not the /> memory limit. minimumMessageSize 1024 For non-serialized messages (embedded broker) - the assumed size of the message used for memory usage calculation. Serialized messages use the serialized size as the basis for the memory calculation. cursorMemoryHighWaterMark 70 The percentage (%) threshold applied either to the / or the destination's memoryLimit (when defined) which when exceeded will cause the destination's cursor to either block or write to disk. storeUsageHighWaterMark 100 The percentage (%) threshold of the / store limit which when exceeded causes a send to block. prioritizedMessages false Persist message priority information. advisoryForConsumed false Send an advisory message when a message is consumed by a client. advisoryForDelivery false Send an advisory message when a message is sent to a client. advisoryForSlowConsumers false Send an advisory message if a consumer is deemed slow. advsioryForFastProducersadvisoryForFastProducers false Send an advisory message if a producer is deemed fast. advisoryWhenFull false Send an advisory message when a limit (memory, store, temp disk) is full. includeBodyForAdvisory false Includes the body of the original message that triggered the advisory as part of the dataStructure field in the advisory message (where applicable). Normally the message body is cleared. gcInactiveDestinations false Garbage collect inactive destinations. inactiveTimoutBeforeGC 5000 The timeout (in ms) after which a destination is considered inactive. usePrefetchExtension true The prefetch extension is used when a message is delivered but not ACK'ed, such that the broker can dispatch another message, e.g., prefetch == 0, the idea being that there will always be prefetch number of messages pending. It also allows a transaction batch to exceed the prefetch value. slowConsumerStrategy null Sets the strategy for handling slow consumers. See abortSlowConsumerStrategy. maxDestinations -1 (v5.12) If 0 or greater, sets the maximum number of destinations that can be created. This parameter is intended to limit the number of hierarchical destinations that can be created under a wildcard destination. ... View page • Like Stop watching space • Manage notifications This message was sent by Atlassian Confluence 5.8.4
[CONF] Apache ActiveMQ > Per Destination Policies
Title: Message Title Brian D. Johnson edited a page Per Destination Policies ... Common property default description producerFlowControl true the producer will slow down and eventually block if no resources(e.g. memory) are available on the broker. If this is off messages get off-lined to disk to prevent memory exhaustion enableAudit true tracks duplicate messages (which can occur in failover for non-persistent messages) useCache true persistent messages are cached for fast retrieval from store maxPageSize 200 maximum number of messages to page from store at a time maxBrowsePageSize 400 maximum number of messages to page from store for a browser memoryLimit n/a The memory limit for a given destination. This acts as a child to the overall broker memory specified by the 's memoryLimit attribute. There is no default for this value; it simply acts as a child to the overall broker memory until the broker memory is exhausted. minimumMessageSize 1024 for non-serialized messages (embedded broker) - the assumed size of the message used for memory usage calculation. Serialized messages used the serialized size as the basis for the memory calculation cursorMemoryHighWaterMark 70 the percentage (%) tipping point at which a system memory limit will cause a cursor to block or spool to disk storeUsageHighWaterMark 100 the percentage (%) tipping point at which a system usage store limit will cause a sent send to block prioritizedMessages false have the store respect message priority advisoryForConsumed false send an advisory message when a message is consumed by a client advisoryForDelivery false send an advisory message when a message is sent to a client advisoryForSlowConsumers false send an advisory message if a consumer is deemed slow advsioryForFastProducers false send an advisory message if a producer is deemed fast advisoryWhenFull false send an advisory message when a limit (memory,store,temp disk) is full includeBodyForAdvisory false includes the body of the original message that triggered the advisory as part of the dataStructure field in the advisory message (when applicable). Normally the message body is cleared. gcInactiveDestinations false delete inactive destination inactiveTimoutBeforeGC 5000 inactivity period (in ms) before destination is considered inactive usePrefetchExtension true the prefetch extension is used when a message is delivered but not acked, such that the broker can dispatch another message (e.g., prefetch == 0), the idea being that there will always be prefetch num messages pending. It also allows a transaction batch to exceed the prefetch value. slowConsumerStrategy null sets the strategy for handling slow consumers. see abortSlowConsumerStrategy maxDestinations -1 (v5.12) if 0 or greater, sets the maximum number of destinations that can be created. This is useful to limit the number of hierarchical destinations that can be created under a wildcard destination. ... View page • Like Stop watching space • Manage notifications This message was sent by Atlassian Confluence 5.8.4
[CONF] Apache ActiveMQ > Per Destination Policies
Title: Message Title Christopher L. Shannon edited a page Per Destination Policies ... Here is an example of this in use. Wiki Markup{snippet:id=xbean|lang=xml|url=""> Code Block xml xml View page • Like Stop watching space • Manage notifications This message was sent by Atlassian Confluence 5.8.4
[CONF] Apache ActiveMQ Per Destination Policies
Christopher L. Shannon edited the page: Per Destination Policies ... Common property default description producerFlowControl true the producer will slow down and eventually block if no resources(e.g. memory) are available on the broker. If this is off messages get off-lined to disk to prevent memory exhaustion enableAudit true tracks duplicate messages (which can occur in failover for non-persistent messages) useCache true persistent messages are cached for fast retrieval from store maxPageSize 200 maximum number of persistent messages to page from store at a time maxBrowsePageSize 400 maximum number of persistent messages to page from store for a browser memoryLimit n/a The memory limit for a given destination. This acts as a child to the overall broker memory specified by the systemUsage's memoryLimit attribute. There is no default for this value; it simply acts as a child to the overall broker memory until the broker memory is exhausted. minimumMessageSize 1024 for non-serialized messages (embedded broker) - the assumed size of the message used for memory usage
[CONF] Apache ActiveMQ Per Destination Policies
Timothy Bish edited the page: Per Destination Policies ... Common property default description producerFlowControl true the producer will slow down and eventually block if no resources(e.g. memory) are available on the broker. If this is off messages get off-lined to disk to prevent memory exhaustion enableAudit true tracks duplicate messages (which can occur in failover for non-persistent messages) useCache true persistent messages are cached for fast retrieval from store maxPageSize 200 maximum number of persistent messages to page from store at a time maxBrowsePageSize 400 maximum number of persistent messages to page from store for a browser memoryLimit n/a The memory limit for a given destination. This acts as a child to the overall broker memory specified by the systemUsage's memoryLimit attribute. There is no default for this value; it simply acts as a child to the overall broker memory until the broker memory is exhausted. minimumMessageSize 1024 for non-serialized messages (embedded broker) - the assumed size of the message used for memory usage
[CONF] Apache ActiveMQ Per Destination Policies
Christian Posta edited the page: Per Destination Policies ... Common property default description producerFlowControl true the producer will slow down and eventually block if no resources(e.g. memory) are available on the broker. If this is off messages get off-lined to disk to prevent memory exhaustion enableAudit true tracks duplicate messages (which can occur in failover for non-persistent messages) useCache true persistent messages are cached for fast retrieval from store maxPageSize 200 maximum number of persistent messages to page from store at a time maxBrowsePageSize 400 maximum number of persistent messages to page from store for a browser memoryLimit n/a The memory limit for a given destination. This acts as a child to the overall broker memory specified by the systemUsage's memoryLimit attribute. There is no default for this value; it simply acts as a child to the overall broker memory until the broker memory is exhausted. minimumMessageSize 1024 for non-serialized messages (embedded broker) - the assumed size of the message used for memory usage
[CONF] Apache ActiveMQ Per Destination Policies
Christian Posta edited the page: Per Destination Policies ... Queue only property default description useConsumerPriority true use the priority of a consumer when dispatching messages from a Queue strictOrderDispatch false if true queue will not round robin consumers, but it'll use a single one until its prefetch buffer is full optimizedDispatch false don't use a separate thread for dispatching from a Queue lazyDispatch false only page in from store the number of messages that can be dispatched at time consumersBeforeDispatchStarts 0 when the first consumer connects, wait for specified number of consumers before message dispatching starts timeBeforeDispatchStarts 0 when the first consumer connects, wait for specified time (in ms) before message dispatching starts queuePrefetch n/a sets the prefetch for consumers that are using the default value expireMessagesPeriod