message-queue

MassTransit with RabbitMQ: When is a message moved to the error queue

守給你的承諾、 提交于 2019-12-04 23:57:21
I am using RabbitMQ version 3.0.2 & I see close to 1000 message in Error queue. I want to know At what point messages are moved to the error queues? Is there a way to know why a certain message is being moved to an error queue? Is there any way to move message from error queue to normal queue? Thank you a) they fail to deserialize or b) the consumer throws an exception processing that message five times Not really... If you peek at the message in the queue, the payload headers might contain a note but I don't think we did that. If you turn logging on (NLog, log4net, etc) you should be able to

How to delete events from an Amazon SQS (Simple Queue Service) queue really fast?

妖精的绣舞 提交于 2019-12-04 21:46:46
问题 Suppose that I have many millions of events in a SQS queue and I want to get rid of them quickly, but I cannot just delete the queue and make a new one. What is the fastest way to delete/drain those events out of the queue? 回答1: I'm assuming that you don't care about the values in the messages, since you appear to want to drain it rather than process it. You can set the MessageRetentionPeriod to a very low value, and then drain any remaining messages out of the queue. After its drained, set

command to check status of message queue and shared memory in linux?

筅森魡賤 提交于 2019-12-04 21:10:46
问题 Sorry to ask such a silly question as i am noob in unix. what are the unix commands to find shared memory and message queue and how to kill them ? 回答1: ipcs(1) provides information on the IPC facilities and ipcrm(1) can be used to remove the IPC objects from the system. List shared memory segments: ipcs -m List message queues: ipcs -q Remove shared memory segment created with shmkey : ipcrm -M key Remove shared memory segment identified by shmid : ipcrm -m id Remove message queue created with

Boost Message Queue not based on POSIX message queue? Impossible to select(2)?

天涯浪子 提交于 2019-12-04 20:39:36
问题 I thought I'd use Boost.Interprocess's Message Queue in place of sockets for communication within one host. But after digging into it, it seems that this library for some reason eschews the POSIX message queue facility (which my Linux system supports), and instead is implemented on top of POSIX shared memory. The interface is similar enough that you might not guess this right away, but it seems to be the case. The downside for me is that shared memory obtained via shm_open(3) does not appear

Send Message To Another User

你说的曾经没有我的故事 提交于 2019-12-04 20:24:05
I was wondering how to send messages to another user using Progress 4gl. We are trying to cut down on the PA speaker where I work and I want some way to notify a certain user/users of some predefined messages. I'm not sure if this is even possible with Progress, or if there is a message queue that can be used. If anyone has any samples, ideas or has done this before, please let me know. Thanks!! You might find this helpful: Following on from presentations in Boston and Finland, dot.r is pleased to announce the open source Stomp project, available immediately. Download from either http://www

when does an AMQP/RabbitMQ channel with no connections die?

馋奶兔 提交于 2019-12-04 18:54:18
问题 I have a simple RabbitMQ test program randomly enqueuing messages, and another reading them, all using Spring-AMQP. If the consumer dies (for example killing a process without having a chance to close its connection or channel), any messages that it had not acknowledged appear to remain unacknowledged forever. I have seen a number of references (for example this question) that say that the channel dies when it has no connections, and that remaining unack'd messages will be redelivered. That's

Kubernetes message consumer scalability

我的梦境 提交于 2019-12-04 18:23:19
How To deploy in kubernetes a message consumer for kafka, amqp or any other message broker which scales up and down ? My hypothesis is that the consumer runs a loop which pulls messages. I d like kubernetes To create more pods when many messages arrive in the broker queue and remove some pods when too few messages arrive in the queue. Which component has the initiative of the ending of the pods? The pod itself because it can't fetch a message from the queue? Or kubernetes because the pod doesnt consume cpu? If any pod ends when the queue is empty, i m afraid that pods Will keep born and die as

Creating queues dynamically with Celery

人走茶凉 提交于 2019-12-04 15:03:20
问题 I am writing a mailing-list manager using Django, Celery, and RabbitMQ. When a message comes in, a task is executed for each recipient. All tasks go to a single queue, and one or more workers consume tasks from the queue, constructing the email messages and sending them. The single queue causes a fairness problem: if a message comes in to a large mailing list, a large number of tasks are added to the queue, and other messages cannot get through to other, smaller mailing lists until all the

Win32: IProgressDialog will not disappear until you mouse over it

拥有回忆 提交于 2019-12-04 15:01:51
i'm using the Win32 progress dialog . The damnest thing is that when i call: progressDialog.StopProgressDialog(); it doesn't disappear. It stays on screen until the user moves her mouse over it - then it suddenly disappers. The call to StopProgressDialog returns right away (i.e. it's not a synchronous call). i can prove this by doing things after the call has returned: private void button1_Click(object sender, EventArgs e) { //Force red background to prove we've started this.BackColor = Color.Red; this.Refresh(); //Start a progress dialog IProgressDialog pd = (IProgressDialog)new

Tibco EMS protocol

ぐ巨炮叔叔 提交于 2019-12-04 15:00:49
I am trying to interface with a Tibco EMS server using node.js and am curious if this is possible using entirely open source solutions solely in node.js. I do not want to use Tibco's Web Messaging solution. So then this brings us to... does Tibco EMS speak any standard protocol like AMQP? Could I talk to it over a raw tcp socket? I have thought about setting up a Java service to simply handle message routing but ideally I would like the entire solution to be in node.js. I just need to be able to connect to different Queues and enqueue/dequeue messages. Thanks! TIBCO EMS supports the JMS