首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何使用Weborb(Producer)和MSMQ设置消息标签

如何使用Weborb(Producer)和MSMQ设置消息标签
EN

Stack Overflow用户
提问于 2011-03-04 02:21:48
回答 2查看 254关注 0票数 0

我的flex程序使用以下代码在MSMQ中添加了一条消息:

代码语言:javascript
复制
            producer = new Producer();
            producer.destination = "VendingMachineBack";
            var m:AsyncMessage = new AsyncMessage("",{'MSMQLabel':"VS-GetSaleTypes"}) ;
            producer.send(m);   

我的weborb消息-config.xml如下所示:

代码语言:javascript
复制
<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中设置消息标签?

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2011-05-13 05:51:01

过了一会儿我找到了解决方案!没有使用webOrb设置消息标签的原因,所以我只是迁移到FluorineFX:http://www.fluorinefx.com/,然后我就这么做了:http://www.fluorinefx.com/docs/fluorine/messagingmsmq.html

票数 0
EN

Stack Overflow用户

发布于 2011-04-15 06:30:53

我认为这份文件会对你有所帮助。看起来您完全遗漏了标签引用。

http://www.themidnightcoders.com/products/weborb-for-net/developer-den/technicalarticles/msmq-data-push.html

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/5184837

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档