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

JMS Scheduled Delivery delivers messages before time under load

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 0.35.0
    • Fix Version/s: None
    • Component/s: qpid-jms-client
    • Labels:
      None
    • Environment:

      Description

      When under system load, the Qpid JMS client doesn't handle scheduled message delivery correct - it delivers the message prior to the required time.

      When running one request, the scheduling works correctly. The load to reproduce this isn't very high (i.e running about 5 of my job processes simultaneously seems to trip it up pretty quickly).

      I have used different JMS Brokers with the same client code and the same problem occurs with both Brokers (see environment).

      I am using Spring JMS Template to send the JMS message. The key piece of code is something like:

      delayedDeliveryjmsTemplate.setDeliveryDelay(timeoutPeriod);
      delayedDeliveryjmsTemplate.convertAndSend(queueName, timeoutMsg, (Message jmsMessage) -> {
      {{ jmsMessage.setStringProperty(OBJECT_TYPE_FIELD, timeoutMsg.getClass().getSimpleName());}}
      jmsMessage.setStringProperty(OBJECT_TYPE_FIELD, timeoutMsg.getClass().getSimpleName());
      {{ return jmsMessage;}}
      });

      I realise you want more logging details but I'm unsure what would be best to log. Please let me know and I'll do so.

       

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              204608 Ian Rowlands
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: