Questions tagged [nms]

Apache.NMS provides a rich .NET messaging API similar to JMS. The NMS project provides a client for Apache ActiveMQ the most popular and powerful open source message broker along with several others

Apache.NMS is a .NET API that provides a JMS like API for .NET messaging clients. The Apache.NMS project has several implementations of the NMS API available including one for ActiveMQ2 that provides many of the same advanced features as ActiveMQ's Java client library including connection failover support, SSL connectivity, Async sends, flow control and Message compression. Other NMS client libraries include Stomp, MSMQ, Tibco EMS and WCF.

125 questions
9
votes
2 answers

ActiveMQ Not Taking Messages off Queue

I recently upgraded a server from ActiveMQ from 5.8 to the latest (5.11.1). Since then, I've noticed somewhat sporadically that messages will build up on a particular queue and not be taken off. Our architecture has one producer, one consumer. I can…
Ternary
  • 2,401
  • 3
  • 31
  • 54
7
votes
2 answers

How to monitor ActiveMQ Artemis

I'm doing some testing with RabbitMQ, ActiveMQ "Classic" and ActiveMQ Artemis in a Windows .NET environment. RabbitMQ and ActiveMQ "Classic" ship with a web interface where you can see information about your broker, queues, messages etc., but…
Jooooooooohn
  • 137
  • 1
  • 3
  • 12
5
votes
2 answers

How can I throttle the amount of messages coming from ActiveMQ in my C# app?

I'm using ActiveMQ in a .Net program and I'm flooded with message-events. In short when I get a queue-event 'onMessage(IMessage receivedMsg)' I put the message into an internal queue out of which X threads do their thing. At first I had:…
Toad
  • 15,593
  • 16
  • 82
  • 128
5
votes
1 answer

Duplex or request-reply with Apache ActiveMQ WCF Binding configuration question

I am trying to use the Apache.NMS.WCF bindings for a WCF application and get the following error - Contract requires TwoWay (either request-reply or duplex), but Binding 'NmsBinding' doesn't support it or isn't configured properly to support…
Barry Hurt
  • 61
  • 6
4
votes
2 answers

Reading ActiveMQ messages without deletion

I am trying to read through ActiveMQ messages and according some filters to process some of them or leave the other messages in the queue. I use NMS API with the following code: Uri connecturi = new Uri("activemq:tcp://model.net:61616"); …
Scarlaxx
  • 835
  • 1
  • 6
  • 13
4
votes
2 answers

How can I read CSV file in to vector in C++

I'm doing the project that convert the python code to C++, for better performance. That python project name is Adcvanced EAST, for now, I got the input data for nms function, in .csv file like this: "[ 5.9358170e-04 5.2773970e-01 5.0061589e-01…
BAO TONG
  • 51
  • 1
  • 1
  • 2
4
votes
2 answers

How can I programatically purge an ActiveMQ queue using the Apache.NMS API?

I need the ability to purge a queue programatically using Apache.NMS (C#). I've been looking through the NMS API, but see no such capability. Does it exist?
Kilhoffer
  • 32,375
  • 22
  • 97
  • 124
4
votes
1 answer

Is ActiveMQ's failover mechanism supported by C# (openwire) & python (stomp) clients?

I'd like to use ActiveMQ to connect python service with C# clients. Is there a way to specify failover connection in C# (openwire) and python (Stomp)? The ActiveMQ will be configured Shared File System Master Slave.
Piotr Czapla
  • 25,734
  • 24
  • 99
  • 122
4
votes
1 answer

In SNMP MIB, what is the difference between "MODULE-IDENTITY" and "OBJECT IDENTIFIER"?

In either of them I can assign an OID, but if I assign the OID using OBJECT IDENTIFIER, do I still have to make a MODULE-IDENTITY for the object?
Tony
  • 716
  • 9
  • 15
4
votes
1 answer

Content in received ActiveMQBytesMessage is empty

When I receive a ActiveMQBytesMessage, the Content property has exactly the expected length, but all bytes are zero, it looks like an uninitialized buffer with just the correct length. I also tried ReadBytes(buffer, length) on the message object,…
realMarkusSchmidt
  • 4,303
  • 1
  • 29
  • 33
4
votes
2 answers

How do I create a queue browser (preview not consume) in C# for an ActiveMQ queue?

I'm using the NMS API for reading/writing ActiveMQ in C#, and I cannot find a way to preview the messages on a queue. I could read and rollback - but that'll make them DLQ eventually. In my previous life, TIBCO had a QueueBrowser object that could…
TheSoftwareJedi
  • 34,421
  • 21
  • 109
  • 151
4
votes
1 answer

ActiveMQ NMS: connection.start() hangs with Failover protocol when broker is down

I have C# application using nms.activemq 1.5.0. When my application starts it tries to connect to the broker using failover protocol (I have two brokers in master-slave configuration). If both brokers down my application is stuck in wait because of…
GustavLatte
  • 243
  • 3
  • 10
3
votes
2 answers

authenticate connection to activeMQ with username/password

I have an application running ok sending messages to activemq. I'm using spring.net and Nmstemplate to connect to broker. xml configuration file in general is:
user810917
  • 241
  • 4
  • 12
3
votes
2 answers

TypeError: list indices must be integers or slices, not cupy.core.core.ndarray

In object detection algorithms, Non-Maximum Suppression(NMS) is used to discard extra detection results for an object e.g. a vehicle. Normally, horizontal bounding boxes are used in object detection algorithms and the GPU implementation of…
Majid Azimi
  • 907
  • 1
  • 11
  • 29
3
votes
2 answers

ActiveMQ - Sending a message to a temporary queue specified using a string (NMS in C#)

I have a synchronous message transaction within my system, and the process broadly follows this flow: "Point A" creates a temporary queue ("destination 2") on the message broker; Message sent from point A to destination 1 (a normal queue on the…
rvxnet
  • 457
  • 5
  • 16
1
2 3
8 9