> while (true) {
>     message = (TextMessage) topicSubscriber.receive(timeoutValue);
> 
>     // process message, blah blah blah
> 
> }
> 
> What I've experienced is once the timeout value is set, each call to
> receive does not reset it to the value. Instead, it looks like the
> timeout
> is only set the first time I make the call. Is this the expected
> behavior?

Can you explain it in more detail what you mean with 'reset to value'?

-- 
Andreas Mueller, IIT GmbH, Bremen/Germany, http://www.iit.de
SwiftMQ - JMS Enterprise Messaging System, http://www.swiftmq.com


------------------------------------------------------
SwiftMQ developers mailing list * http://www.swiftmq.com
To unsubscribe from this list, send an eMail to 
[EMAIL PROTECTED] and write in the body of your message:
UNSUBSCRIBE developers <your-email-address>
Archive: http://www.mail-archive.com/[email protected]/




Reply via email to