nms

What serialization method is used for an ActiveMQ NMS C# object message?

I'm planning on using Apache NMS for ActiveMQ messaging, and am wondering what serialization method is going to be used on the objects I send? XML/Binary? What controls the serialization and how can I customize it? Does anyone have experience doing this with C# objects? Are there any pitfalls that you know of? ...

activemq consumer enumeration

Is it possible to use an activemq consumer (in .NET) like this? foreach (var msg in consumer) { // process message } such that the enumeration loop stops, without consuming CPU, until a message is available? Effectively it would be an infinite loop unless something goes wrong. ...

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 be used, and I think JMS had IQueueBrowser as well. I cannot find an ActiveMQ .NET equiv...

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 it. My system.service model looks like this - <bindings> <nmsBinding> ...

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 System; using Apache.NMS; using Apache.NMS.ActiveMQ; using Apache.NMS.ActiveMQ.Commands; ...

How should the NMS topology view to be organized?

We have a C/S NMS system, where the topoloy view show all the NEs(Network Elements) in it's physical or logical view. Here's the problem, where the amount of NEs come to several tens of thousands nodes, the GUI client can't show so many data? BTW, also we need the NEs' while topology data, we do the alarm status propagation based the NEs...

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. ...

Use of DTLS (Datagram Transport Layer Security) with SNMP and Management Systems

Does anyone know if the current crop of SNMP based commercial and open source network management systems (eg, HP OpeenView/NNM, OpenNMS) support the use of SNMP over DTLS (http://tools.ietf.org/html/rfc4347)? Thanks in advance... ...

Nagios - Custom Report Generation

Hi, I want to generate a custom report in "Nagios-3.2.0". I have defined the work-hours in "timeperiods.cfg" as follows: 'workhours' timeperiod definition define timeperiod { timeperiod_name 0800-2000 alias full time monday 08:00-20:00 tuesday 08:00-20:00 wednesday 08:00-20:00 thursday 08:00-20:00 friday 08...

Suggestions needed for request-reply on ActiveMQ and Camel using Spring NMS on .NET

I am trying to use the ActiveMQ and Camel (running in broker) on .NET using Spring and NMS. In general, these components work brilliantly. I have a camel route for send/receive, and some code in .NET to handle this - works like a charm. The issue I am trying to resolve is for a request-reply integration pattern. Camel support this, a...

ActiveMQ + NMS can't receive messages

Hello all. 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 to use or upgrade) that work fine, so I know messages are travelling along the ...

ActiveMQ Advisory Topics for Connections not forwarded in network of brokers ?

I'm working on an application where we want to monitor logon/logoff of clients. Since ActiveMQ contains Advisory Topics that alert you of new connections and removal of connections, the idea was to use this advisory messages ( ActiveMQ.Advisory.Connection). This worked fine during development but now, when we are going to production in o...

How does WCF turn a ServiceContract/OperationContract into a Message that can be serialized?

I'm starting to experiment with using ActiveMQ (in conjunction with the ActiveMQ.NMS bindings) to support some cross platform RPC messaging that we're looking at doing. As part of this I'd like to be able to define our RPC contracts in the manner WCF provides - eg. [ServiceContract] public interface IUsers { [OperationContract] ...

Is there a way to set the maximum number of message redeliveries in ActiveMQ when using the Apache.NMS libraries?

I'm using Apache.NMS 1.4. I need to be able to programmatically set the maximum number of times a message can be delivered before being placed in the DLQ (Dead Letter Queue). Is there a way to do it? ...