Problem while writing large xml file to message queue

ajaybabuCh
ajaybabuCh Member Posts: 208
Hi

The following is my code which will create the instance of message queue

and will write the xml content

MQBus.OpenWriteQueue('blue\private$\navisionvertikls',0,0);
OutMsg := CC2.CreateoutMessag('Messagequeue://blue\private$\navisionvertikls');
XMLDom.save (OutMsg.GetStream());

// fill the message and send it
OutMsg.Send(0);


XMLDom contains all the records from Item table(100 records).
but its writing only 2 records to the message queue.
Is there any limitation on OutMsg.GetStream()



How can I push all the records to message queue at a time
Ajay

Comments