Is it possible to send data to and fro between two processes from just a single message queue?
Answers
AnalProgrammer
On 2006-08-03 03:43:56
If the message queue you are using has a trigger can the trigger be changed dynamically?
If there is no trigger then yes the queue can be bidirectional as long as both processes can read the queue.
Arkangyle
On 2006-08-03 04:03:20
Yes, you could implement this bi-directionally, but there is a loss compared to using multiple queues.
Any process can append a message to the queue at any time, but there is a blocking state when serving messages from the queue ... other processes seeking to read their messages from the queue must wait for messages ahead of theirs to be served to the respective processes.
Answers
AnalProgrammer
On 2006-08-03 03:43:56
Arkangyle
On 2006-08-03 04:03:20