Github user pgfox commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/1642#discussion_r149115107
  
    --- Diff: 
examples/features/standard/large-message/src/main/resources/jndi.properties ---
    @@ -16,5 +16,5 @@
     # under the License.
     
     
java.naming.factory.initial=org.apache.activemq.artemis.jndi.ActiveMQInitialContextFactory
    -connectionFactory.ConnectionFactory=tcp://localhost:61616
    
+connectionFactory.ConnectionFactory=tcp://localhost:61616?minLargeMessageSize=10240
    --- End diff --
    
    Thanks @clebertsuconic .
    
    In the comments in LargeMessageExample.java it mentions the following.
    ``
    // Step 3. Perform a lookup on the Connection Factory. This 
ConnectionFactory has a special attribute set on
    // it.
    // Messages with more than 10K are considered large
    
    ``
    I think it is good to have a sample of how to set the config on the url to 
show syntax, in case a customer wants to change the default for whatever 
reason. 


---

Reply via email to