2011-03-03 63 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消息標籤?

回答