tags:

views:

23

answers:

0

I would like to know the implication(s) of using a synchronous receiver in a web application. A receiver that continuously looks for message from the specified queue ? I would like to specifically know if it is going to be a big drag in terms of performance.

The receiver would be some what like this

while (true) {

Message m = .receiveNoWait();

// Do some process

}