9.2.2. Enabling Ordering Group on Connection Factory
Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
9.2.2. Enabling Ordering Group on Connection Factory
To enable the ordering group feature on a connection factory, add the following attributes to the factory service configuration file:
EnableOrderingGroup
enables the ordering group feature if set to true (the default value is false).
DefaultOrderingGroupName
sets the default name of the message ordering group. The group name is generated automatically if the attribute is not defined.
Note
Once configured to enable the ordering group feature on a connection factory, all messages that are sent from any producers created from the connection factory become ordering group messages.
The following factory service configuration file sample demonstrates how to enable the ordering group feature:
Copy to ClipboardCopied!Toggle word wrapToggle overflow
The advantage of enabling the ordering group feature by making configuration changes is the ease with which message ordering functionality can be achieved without the need for code changes.
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.