You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Dejan Bosanac (JIRA)" <ji...@apache.org> on 2011/01/20 15:06:04 UTC

[jira] Resolved: (AMQ-3010) ActiveMQInputStream should allow to specify a timeout like MessageConsumer.receive() does

     [ https://issues.apache.org/jira/browse/AMQ-3010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dejan Bosanac resolved AMQ-3010.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 5.5.0

Patch applied with svn revision 1061304. Thanks!

> ActiveMQInputStream should allow to specify a timeout like MessageConsumer.receive() does
> -----------------------------------------------------------------------------------------
>
>                 Key: AMQ-3010
>                 URL: https://issues.apache.org/jira/browse/AMQ-3010
>             Project: ActiveMQ
>          Issue Type: New Feature
>          Components: Broker
>            Reporter: Norman Maurer
>            Assignee: Dejan Bosanac
>             Fix For: 5.5.0
>
>         Attachments: AMQ-3010.diff
>
>
> 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. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.