Rodrigo Strauss :: Blog
Algumas coisas deveriam funcionar, mas não funcionam
O trecho a seguir foi retirado do documento "MSMQ Best Practices":
Asynchronous notifications using WithEvents in Visual Basic can be a powerful feature. The idea of running code only in response to an event is quite attractive. However, note the following:
- Events can get lost, and you should periodically reenable notification.
- Multiple clients will be notified in the event of a single message. This problem is common; the application ceases to respond to user input. To fix this, ensure that all subsequent receives have timeouts set for the MQReceiveMessage function.
Note como o documento é bem específico. Eu traduziria esse trecho assim: "Os eventos podem se perder de acordo com a fase lunar, é prudente reabilitar as notificações em um intervalo que você se sinta confortável, de acordo com a sua intuição".
Em 15/03/2005 14:48, por Rodrigo Strauss





Ai que dor...