This closes #1642
This commit is contained in:
commit
7e94d342ca
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue