Advertisement
| 10.12.2008 at 02:46AM PDT, ID: 23807494 | Points: 500 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: |
MessageBroker msgBroker = MessageBroker.GetMessageBroker(null);
DateTime now = DateTime.Now;
AsyncMessage msg = new AsyncMessage();
msg.destination = "datefeed";
msg.clientId = Guid.NewGuid().ToString("D");
msg.messageId = Guid.NewGuid().ToString("D");
msg.timestamp = Environment.TickCount;
Hashtable body = new Hashtable();
body.Add("userId", "daemon");
body.Add("msg", "RECEIVED=>" + now.ToString() + ": "+Message);
msg.body = body;
msgBroker.RouteMessage(msg);
|
Advertisement