I writing a console app that add a message to local queue. But, no message is being inserted.
I created the queue as transactional and inserting like following:
string path = @"FormatName:DIRECT=OS:computername\private$\myqueue";
MessageQueue queue = new MessageQueue();
queue.Path = path;
foreach (string msg in messages)
{
queue.Send("inputMessage", msg);
}
Anything wrong with this?
Thanks.