[infinispan-dev] Removing Infinispan dependency on the Hibernate-Infinispan module in 4.x

Dan Berindei dan.berindei at gmail.com
Thu Feb 9 04:53:14 EST 2012


On Wed, Feb 8, 2012 at 5:32 PM, Scott Marlow <smarlow at 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



More information about the infinispan-dev mailing list