On Wed, Feb 8, 2012 at 5:32 PM, Scott Marlow <smarlow(a)redhat.com> wrote:
On 02/08/2012 10:25 AM, Galder ZamarreƱo wrote:
> Scott, what do you suggest doing instead then? Without the commands, evictAll
invalidation won't work.
>
> Are you suggesting that I revert back to using the cache as a notification bus so
that regions are invalidated?
For the clustered case, is there a way to get the underlying JGroups
channel and use that to make remote calls instead of using the cache as
a notification bus?
The JGroups channel you get from JGroupsTransport.getChannel() can be
used only by Infinispan.
But in AS7 Infinispan uses a muxed channel on top of the JGroups
subsystem's physical channel. So I think you could get another muxed
channel from the JGroups subsystem to make RPCs without affecting
Infinispan.
Cheers
Dan