tags:

views:

59

answers:

0

On the system our company develops we rely on Microsoft MQ to do IPC. So I've got some questions about how it works:

1 - If I've opened a queue, and while sending some data the result is a MQ_ERROR. What is the status of the queue after that? It remains open, or it will be closed?

2 - The same question, but for errors when setting the queue as transactional.

3 - Suppose that I'm passing messages through a remote computer. Opening a queue means opening a new port to do that? And closing a queue means closing the connection? What actions MSMQ does when my application quits abruptally?

The third question is really the problem were facing here. Apparently MSMQ service is opening a huge quantity of ports when sending remote messages and this is causing the system to go out of resources. I wan't to know if this can be caused by my application or it is an infrastructure problem.

Obs: I'm using the MSMQ C libraries to do conversation

Thanks