I see a couple of options off the top of my head:

  1) Make sure "messages sent via the local broker" have a unique, consistent 
property and simply create your topic subscription to select those messages.

  2) Modify your cluster-connection configuration so that the topic in question 
isn't clustered.


Justin

----- Original Message -----
From: "Lachezar Dobrev" <[email protected]>
To: [email protected]
Sent: Thursday, September 29, 2016 6:35:18 AM
Subject: Messaging listener for local messages only

  I have a multi-node (static) network of embedded Artemis JMS brokers.
  I'm wondering if there is a way to register a JMS listener to a topic,
but somehow distinguish between messages sent via the local broker and
those that come from different nodes in the 'cluster'?
  I'd like to make sure, that the specific listener only handles messages
sent from producers connected to the same broker.

Reply via email to