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

On receiving an empty ObjectMessage java client hangs forever

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.15
    • 0.15
    • JMS AMQP 0-x
    • 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

            kwall Keith Wall
            orudyy Alex Rudyy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: