NO-JIRA - minor updates to sample, so it works as described in comments
The LargeMessageExample was not working as described in docs:
- FILESIZE was set to 1 MiB instead of 2 GiB
I had a look at the previous change to FILE_SIZE and my guess is the change was included in a commit as an oversight. Please let me know if the file size was meant to be reduced and I will modify the PR to reflect that.
- ?minLargeMessageSize=10240 was omitted from URL.
You can merge this pull request into a Git repository by running:
--- Diff: examples/features/standard/large-message/src/main/resources/jndi.properties ---
@@ -16,5 +16,5 @@
# under the License.
--- 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
// 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.