Red Hat Training

A Red Hat training course is available for Red Hat JBoss Operations Network

3.10.2. HornetQ - JMS Topic Service

Overview

Table 3.2249. Overview

Description: 
Singleton: no
Plugin:HornetQ

Child Resource Types

none

Connection Properties

none

Metrics

Table 3.2250. Metrics

NameTypeDescriptionInternal Name
Nametraitname of this destinationgetName
JNDI BindingtraitJNDI Binding of this destinationgetJNDIBindings
AddresstraitAddress of this destinationgetAddress
TemporarytraitIf this destination is temporaryisTemporary
Subscription Countmeasurementnumber of (durable and non-durable) subscribers for this topicgetSubscriptionCount
Durable Subscription Countmeasurementnumber of durable subscribers for this topicgetDurableSubscriptionCount
Non Durable Subscription Countmeasurementnumber of non-durable subscribers for this topicgetNonDurableSubscriptionCount
Message Countmeasurementnumber of messages for all subscribers for this topicgetMessageCount
Durable Message Countmeasurementnumber of messages for all durable subscribers for this topicgetDurableMessageCount
Non Durable Message Countmeasurementnumber of messages for all non-durable subscribers for this topicgetNonDurableMessageCount

Note

You must use the internal name to reference Traits in Dynamic Group Definition expressions.

Configuration Properties

Table 3.2251. 

NameDescriptionRequiredInternal Name
NameThe Name of the topic to deploy yes name
JNDI Namecomma-separated list of JNDI bindings (use ',' if u need to use commas in your jndi name) yes jndiBindings
Dead Letter AddressThe address to route messages to once the message has been delivered more than the configured number of times. This is specified by 'Max Delivery Attempts'. The default is no dead letter address no dla
Expiry AddressThe Address to route messages to once they have expired. The default is no expiry address no expiryAddress
Max Size of AddressThe maximum size in bytes of messages that can be delivered to this queue. -1 means no limit, if limit is set then 'Address Full Message Policy' specifies what should happen yes maxSize
Page SizeThe size in bytes an address can reach before paging occurs yes pageSize
Page Cache Max SizeThe max number of pages in the soft memory cache. yes pageMaxCacheSize
Max Delivery AttemptsThe maximum time to attempt delivery of a message to a consumer, once hit the message is routed to which ever address is specified by 'Dead Letter Address' yes maxDeliveryAttempts
Redelivery DelayThe delay (in milli seconds) before re routing a message to this Address after an unsuccessful delivery attempt has occurred. default 0 means no delay yes redeliveryDelay
Last Value QueueIs this queue a last value queue. A last value queue can only ever contain a single message for each value for the message property '_HQ_LVQ_NAME'. yes lastValueQueue
Redistribution DelayHow long to wait (in milli seconds) before redistributing messages to another node when clustered when a queue has no consumers. Default -1 means do not re distribute. yes redistributionDelay
Send To dead letter address on no routeWhether or not messages routed to this address gets sent to dead letter address when no consumers are available yes sendToDLAOnNoRoute
Address Full Message PolicyThe policy to use when this Address is full. PAGE means that the message will be paged, DROP means that messages are just dropped and BLOCK means that the client will block on send until the queue clears some messages yes addressFullMessagePolicy
RolesThese are the role defined for this topic. The 'name' of the role, 'send' allows a producer to send a message, 'consume' allows a consumer or subscriber to receive a message. The create/delete (non) durable subscriber specifies whether the queue representing the subscription can be created or deleted yes roles

Note

You must use the internal name to reference Configuration Properties in Dynamic Group Definition expressions.

Operations

Table 3.2252. Metrics

NameDescription
List all SubscriptionsLists all the subscriptions for this topic (both durable and non-durable).
List all Durable DubscriptionsLists all the durable subscriptions for this topic.
List all non Durable SubscriptionsLists all the non-durable subscriptions for this topic.
List all Messageslist all the messages.
List Messages for SubscriptionCount the number of messages matching the filter for the given subscription.
Drop Durable SubscriptionDrop a durable subscription.
Drop Durable SubscriptionsDrop all durable subscription.

Package Types

none