Show Table of Contents
21.2.2. Using JMS
If JNDI is used to look up the connection factory, the minimum large message size is specified in
JBOSS_DIST/jboss-as/server/<PROFILE>/deploy/hornetq/hornetq-jms.xml.
...
<connection-factory name="NettyConnectionFactory">
<connectors>
<connector-ref connector-name="netty"/>
</connectors>
<entries>
<entry name="/ConnectionFactory"/>
<entry name="/XAConnectionFactory"/>
</entries>
<min-large-message-size>250000</min-large-message-size>
</connection-factory>
...
If the connection factory is being instantiated directly, the minimum large message size is specified by
HornetQConnectionFactory.setMinLargeMessageSize.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.