Hello all. I need a little clarification with the use of
TopicSubscriber.receive
when using a timeout. In my application I am expecting a number of
messages, so I have something similar to:

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?

Thanks for the help.

  jeff



------------------------------------------------------
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