Red Hat Training

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

3.3.12.4. JBoss AS 7 and EAP 6 - Messaging Runtime Service

Overview

Table 3.509. Overview

Description:Runtime resources exposed by messaging resources included in this deployment.
Singleton: yes
Plugin:JBossAS7
Child Resource Types
Connection Properties

Table 3.510. 

NameDescriptionRequiredInternal Name
Path  yes path

Note

You must use the internal name to reference Configuration Properties in Dynamic Group Definition expressions.
Metrics
none
Configuration Properties
none
Operations
none
Package Types
none
3.3.12.4.1. JBoss AS 7 and EAP 6 - HornetQ Server Runtime Service
Overview

Table 3.511. Overview

Description:A HornetQ server instance.
Singleton: no
Plugin:JBossAS7
Child Resource Types
Connection Properties

Table 3.512. 

NameDescriptionRequiredInternal Name
Path  yes path

Note

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

Table 3.513. Metrics

NameTypeDescriptionInternal Name
StartedtraitWhether this server is started.started
VersiontraitThe server's version.version

Note

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

Table 3.514. 

NameDescriptionRequiredInternal Name
Allow FailbackWhether this server will automatically shutdown if the original live server comes back up. The default value is true. no allow-failback
Async Connection Execution EnabledWhether incoming packets on the server should be handed off to a thread from the thread pool for processing. False if they should be handled on the remoting thread. The default value is true. no async-connection-execution-enabled
BackupWhether this server is a backup server. The default value is false. no backup
Cluster PasswordThe password used by cluster connections to communicate between the clustered nodes. The default value is CHANGE ME!!. no cluster-password
Cluster UserThe user used by cluster connections to communicate between the clustered nodes. The default value is HORNETQ.CLUSTER.ADMIN.USER. no cluster-user
ClusteredWhether the server is clustered. The default value is false. no clustered
Connection Ttl OverrideIf set, this will override how long (in ms) to keep a connection alive without receiving a ping. The default value is -1. no connection-ttl-override
Create Bindings DirWhether the server should create the bindings directory on start up. The default value is true. no create-bindings-dir
Create Journal DirWhether the server should create the journal directory on start up. The default value is true. no create-journal-dir
Failback DelayHow long to wait before failback occurs on live server restart. The default value is 5000. no failback-delay
Failover On ShutdownWhether this backup server (if it is a backup server) should come live on a normal server shutdown. The default value is false. no failover-on-shutdown
Id Cache SizeThe size of the cache for pre-creating message IDs. The default value is 2000. no id-cache-size
Jmx DomainThe JMX domain used to register internal HornetQ MBeans in the MBeanServer. The default value is org.hornetq. no jmx-domain
Jmx Management EnabledWhether HornetQ should expose its internal management API via JMX. This is not recommended, as accessing these MBeans can lead to inconsistent configuration. The default value is false. no jmx-management-enabled
Journal Buffer SizeThe size of the internal buffer on the journal. no journal-buffer-size
Journal Buffer TimeoutThe timeout (in nanoseconds) used to flush internal buffers on the journal. no journal-buffer-timeout
Journal Compact Min FilesThe minimal number of journal data files before we can start compacting. The default value is 10. no journal-compact-min-files
Journal Compact PercentageThe percentage of live data on which we consider compacting the journal. The default value is 30. no journal-compact-percentage
Journal File SizeThe size (in bytes) of each journal file. The default value is 10485760. no journal-file-size
Journal Max IoThe maximum number of write requests that can be in the AIO queue at any one time. no journal-max-io
Journal Min FilesHow many journal files to pre-create. The default value is 2. no journal-min-files
Journal Sync Non TransactionalWhether to wait for non transaction data to be synced to the journal before returning a response to the client. The default value is true. no journal-sync-non-transactional
Journal Sync TransactionalWhether to wait for transaction data to be synchronized to the journal before returning a response to the client. The default value is true. no journal-sync-transactional
Journal TypeThe type of journal to use. The default value is ASYNCIO. no journal-type
Live Connector RefThe name of the connector used to connect to the live connector. If this server is not a backup that uses shared nothing HA, it's value is 'undefined'. no live-connector-ref
Log Journal Write RateWhether to periodically log the journal's write rate and flush rate. The default value is false. no log-journal-write-rate
Management AddressAddress to send management messages to. The default value is jms.queue.hornetq.management. no management-address
Management Notification AddressThe name of the address that consumers bind to to receive management notifications. The default value is hornetq.notifications. no management-notification-address
Memory Measure IntervalFrequency to sample JVM memory in ms (or -1 to disable memory sampling). The default value is -1. no memory-measure-interval:expr
Memory Warning ThresholdPercentage of available memory which if exceeded results in a warning log. The default value is 25. no memory-warning-threshold:expr
Message Counter EnabledWhether message counters are enabled. The default value is false. no message-counter-enabled
Message Counter Max Day HistoryHow many days to keep message counter history. The default value is 10. no message-counter-max-day-history
Message Counter Sample PeriodThe sample period (in ms) to use for message counters. The default value is 10000. no message-counter-sample-period
Message Expiry Scan PeriodHow often (in ms) to scan for expired messages. The default value is 30000. no message-expiry-scan-period
Message Expiry Thread PriorityThe priority of the thread expiring messages. The default value is 3. no message-expiry-thread-priority
Page Max Concurrent IoThe maximum number of concurrent reads allowed on paging. The default value is 5. no page-max-concurrent-io
Perf Blast PagesTODO. The default value is -1. no perf-blast-pages
Persist Delivery Count Before DeliveryWhether the delivery count is persisted before delivery. False means that this only happens after a message has been cancelled. The default value is false. no persist-delivery-count-before-delivery
Persist Id CacheWhether IDs are persisted to the journal. The default value is true. no persist-id-cache
Persistence EnabledWhether the server will use the file based journal for persistence. The default value is true. no persistence-enabled
Remoting InterceptorsThe list of interceptor classes used by this server. no remoting-interceptors:nullable
Run Sync Speed TestWhether on startup to perform a diagnostic test on how fast your disk can sync. Useful when determining performance issues. The default value is false. no run-sync-speed-test
Scheduled Thread Pool Max SizeThe number of threads that the main scheduled thread pool has. The default value is 5. no scheduled-thread-pool-max-size:expr
Security DomainThe security domain to use to verify user and role information. The default value is other. no security-domain
Security EnabledWhether security is enabled. The default value is true. no security-enabled
Security Invalidation IntervalHow long (in ms) to wait before invalidating the security cache. The default value is 10000. no security-invalidation-interval
Server Dump IntervalHow often to dump basic runtime information to the server log. A value less than 1 disables this feature. The default value is -1. no server-dump-interval
Shared StoreWhether this server is using a shared store for failover. The default value is true. no shared-store
Thread Pool Max SizeThe number of threads that the main thread pool has. -1 means no limit. The default value is 30. no thread-pool-max-size:expr
Transaction TimeoutHow long (in ms) before a transaction can be removed from the resource manager after create time. The default value is 300000. no transaction-timeout
Transaction Timeout Scan PeriodHow often (in ms) to scan for timeout transactions. The default value is 1000. no transaction-timeout-scan-period
Wild Card Routing EnabledWhether the server supports wild card routing. The default value is true. no wild-card-routing-enabled

