2 Replies Latest reply on Apr 8, 2015 6:47 AM by Mehdi Rakhshani

    Is calling iterator.remove() on a replicated cache supported by Infinispan?

    Mehdi Rakhshani Newbie

      I want a system where multiple app1's are adding entries to a named cache and
      an app2 is periodically processing the cache entries in the order they were added to the
      cache and removing them.


      Using Infinispan 6.0.0 running in Tomcat, attempting to call iterator.remove()
      on a replicated cache gets a java.lang.UnsupportedOperationException. Turning DEBUG log on
      does not provide any additional information.


      What is the appropriate way of iterating over the entries and removing them?