9.2.2. Enabling Ordering Group on Connection Factory
Este contenido no está disponible en el idioma seleccionado.
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.
Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.
Hacer que el código abierto sea más inclusivo
Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.
Acerca de Red Hat
Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.