이 콘텐츠는 선택한 언어로 제공되지 않습니다.
26.2. Using JMS
The property name used to identify the message group is
JMSXGroupID
.
Alternatively, you can set
autogroup
to true on the HornetQConnectionFactory
which will pick a random unique id. This can also be set in the JBOSS_DIST/jboss-as/server/<PROFILE>/deploy/hornetq/hornetq-jms.xml
file like this:
Alternatively you can set the group id via the connection factory. All messages sent with producers created via this connection factory will set the
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
JMSXGroupID
to the specified value on all messages sent. To configure the group id set it on the connection factory in the hornetq-jms.xml
configuration file as follows: