-
1. Re: HornetQ LargeMesageSize
jbertram May 1, 2014 10:15 AM (in response to gmotts)Please attach your configuration files.
-
2. Re: HornetQ LargeMessageSize
gmotts May 1, 2014 11:49 AM (in response to jbertram)Hi Justin, I've uploaded my configuration files. Also as a follow-up I've noticed that if I don't specify <large-messages-directory> in my hornetq-confiiguation.xml file, I can avoid writing large message files altogether (work around).
UPDATE: I was incorrect in posting this work around, the large messages were still created but in another file location \bin\data\largemessages
-Gary
-
3. Re: HornetQ LargeMessageSize
gmotts May 1, 2014 2:04 PM (in response to jbertram)Hi Justin,
I found this issue, after digging into the code then looking back at the generic ra.xml file, I realized that the jms-ds.xml was incorrectly configured. I had specified a parameter name of "min-large-message-size' instead of "MinLargeMessageSize" in the hornetq-jms.xml file
See, below
<tx-connection-factory>
<jndi-name>JmsXA</jndi-name>
<xa-transaction/>
<rar-name>hornetq-ra.rar</rar-name>
<connection-definition>org.hornetq.ra.HornetQRAConnectionFactory</connection-definition>
<config-property name="SessionDefaultType" type="java.lang.String">javax.jms.Topic</config-property>
<config-property name="JmsProviderAdapterJNDI" type="java.lang.String">java:/DefaultJMSProvider</config-property>
<config-property name="ConsumerWindowSize" type="java.lang.Integer">0</config-property>
<config-property name="MinLargeMessageSize" type="java.lang.Integer">2000000</config-property>
<max-pool-size>20</max-pool-size>
<security-domain-and-application>JmsXARealm</security-domain-and-application>
</tx-connection-factory>
-Gary
-
4. Re: HornetQ LargeMessageSize
jbertram May 1, 2014 3:06 PM (in response to gmotts)No need to dig into the code. This is referenced in the documentation here.