activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Friberg <>
Subject ActiveMQ NMS Topics with C#
Date Fri, 18 Oct 2013 14:24:16 GMT

ActiveMQ newbie here with a few questions.

We're using ActiveMQ and NMS from C# to send and receive non-durable binary object messages
to/from a single topic.
We're broadcasting cache invalidation messages. Processes listening will update their cache
based on the content of the message.

I've wrapped a producer,consumer,session and connection objects into a single class, ActiveMqTopicClient.
An instance of the class is running within IIS worker processes across several servers on
a shared LAN.
Here's the code:
Any feedback on the use of the API would be nice.

Question #1:
I'm passing null for the selector assuming all messages will be received. Is this a correct
I saw some code examples using a selector of "2>1" which always evaluates to true.
The jms docs say that passing null as selector is interpreted as no selector at all. But does
that mean no messages are selected or messages are not filtered at all?

Question #2: what is the nolocal argument local to? the server? the process? the session?
the connection?

Question #3: How does the nolocal parameter relate to the selector? If nolocal is false, will
the message bypass the selector?

Med vänlig hälsning/Best regards

Direct/mobile  +46 733 83 90 80
Sms                  +46 733 83 90 80
Reception        +46 33 17 18 00

Nils Jakobsonsgatan 5, Borås, Sweden
Box 881, SE-501 15 Borås, Sweden

[cid:image001.png@01CE5BAD.DC124DE0]IT's a promise

  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message