Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: Message queue query


Message #1 by "Mark Powell" <mpowell@a...> on Tue, 29 May 2001 11:14:40
Hi all,
I'm currently in the process of writing a program to distribute data to 3 
remote sites.  I'm not able to use replication due to peculiar 
cirumstances of the structure of the data so I've ended up deciding upon 
rolling my own replication using MSMQ.  The problem that I have is that I 
place the data onto the queue and want each site to retrieve items 
indiviually - therefore I don't want the data to be removed from the queue 
until all three sites have retrieved it, yet if there are more than one 
message on the queue, I don't want one region to have to wait for the 
other two regions to retrieve the first message before the second one can 
be retrieved.  I realise that I can peek at the queue rather than 
retrieving, but this means that the message will never be removed.  Any 
help or advice would be much apreciated as at the minute it seems that I'm 
going to have to write the same message to three separate queues.

Regards,
Mark.

  Return to Index