Apache NMS is C# a Project that defines a JMS style API called NMS and implements clients for Messaging services such as ActiveMQ, and Tibco EMS.
Questions tagged [apache-nms]
51 questions
2
votes
3 answers
Unable to connect to ActiveMQ from .NET: No IConnectionFactory implementation
I'm trying to connect to ActiveMQ from a .NET client. ActiveMQ server is up and running. I can access the admin console from my browser.
When I run the folowing code, I get an exception when trying to create the NMSCOnnectionFactory. I have no idea…

DenaliHardtail
- 27,362
- 56
- 154
- 233
2
votes
1 answer
ActiveMQ - No topic messages received from DurableConsumer
I´m trying to reveive messages from an ActiveMQ topic. In the web console i see that numerous messages are enqueued in the topic, but running the following code doesn´t return anything:
IConnectionFactory factory = new ConnectionFactory(new…

Prefect73
- 321
- 3
- 14
2
votes
1 answer
NACK a message in apache nms
I'm trying use apache nms stomp for send/receive messages. I can not use Transnational ack mode, because of using hornetq. My consumer scenario:
Receive a message
Process the message
ACK it if process succeed (with message.Acknowledge())
NACK it if…

Arya
- 2,809
- 5
- 34
- 56
2
votes
1 answer
Why Active MQ Consumer is not recieving any message even if it is online?
Consumer Created.
Producer created.
Msg Sent.
Msg Enqueued in the Queue.
But Msg not dequeued (even though there is a consumer online for
that queue).
There is no error logged on the system.
So What could be the reason for it?

Tamilmaran
- 1,257
- 1
- 10
- 21
1
vote
1 answer
Producer messages using Apache.NMS Console app and Windows Forms
I am trying to produce messages to and consume messages from ActiveMQ Artemis queues for the first time. I am able to connect and produce messages via Apache.NMS.ActiveMQ as well as Apache.NMS.AMQP when I use the code in a C# console application.…

vandyltd
- 11
- 2
1
vote
1 answer
ActiveMQ failover transport options not working as expected
I would like to use the ActiveMQ failover transport as described in https://activemq.apache.org/failover-transport-reference.html.
The default "retry forever" failover options work as expected.
However, since "forever" is sometimes too long, I tried…

Benjamin Batistic
- 819
- 6
- 12
1
vote
1 answer
How to connect to ActiveMQ over SSL from Apache.NMS C# client library
I have a server where we have installed ActiveMQ and also generate the necessary certificates for SSL.
I have added a broker certificate to my local machine's Keystore and then tried to connect ActiveMQ over SSL but getting an error like: not able…

sueb mijaki
- 13
- 5
1
vote
2 answers
Is there a way to programmatically delete an ActiveMQ Job Schedule?
I'm trying to delete a scheduled job in ActiveMQ, and so far no luck.
Schedule is created among with the message using either NMS API or Amqpnetlite (except openwire lib as that one is not updated and can't be used on netstandard/netcore)
Sample…

Ermir Beqiraj
- 867
- 11
- 24
1
vote
1 answer
Connecting to AmazonMQ (ActiveMQ) broker from .NET using Apache.NMS.AMQP
I am having trouble connecting to my AmazonMQ broker using Apache.NMS.AMQP client (GitHub repo).
I have AmazonMQ broker up and running and I can connect to broker console.
In my .NET project I have installed Apache.NMQ.AMQP NuGet (v1.8.0) which…

Kruno MONO
- 81
- 13
1
vote
0 answers
Apache NMS throws an established connection was aborted by the software in your host machine under heavy use
Background:
C# WPF application talking to JAVA server running on linux via ActiveMQ/JSON
Total 5 instances of connection:
Queues: 2
Topics: 3 (1 producer, 2 consumers)
Problem:
Under heavy use (throughput rate of sending/receiving around 200…

Rookie
- 49
- 3
1
vote
1 answer
How can I add custom properties to a message with Apache.NMS.ActiveMQ (C#)?
I am starting with ActiveMQ in C#.
I serialize my object to json and send it without problem.
I would add properties to my message but I don't succeed. I have seen the setIntProperty(String name,int value) on few websites but I don't find it on…

Seb
- 59
- 1
- 2
- 8
1
vote
0 answers
Is the Durable Consumer ActiveMQ test case, C# implementation invalid?
I've been having difficulty getting durable consumers working with ActiveMQ in a C# and Windows environment (works fine in Java).
So I looked at the test case and was shocked to see the test uses the same connection and session to run both the…

Gerry
- 1,031
- 1
- 14
- 30
1
vote
1 answer
ActiveMQ: multi-consumers connected to one queue but only one consumer recieve all the messages
I was currently using NMS to develop application based ActiveMQ(5.6).
We have several consumers(exe) trying to recieving massgaes from the same queue(not topic). While all the messages just all go to one consumer though I have make the consumer to…

ladygaga
- 11
- 3
1
vote
1 answer
How can I delete/remove an ActiveMQ subscriber using NMS API
I need to remove/delete my topic subscriber. I found this http://activemq.apache.org/manage-durable-subscribers.html
However, it's not good enough for us. We want to control the timing of removing a subscriber, and no matter there are any message or…

Kimi Wu
- 309
- 1
- 4
- 17
1
vote
3 answers
Why is consumer not created for ActiveMQ Temp Queue?
Except SimpleMessageListenerContainer option, the consumer is not created for temp queue.
I will not use SimpleMessageListenerContainer for some issues faced here.
Following code is not working...(even the temp queue is not created)
…

Tamilmaran
- 1,257
- 1
- 10
- 21