Uploaded image for project: 'Qpid JMS'
  1. Qpid JMS
  2. QPIDJMS-273

Unable to send more than 2048 messages (async + persistent)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • qpid-jms-client
    • None

    Description

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            avyborny Antonin Vyborny
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: