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

Norman Maurer updated AMQ-3010:
-------------------------------

    Attachment: AMQ-3010.diff

The attached patch allows to the user/dev to configure a timeout for the first 
chunk of data. So if the data is not received within the timeout an 
ReadTimeoutExecption get thrown. This allows the user/dev to handle it  a 
custom way

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

Reply via email to