Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-3715

On receiving an empty ObjectMessage java client hangs forever

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.15
    • Fix Version/s: 0.15
    • Component/s: JMS AMQP 0-x
    • Labels:
      None

      Description

      If ObjectMessage message is created and sent without a body than on receiving such a message the consumer hangs regardless whether timeout specified or not.

      The following snippet demonstrates the problem

      Sending and receiving an empty object message
      Message message = session.createObjectMessage();
      producer.send(message);
      ObjectMessage receivedMessage = (ObjectMessage) consumer.receive(1000);// <--- hanging here
      

        Attachments

          Activity

            People

            • Assignee:
              k-wall Keith Wall
              Reporter:
              alex.rufous Alex Rudyy
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: