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.2028. Overview

Description:
Singleton: no
Plugin: HornetQ

Child Resource Types

none

Connection Properties

none

Metrics

Table 3.2029. Metrics

Name Type Description Internal Name
Name trait name of this destination getName
JNDI Binding trait JNDI Binding of this destination getJNDIBindings
Address trait Address of this destination getAddress
Temporary trait If this destination is temporary isTemporary
Subscription Count measurement number of (durable and non-durable) subscribers for this topic getSubscriptionCount
Durable Subscription Count measurement number of durable subscribers for this topic getDurableSubscriptionCount
Non Durable Subscription Count measurement number of non-durable subscribers for this topic getNonDurableSubscriptionCount
Message Count measurement number of messages for all subscribers for this topic getMessageCount
Durable Message Count measurement number of messages for all durable subscribers for this topic getDurableMessageCount
Non Durable Message Count measurement number of messages for all non-durable subscribers for this topic getNonDurableMessageCount

Note

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

Configuration Properties

Table 3.2030. 

Name Description Required Internal Name
Name The Name of the topic to deploy yes name
JNDI Name comma-separated list of JNDI bindings (use ',' if u need to use commas in your jndi name) yes jndiBindings
Dead Letter Address The 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 Address The Address to route messages to once they have expired. The default is no expiry address no expiryAddress
Max Size of Address The 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 Size The size in bytes an address can reach before paging occurs yes pageSize
Page Cache Max Size The max number of pages in the soft memory cache. yes pageMaxCacheSize
Max Delivery Attempts The 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 Delay The 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 Queue Is 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 Delay How 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 route Whether or not messages routed to this address gets sent to dead letter address when no consumers are available yes sendToDLAOnNoRoute
Address Full Message Policy The 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
Roles These 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.2031. Metrics

Name Description
List all Subscriptions Lists all the subscriptions for this topic (both durable and non-durable).
List all Durable Dubscriptions Lists all the durable subscriptions for this topic.
List all non Durable Subscriptions Lists all the non-durable subscriptions for this topic.
List all Messages list all the messages.
List Messages for Subscription Count the number of messages matching the filter for the given subscription.
Drop Durable Subscription Drop a durable subscription.
Drop Durable Subscriptions Drop all durable subscription.

Package Types

none