Note

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

Table 3.515. Metrics

NameDescription
Close Connections for AddressCloses all the connections of clients connected to this server whose remote address contains the specified IP address. Returns true if any connections were closed, false otherwise.
Commit Prepared TransactionHeuristically commits a prepared transaction.
Force FailoverForce the messaging server to stop and notify clients to failover.
Get Address Settings as JSONReturns the address settings as a JSON string for an address match. The returned String is a JSON string containing an array of address settings details.
Get Connectors as JSONReturns the connectors configured for this server using JSON serialization.
Get Last Sent Message IDReturns the ID of the last message sent from the given session to the given address.
Get Session Creation TimeGets the session's creation time. Returns the creation time, represented as a string showing the number of milliseconds since the epoch.
List All Consumers as JSONLists all the consumers.
List Connection IDsLists the IDs of all the connections connected to this server.
List Connections as JSONList all JMS connections.
List Consumers as JSONLists all the consumers which belongs to the JMS Connection specified by the connection-id.
List Heuristic Committed TransactionsLists transactions which have been heuristically committed. Returns a list of strings. The Strings are Base-64 representation of the transaction XID.
List Heuristic Rolled Back TransactionsLists transactions which have been heuristically rolled back. Returns a list of strings. The Strings are Base-64 representation of the transaction XID.
List Prepared Transaction Details as HTMLList all the prepared transaction, sorted by date, oldest first, with details, in HTML format.
List Prepared Transaction Details as JSONList all the prepared transaction, sorted by date, oldest first, with details, in JSON format.
List Prepared Transaction JMS Details as HTMLList all the prepared transactions, sorted by date, oldest first, with details in JMS, in HTML format
List Prepared Transaction JMS details as JSONList all the prepared transactions, sorted by date, oldest first, with details in JMS format, in JSON format
List Prepared TransactionsList all the prepared transaction, sorted by date, oldest first. Returns a list of strings. The Strings are Base-64 representation of the transaction XID and can be used to heuristically commit or rollback the transactions.
List Producers Info as JSONFor all sessions, lists information about message producers using JSON serialization.
List Remote AddressesLists the addresses of all the clients connected to the given address. If an ip-address argument is supplied, only those clients whose remote address string includes the given ip-address string will be returned.
List SessionsLists all the sessions IDs for the specified connection ID.
List Sessions as JSONLists all the sessions IDs for the specified connection ID. The returned String is a JSON string containing an array of session ids.
List Target DestinationsLists all addresses to which the designated session has sent messages. The returned String is a JSON string containing an array of address names.
Reset All Message Counter HistoriesReset all message counters history.
Reset All Message CountersReset all message counters.
Rollback Prepared TransactionHeuristically rolls back a prepared transaction. Returns true if the transaction was successfully rolled back, false otherwise.
Package Types
none
3.3.12.4.1.1. JBoss AS 7 and EAP 6 - JMS Queue Runtime Service
Overview

