msmq throws an exception when called the receive.
-
i'm using a msmq for my application and i create a queue when the application is loading.And to receive the message i set the timespan for 10, in the debug mode it works fine and the messages received as expected, but when i deploy the application in the release mode it gives a "timeout exception" at the receive method. i would really appreciate your ideas about this . thanks in advance.
-
i'm using a msmq for my application and i create a queue when the application is loading.And to receive the message i set the timespan for 10, in the debug mode it works fine and the messages received as expected, but when i deploy the application in the release mode it gives a "timeout exception" at the receive method. i would really appreciate your ideas about this . thanks in advance.
If there are no messages in queue then it will raise tiemout exception. No need to worry about that exception .. just catch it and say there are no messages in 'Q'.
No Defeat Is Final Until You Stop Trying!.......
-
If there are no messages in queue then it will raise tiemout exception. No need to worry about that exception .. just catch it and say there are no messages in 'Q'.
No Defeat Is Final Until You Stop Trying!.......