You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2017/11/06 16:31:24 UTC
[1/2] activemq-artemis git commit: NO-JIRA minor updates to sample,
so it works as described in comments
Repository: activemq-artemis
Updated Branches:
refs/heads/master 07eb1d25b -> 7e94d342c
NO-JIRA minor updates to sample, so it works as described in comments
- 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.
Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/21f217df
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/21f217df
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/21f217df
Branch: refs/heads/master
Commit: 21f217df72a975dbd8b10225d8d7abf12b6dd041
Parents: 07eb1d2
Author: Pat Fox <pa...@gmail.com>
Authored: Sat Nov 4 18:18:30 2017 +0100
Committer: Clebert Suconic <cl...@apache.org>
Committed: Mon Nov 6 11:27:20 2017 -0500
----------------------------------------------------------------------
.../apache/activemq/artemis/jms/example/LargeMessageExample.java | 2 +-
.../standard/large-message/src/main/resources/jndi.properties | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/21f217df/examples/features/standard/large-message/src/main/java/org/apache/activemq/artemis/jms/example/LargeMessageExample.java
----------------------------------------------------------------------
diff --git a/examples/features/standard/large-message/src/main/java/org/apache/activemq/artemis/jms/example/LargeMessageExample.java b/examples/features/standard/large-message/src/main/java/org/apache/activemq/artemis/jms/example/LargeMessageExample.java
index da47577..702fe41 100644
--- a/examples/features/standard/large-message/src/main/java/org/apache/activemq/artemis/jms/example/LargeMessageExample.java
+++ b/examples/features/standard/large-message/src/main/java/org/apache/activemq/artemis/jms/example/LargeMessageExample.java
@@ -46,7 +46,7 @@ public class LargeMessageExample {
* This may take some considerable time to create, send and consume - if it takes too long or you
* don't have enough disk space just reduce the file size here
*/
- private static final long FILE_SIZE = 2L;// * 1024 * 1024 * 1024; // 2 GiB message
+ private static final long FILE_SIZE = 2L * 1024 * 1024 * 1024; // 2 GiB message
public static void main(final String[] args) throws Exception {
Process server = null;
http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/21f217df/examples/features/standard/large-message/src/main/resources/jndi.properties
----------------------------------------------------------------------
diff --git a/examples/features/standard/large-message/src/main/resources/jndi.properties b/examples/features/standard/large-message/src/main/resources/jndi.properties
index 93537c4..75a7b5f 100644
--- a/examples/features/standard/large-message/src/main/resources/jndi.properties
+++ b/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
queue.queue/exampleQueue=exampleQueue
[2/2] activemq-artemis git commit: This closes #1642
Posted by cl...@apache.org.
This closes #1642
Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/7e94d342
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/7e94d342
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/7e94d342
Branch: refs/heads/master
Commit: 7e94d342cac10a10854ba2f3db8dafa9108f818d
Parents: 07eb1d2 21f217d
Author: Clebert Suconic <cl...@apache.org>
Authored: Mon Nov 6 11:30:45 2017 -0500
Committer: Clebert Suconic <cl...@apache.org>
Committed: Mon Nov 6 11:30:45 2017 -0500
----------------------------------------------------------------------
.../apache/activemq/artemis/jms/example/LargeMessageExample.java | 2 +-
.../standard/large-message/src/main/resources/jndi.properties | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------