Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-3010

ActiveMQInputStream should allow to specify a timeout like MessageConsumer.receive() does

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.5.0
    • Broker
    • None

    Description

      When using ActiveMQInputStream you are not able todo some kind of polling consuming. As soon as you call ActiveMQInputStream.read() it will block until it receive a message. So it could block forever. Sometime it would be usefull to allow some kind of polling even when using a stream.

      Attachments

        1. AMQ-3010.diff
          10 kB
          Norman Maurer

        Activity

          People

            dejanb Dejan Bosanac
            norman Norman Maurer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: