我的flex程序使用以下代码在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中设置消息标签?
发布于 2011-05-13 05:51:01
过了一会儿我找到了解决方案!没有使用webOrb设置消息标签的原因,所以我只是迁移到FluorineFX:http://www.fluorinefx.com/,然后我就这么做了:http://www.fluorinefx.com/docs/fluorine/messagingmsmq.html
发布于 2011-04-15 06:30:53
我认为这份文件会对你有所帮助。看起来您完全遗漏了标签引用。
http://www.themidnightcoders.com/products/weborb-for-net/developer-den/technicalarticles/msmq-data-push.html
https://stackoverflow.com/questions/5184837
复制相似问题