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
3
votes
1 answer

How to get the underlying Stream handle from an Apache NMS ActiveMQ message

Background: C# WPF application talking to JAVA server running on linux via ActiveMQ(Apache.NMS) / JSON(Newtonsoft.Json) Problem: JSON messages greater than 85000 bytes lead to LOH fragmentation Possible solution: Instead of reading the JSON as an…
Rookie
  • 49
  • 3
3
votes
4 answers

ActiveMq NMS Disconnects after about 30 seconds

'm trying to do simple pub/sub with ActiveMq. I can get it all working fine, but the subscriber disconnects after about 30 seconds. I've looked for a timeout type of value I can change but nothing seems to be working. Here is the subscriber: using…
Kelly
  • 6,992
  • 12
  • 59
  • 76
3
votes
1 answer

ActiveMQ NMS Temporary Queue not destroyed when Connection is closed

I've read in the Active MQ documentation that Temporary Queues are deleted by the broker when the connection that was used to create them is closed. I'm using Apache NMS v1.5.0 and Active MQ 5.1.3, and temporary queues are always persisting even…
3
votes
2 answers

net-snmp parse code, How to parse MIB?

I am learning net-snmp code-base. To parsing MIB. In parse.c and parse.h code keeps a hash bucket. (indexed bucket (tree list)). There is also a tree structure, Which contains a next pointer pointing to Next node in hashed list of names. struct…
Grijesh Chauhan
  • 57,103
  • 20
  • 141
  • 208
3
votes
1 answer

ActiveMQ connection start timeout in .NET

I have .Net client for ActiveMQ. I'm using Apache.NMS 1.5.1.2739 and Apache.NMS.ActiveMQ 1.5.6.2746 I connect to the broker using the follow code: var connectionFactory = new…
Pashec
  • 23,199
  • 3
  • 26
  • 26
2
votes
1 answer

Apache NMS - how to determine if connection is up

I'm having a hell of a time with some Apache NMS issues. Part of this may be my own lack of understanding of the platform. In essence, I have an NMS STOMP client that I use to send and receive AMQ messages via STOMP. The API looks a bit like…
me--
  • 1,978
  • 1
  • 22
  • 42
2
votes
0 answers

"Cannot load module" error when using NMS

We have a problem with NMS monitoring application. (NMS is a monitoring application for banking transaction. It owns Ingenico). Because of an accident our server broke and since then, when we install NMS on the server, Apache doesn't run and gives…
2
votes
1 answer

Transferring large files with Apache NMS

What is currently considered state-of-art, so to speak, when transferring large files over Apache NMS (using ActiveMQ)? Putting the whole content into a StreamMessage? However, I've seen the naming here is a bit misleading as the file isn't actually…
Cristian
  • 21
  • 2
2
votes
2 answers

Delayed delivery with ActiveMQ 5.3 and NMS

I'm attempting to use the new delayed delivery functionality from NMS. The schedulerSupport attribute has been set in the config file, and I'm using the following code to attempt to delay delivery of a message until the date/time chosen by the user…
rvxnet
  • 457
  • 5
  • 16
2
votes
1 answer

Can DateTime conversion between Java and C# introduce errors?

Background I'm using Apache's NMS library to talk with ActiveMq. Every sent message is time stamped by the producer, I'm looking at message latency by subtracting the timestamp from DateTime.UtcNow, I'd expect to see latencies of 0-100ms but instead…
chillitom
  • 24,888
  • 17
  • 83
  • 118
2
votes
1 answer

How to build embedded ActiveMQ Broker?

i'm doing a porting of a Java application in C# and i need to build embedded ActiveMQ instance. In Java i can use BrokerService class but i can't find something similar in Apache.Nms namespace for .Net. It could be useful to know how to start…
2
votes
2 answers

Multiple clients with Server Application more than 15 clients handling issue

I have a Server Application written in C# .NET and running on Windows XP SP3. I am using asynchronous sockets programming for handling around 500 clients. But I got a problem to entertain more than 15 client connections. My application got shut down…
amit jain
  • 21
  • 3
2
votes
1 answer

Unacknowledged message on ActiveMQ with fail over setup is not redelivered to subscriber

I am implementing Active MQ publisher and subscriber in c#. I am using Apache.NMS.ActiveMQ .net client library to communicate with the broker.
Vinod
  • 1,882
  • 2
  • 17
  • 27
2
votes
0 answers

Memory Leak Active MQ NMS

I am experiencing a memory leak in a c# console application and I am at a bit of a loss as to what is causing it. I did a dump of the application at various stages to compare how the heap changed. I noticed there were many pinned object references…
2
votes
2 answers

ActiveMQ + NMS can't receive messages

I'm trying to consume messages on an ActiveMQ topic from a C# application. I'm using the 1.3 .net release, and I don't receive any messages. I have existing code that uses older libraries (and libraries built on top of libraries that I don't want…
citizenmatt
  • 18,085
  • 5
  • 55
  • 60
1
2
3
8 9