Red Hat Training

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

3.10.3. HornetQ - JMS Connection Factory Service

Overview

Table 3.2253. Overview

Description: 
Singleton: no
Plugin:HornetQ

Child Resource Types

none

Connection Properties

none

Metrics

Table 3.2254. Metrics

NameTypeDescriptionInternal Name
Nametraitname of this connection factorygetName
JNDI BindingstraitJNDI Bindings of this connection factorygetJNDIBindings

Note

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

Configuration Properties

Table 3.2255. 

NameDescriptionRequiredInternal Name
Connection Factory NameName of the connection factory to deploy yes name
supports high availabilitywhether or not this connection factory will support high availability yes ha
use discoverywhether or not to use connectors or discovery yes useDiscovery
the type of factorythe connection factory type yes cfType
Connectors to live serverscomma-separated list of either connector names or a discovery group name yes connectorNames
JNDI Bindingscomma-separated list of JNDI bindings (use ',' if u need to use commas in your jndi name) yes Bindings
Client IDClient ID for connections created by this connection factory no ClientID
Dups OK Batch Sizebatch size (in bytes) between acknowledgements when using DUPS_OK_ACKNOWLEDGE mode yes DupsOKBatchSize
Transaction Batch Sizebatch size (in bytes) between acknowledgements when using a transacted session yes TransactionBatchSize
Client Failure Check Periodperiod used, in milli seconds to check if a client has failed to receive pings from the server yes ClientFailureCheckPeriod
Connection TTLconnection time-to-live (in milliseconds) yes ConnectionTTL
Call Timeoutblocking calls timeout (in milliseconds) yes CallTimeout
Consumer Window Sizewindow size (in bytes) used for consumer flow control yes ConsumerWindowSize
Consumer Max Ratemaximum rate of message consumption (in messages per seconds), -1 means no rate set. yes ConsumerMaxRate
Confirmation Window Sizesize (in bytes) for the confirmation window of clients using this connection factory, -1 means no window. yes ConfirmationWindowSize
Producer Max Ratemaximum rate of message production (in messages per seconds), -1 means no rate set. yes ProducerMaxRate
Producer Window Sizewindow size (in bytes) used for producer flow control, -1 means no window. yes ProducerWindowSize
Cache Large Messages ClientWhether consumers created through this factory will cache large messages in temporary files yes CacheLargeMessagesClient
Minimum Large Message Sizemessage size threshold (in bytes) before treating messages as large messages yes MinLargeMessageSize
Block On Non Durable Sendwhether producers will block while sending non-durable messages or send them asynchronously yes BlockOnNonDurableSend
Block On Acknowledgewhether consumers will block while sending message acknowledgements or send them asynchronously yes BlockOnAcknowledge
Block On Durable Sendwhether producers will block while sending persistent messages or send them asynchronously yes BlockOnDurableSend
Auto Groupwhether producers will automatically assign a group ID to their messages yes AutoGroup
Pre Acknowledgewhether messages will pre-acknowledged on the server before they are sent to the consumers or not yes PreAcknowledge
Retry Intervalinterval (in milliseconds) to retry connections created by this factory after failure yes RetryInterval
Maximum Retry Intervalmaximum retry interval (in milliseconds) yes MaxRetryInterval
Retry Interval Multipliermultiplier to apply to successive retry intervals yes RetryIntervalMultiplier
Reconnect Attemptsmaximum number of attempts to retry connection in case of failure yes ReconnectAttempts
Scheduled Thread Pool Max Sizemaximum size of the scheduled thread pool yes ScheduledThreadPoolMaxSize
Thread Pool Max Sizemaximum size of the thread pool, -1 means unlimited yes ThreadPoolMaxSize
Group IDgroup ID that will be eventually set on each message, default is no group id. no GroupID
Initial Message Packet Sizeinitial size (in bytes) of messages created through this factory yes InitialMessagePacketSize
Use Global Poolswhether this factory will use global thread pools (shared among all the factories in the same JVM) or its own pools yes UseGlobalPools
Connection Load Balancing Policy Class Nameclass name of the connection load balancing policy yes ConnectionLoadBalancingPolicyClassName

Note

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

Operations

none

Package Types

none