This discussion is archived
2 Replies Latest reply: Jan 25, 2013 3:08 PM by user738616 RSS

More than one listener per cluster

965779 Newbie
Currently Being Moderated
Is it possible to have more than 1 server running the listener in the same cluster? Currently our configuration is having one listener/cluster , is it possible to run multiple listeners ?
  • 1. Re: More than one listener per cluster
    Angel.Ruiz Newbie
    Currently Being Moderated

    you probably are looking at using Backing Map Listeners? Using BMLs with your partitioned cache services, a listener will run on each storage-enabled JVM/member.
    Events will only be dispatched once except in some cases.

    More info about how to use this type of listener here:

    Hope this helps.
  • 2. Re: More than one listener per cluster
    user738616 Pro
    Currently Being Moderated

    You can have as many listeners as you want by programatically attaching them to the cache.


    Each of the nodes that will invoke the above code will receive the events.



  • Correct Answers - 10 points
  • Helpful Answers - 5 points