Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

5.2. ServerPeer attributes


This section discusses the ServerPeer managed bean attributes.
StopServerPeerOnDBFailure
When set to true, the server will stop if a database error occurs - e.g. database connection is lost - allowing other nodes to continue work. The default value is false.
ServerPeerID
The unique identifier of the ServerPeer. Each node deployed must have a unique identifier, whether the nodes form a cluster or are linked by a message bridge. The identifier must be a valid integer.
DefaultQueueJNDIContext
The default JNDI context to be used when binding queues. The default value is /queue.
DefaultTopicJNDIContext
The default JNDI context to be used when binding topics. The default value is /topic.
PostOffice
The post office used by the ServerPeer. You will not normally need to edit this attribute. The post office routes messages to queues and maintains the mapping between queues and addresses.
DefaultDLQ
The default DLQ (Dead Letter Queue) that the server uses for destinations. You can override the DLQ on a per-destination basis. For more information about destinations, refer to Section 5.9, “Configuring Destinations”. A DLQ is a destination for messages that the server has failed to deliver more than a certain number of times. If the DLQ is not specified, the message will be removed after the maximum number of delivery attempts. You can specify a global default for the maximum number of delivery attempts with the DefaultMaxDeliveryAttempts attribute, or set the maximum individually on a per-destination basis.
DefaultMaxDeliveryAttempts
The global default for the maximum number of times delivery will be attempted for a message before the message is removed or sent to the DLQ, if configured. The default value is 10. You can override this value on a per-destination basis.
DefaultExpiryQueue
The default expiry queue that the ServerPeer will use for destinations. You can override this value on a per-destination basis, as seen in the section on destination managed bean configuration. An expiry queue holds messages that have expired. Message expiry is determined by the value of Message::getJMSExpiration(). If the expiry queue is not specified, the message will be deleted when it expires.
DefaultRedeliveryDelay
This attribute lets you delay a redelivery attempt, which helps to prevent thrashing delivery-failure. The default value is 0 (that is, no delay). You can override this value on a per-destination basis.
MessageCounterSamplePeriod
This attribute defines the period of time between the server's queries to the queue for queue statistics. The default value is 5000 milliseconds.
FailoverStartTimeout
The longest period (in milliseconds) that the client will wait for failover to begin on the server side when a problem is detected. The default value is 60000 (one minute).
FailoverCompleteTimeout
The longest period (in milliseconds) that the client will wait for failover to complete on the server side once failover has been initiated. The default value is 300000 (five minutes).
DefaultMessageCounterHistoryDayLimit
JBoss Messaging provides a message counter history, which shows the number of messages arriving on each queue over a certain number of days. This attribute represents the maximum number of days for which to store message counter history. You can override this value on a per-destination.
ClusterPullConnectionFactoryName
The connection factory used to pull, or suck, messages between queues. You can omit this attribute to disable message sucking while retaining failover.
DefaultPreserveOrdering
When true, JMS ordering is preserved in the cluster. See Chapter 6, Clustering Notes for more detail. The default value is false.
RecoverDeliveriesTimeout
When failover occurs, messages that have been delivered will be stored while the clients reconnect. If the clients do not reconnect (for example, if the client is dead), these messages will eventually time out and be added to the queue. This attribute sets the period before timeout in milliseconds. The default value is 300000 (five minutes).
EnableMessageCounters
When set to true, enables message counters upon server start.
SuckerPassword
JBoss Messaging internally creates connections between nodes to redistribute messages between clustered destinations. These connections are created with a special, reserved username. This attribute defines the password to use when creating these connections.
For versions of JBoss Messaging later than 1.4.1.GA, you must define the SuckerPassword on the SecurityMetadataStore.

Warning

The SuckerPassword must be changed at install time, or the default password will be used, giving any user who knows the default password access to any destination on the server.
SuckerConnectionRetryTimes
This is the maximum number of times a sucker's connection is permitted to retry in the event of a failure. The default value is -1 which represents "retry indefinitely".
SuckerConnectionRetryInterval
This is the interval in milliseconds between each retry of the failed sucker's connection. The default value is 5000.
StrictTck
To enable strict JMS Technology Compatibility Kit (TCK) semantics, set this attribute to true.
Destinations
Returns a list of the destinations (queues and topics) currently deployed.
MessageCounters
A message counter for a particular queue.
MessageStatistics
Statistics about each message counter for each queue.
SupportsFailover
When this attribute is false, server-side failover does not occur when a node crashes in a cluster.
PersistenceManager
The persistence manager used by the ServerPeer. (You will not normally need to change this attribute.)
JMSUserManager
The JMS user manager used by the ServerPeer. (You will not normally need to change this attribute.)
SecurityStore
The pluggable SecurityStore. If you redefine this attribute, remember that you will need to authenticate the MessageSucker user (JBM.SUCKER) with all special permissions required by clustering.
SupportsTxAge
Specifies whether the transaction creation time is stored in the transaction record. If set to true, the transaction record is stored. The default is false.
Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat