This commit is contained in:
Clebert Suconic 2017-11-06 11:30:45 -05:00
commit 7e94d342ca
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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