Antonin Vyborny created QPID-7704:
-------------------------------------

             Summary: Unable to send more than 2048 messages (async + 
persistent)
                 Key: QPID-7704
                 URL: https://issues.apache.org/jira/browse/QPID-7704
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
    Affects Versions: qpid-java-6.1.1
            Reporter: Antonin Vyborny
            Priority: Minor


When I use jms.forceAsyncSend=True flag along with DeliveryMode.PERSISTENT I am 
unable to receive more than 2048 messages in the queue. I am not receiving any 
warning/error so from client it looks like all messages are sent, but only 2048 
messages are actually found in the queue.
There is unfortunately nothing in the log either.

Steps to reproduce: 
1) Use the Sender example (org.apache.qpid.jms.example.Sender)
2) Set the following in Sender class:
    private static final int DEFAULT_COUNT = 3000;
    private static final int DELIVERY_MODE = DeliveryMode.PERSISTENT;
3) Set async sending in jndi.properties:
    amqp://localhost:5672?jms.forceAsyncSend=True
4) run the example...





--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to