messaging

Asynchronous message passing in .NET

萝らか妹 提交于 2019-12-11 03:29:14
问题 I am looking for a simple .NET library that implements a concept of async message passing similar to Erlang OTP platform. So far, I have only found RetLang to be somewhat similar, but It seems to be abandoned, and It only supports message passing within one process. 回答1: You can try with MSMQ .you can use for single or a group of messages you want to put in the queue and read from it later asynchronously. :) 回答2: In my opinion the easiest way to do this in .net (aside from F# ;) ) is the TPL

How best to deliver notifications to various IM / notification services?

本秂侑毒 提交于 2019-12-11 03:16:08
问题 We have a website which provides time-critical updates on changes in the value of FOO, and want to deliver notifications of new data via various IM protocols. For reasons best known to themselves (and their parents), the FOO-traders use Yahoo! Messenger, MSN, gTalk, AIM, you name it. They want to receive their updates on their desktops so they can buy and sell FOO realtime. We want to deliver the updates to them via the various networks, without investing a huge amount of time in supporting

How to access recipient on sent messages page with mailboxer

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-11 00:40:15
问题 I am using the mailboxer gem to send messages within my ruby on rails app. The gem is working. I can't for the life of me figure out how to access the recipient on the sent messages page. On the sent messages page, I am trying to loop through sent messages, and access the recipient of the sent messages and display that person to the user. On the regular inbox page, I used the following: <% all_mail = current_user.mailbox.inbox %> <% all_mail.each do |letter| %> <tr> <td><%= letter.messages

Unity send SMS message

℡╲_俬逩灬. 提交于 2019-12-10 18:52:03
问题 I'm currently using Unity for developing an application for Android and IOS and I'm able to use the function: Application.OpenURL("mailto:" + email_address + "?subject=Email&body=msg from Unity"); to send emails from within my application, and I know you can use a similar function to open up the mobile devices SMS system however I'm unsure on how to actually go about this. If anyone can please advise how I can open up the native SMS system through "Application.OpenURL()" that'd be fantastic.

jGrowl: How can I limit my interface to one message at a time?

≡放荡痞女 提交于 2019-12-10 18:32:02
问题 Given: I load a queue of messages at page load. With jGrowl, how can I display each message, one message at a time, in a drip-like fashion? 回答1: I needed to do this for a project, a few months ago. If you use the pooling feature, available in the latest jGrowl (1.2.0 as of this writing), you can simply write: $.jGrowl.defaults.pool = 1; That way, you can load all of them at the same time, jGrowl will take care of only showing one at a time. When a message closes, jGrowl will automatically

RabbitMQ C# API: How to check if a binding exists?

梦想与她 提交于 2019-12-10 17:44:14
问题 Using the RabbitMQ C# API, how would I check to see if a binding exists from a given queue to a given exchange? A lot of RabbitMQ calls are idempotent, so some people may say that the check is unnecessary for those cases, but I think they would be useful in testing. 回答1: You could use their REST API to call and see if the binding exists. You have a local copy of the API reference at: your_server_name:15672/api/ or you can find it at their online docs You can make a GET call to either: /api

Jms message acknowledge only till the message acknowledged on

假装没事ソ 提交于 2019-12-10 15:55:37
问题 How to ensure message acknowledge deletes only messages upto the message on which acknowledge is called in a jms broker. Currently I have a system which consumes from a jms queue and partially processes it.Sometime later a batch of these messages gets persisted by a different thread. I need to acknowledge on messages now. But the problem is I have to stop consuming the messages, otherwise acknowledging a previously received message will also acknowledge all other subsequent messages received.

Where can I find a good documentation on Mach kernel messaging [closed]

不羁岁月 提交于 2019-12-10 15:39:08
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . I am looking for something comprehensive to read about 1) Mach messaging (mach_msg function and friends) 2) Mig system (mig_get_reply

WSMQ Queue Limit

半城伤御伤魂 提交于 2019-12-10 14:53:56
问题 is there a limit on how many queues I can have open within a single connection and single session? I can currently open up 128 queues and send messages to them. If I try to open up 129 I get the following error... Thanks Error: com.ibm.msg.client.jms.DetailedResourceAllocationException: JMSWMQ2008: Failed to open MQ queue 'TestQueue_129'. JMS attempted to perform an MQOPEN, but WebSphere MQ reported an error. Use the linked exception to determine the cause of this error. Check that the

How to find out all subscribers to a JMS topic have replied?

一世执手 提交于 2019-12-10 14:32:27
问题 Using HornetQ (In JBoss AS 6.0) I would like to setup a JMS topic to which multiple clients can subscribe. A producer periodically sends a message to this topic with a reply-to destination, to which all subscribers should reply. The problem I'm having is that I'm not entirely sure how to check that all subscribers have indeed replied. One solution could be that each subscriber first sends a message to the topic after subscription with its details (perhaps some GUID). The producer remembers