Table 3.516. Overview

Description:Defines a JMS queue.
Singleton: no
Plugin:JBossAS7
Child Resource Types
none
Connection Properties

Table 3.517. 

NameDescriptionRequiredInternal Name
Path  yes path

Note

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

Table 3.518. Metrics

NameTypeDescriptionInternal Name
Consumer CountmeasurementThe number of consumers consuming messages from this queue.consumer-count
Dead Letter AddresstraitThe address to send dead messages to.dead-letter-address
Delivering CountmeasurementThe number of messages that this queue is currently delivering to its consumers.delivering-count
DurabletraitWhether the queue is durable or not. The default value is true.durable
Expiry AddresstraitThe address to send expired messages to.expiry-address
Message CountmeasurementThe number of messages currently in this queue.message-count
Messages AddedmeasurementThe number of messages added to this queue since it was created.messages-added
PausedtraitWhether the queue is paused.paused
Queue AddresstraitThe queue address defines what address is used for routing messages.queue-address
Scheduled CountmeasurementThe number of scheduled messages in this queue.scheduled-count
SelectortraitThe queue selector.selector
TemporarytraitWhether the queue is temporary.temporary

Note

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

Table 3.519. 

NameDescriptionRequiredInternal Name
EntriesThe jndi names the queue will be bound to. no entries

Note

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

Table 3.520. Metrics

NameDescription
Change Message PriorityChange the priority of the message corresponding to the given message-id. Returns true if the message was expired, false otherwise.
Change Messages PriorityChange the priority of the messages corresponding to the given filter. Returns the number of removed messages.
Count MessagesReturns the number of the messages in the queue matching the given filter.
Expire MessageExpire the message corresponding to the given message-id. Returns true if the message was expired, false otherwise.
Expire MessagesExpire the messages matching the given filter.
List Consumers as JSONA string in JSON format.
List Message Counter as HTMLList the message counter as a string in HTML format.
List Message Counter as JSONList the message counter as a string in JSON format.
List Message Counter History as HTMLList the message counter history.
List Message Counter History as JSONList the message counter history as a string in JSON format.
List MessagesList all messages in the queue that match the filter
List Messages as JSONList all messages in the queue that match the filter and return them as a string in JSON format.
Move MessageMove the message corresponding to the given message-id to another queue
Move MessagesMove the messages corresponding to the given filter to another queue.
PausePause the queue.
Remove MessageRemove the message corresponding to the given message-id.
Remove MessagesRemove messages matching the given filter from the destination.
Reset Message CounterReset the message counters.
ResumeResume the queue.
Send Message to Dead Letter AddressSend the message corresponding to the given message-id to this queue's Dead Letter Address.
Send Messages to Dead Letter AddressSend the messages corresponding to the given filter to this queue's Dead Letter Address.
Package Types
none
3.3.12.4.1.2. JBoss AS 7 and EAP 6 - JMS Topic Runtime Service
Overview

Table 3.521. Overview

Description:Defines a JMS queue.
Singleton: no
Plugin:JBossAS7
Child Resource Types
none
Connection Properties

Table 3.522. 

NameDescriptionRequiredInternal Name
Path  yes path

Note

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

Table 3.523. Metrics

NameTypeDescriptionInternal Name
Delivering CountmeasurementThe number of messages that this queue is currently delivering to its consumers.delivering-count
Durable Message CountmeasurementThe number of messages for all durable subscribers for this topic.durable-message-count
Durable Subscription CountmeasurementThe number of durable subscribers for this topic.durable-subscription-count
Message CountmeasurementThe number of messages currently in this queue.message-count
Messages AddedmeasurementThe number of messages added to this queue since it was created.messages-added
Non Durable Message CountmeasurementThe number of messages for all non-durable subscribers for this topic.non-durable-message-count
Non Durable Subscription CountmeasurementThe number of non-durable subscribers for this topic.non-durable-subscription-count
Subscription CountmeasurementThe number of (durable and non-durable) subscribers for this topic.subscription-count
TemporarytraitWhether the topic is temporary.temporary
Topic AddresstraitThe address the topic points to.topic-address

Note

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

Table 3.524. 

NameDescriptionRequiredInternal Name
JNDI NamesThe jndi names the queue will be bound to. no entries

Note

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

Table 3.525. Metrics

NameDescription
Count Messages for SubscriptionCount the number of messages matching the filter for the given subscription.
Drop All SubscriptionsDrop all subscriptions from this topic.
Drop Durable SubscriptionDrop a durable subscription
List All SubscriptionsList all subscriptions.
List All Subscriptions as JSONList all subscriptions as a string in JSON format.
List Durable SubscriptionsList only the durable subscriptions.
List Durable Subscriptions as JSONList only the durable subscriptions, as a string in JSON format.
List Messages for SubscriptionList all the messages for the given subscription.
List Messages for Subscription as JSONList all the messages for the given subscription as a string in JSON format.
List Non-Durable SubscriptionsList only the non-durable subscriptions.
List Non-Durable Subscriptions as JSONList only the non-durable subscriptions, as a string in JSON format.
Remove MessagesRemove messages matching the given filter from the destination.
Package Types
none