2011-03-03 31 views
0

设置邮件标签我真的使用此代码添加在MSMQ消息通过我的Flex程序:如何使用的WebORB(监制)和MSMQ

  producer = new Producer(); 
      producer.destination = "VendingMachineBack"; 
      var m:AsyncMessage = new AsyncMessage("",{'MSMQLabel':"VS-GetSaleTypes"}) ; 
      producer.send(m); 

和我的WebORB消息-config.xml中它了的以下:

<destination channels="weborb-rtmp" id="VendingMachineBack"> 
    <properties> 
     <msmq> 
     <path>.\private$\ClassicBackEndQueue</path> 
     <deliverPastMessages>-1</deliverPastMessages> 
     <BasePriority>0</BasePriority> 
     <Category>00000000-0000-0000-0000-000000000000</Category> 
     <MaximumQueueSize>4294967295</MaximumQueueSize> 
     <UseJournalQueue>false</UseJournalQueue> 
     <MaximumJournalSize>4294967295</MaximumJournalSize>   
     </msmq> 
    <message-service-handler>Weborb.Messaging.PubSub.Msmq.MessagingServiceHandler</message-service-handler> 
    </properties> 
    <channels> 
     <channel ref="weborb-rtmp"/> 
    </channels> 
</destination> 

事情是,我如何设置我发送的AsyncMessage消息标签?

回答