1 Reply Latest reply: Apr 26, 2012 9:18 AM by Tristan Tarrant RSS

Remote Store in AS7:Hot Rod server Infinispan address

Aryan RS Newbie

I am trying to configure a remote store (Infinispan cluster) in AS7. What would I need to specify in domain.xml as address for the group of Infinispan instances(Hot Rod server). I tried with comma seperated with IP and Port but did not work.

  • 1. Re: Remote Store in AS7:Hot Rod server Infinispan address
    Tristan Tarrant Master

    You have to use <outbound-socket-binding> as follows:

     

    <local-cache name="myCache">

      <remote-store cache="namedCache" socket-timeout="60000" tcp-no-delay="true" fetch-state="false" passivation="true" preload="true" purge="false">

        <remote-server outbound-socket-binding="remote-store-hotrod-server" />

        <remote-server outbound-socket-binding="other-store-hotrod-server" />

      </remote-store>

    </local-cache>

     

    :

     

    <outbound-socket-binding name="remote-store-hotrod-server">

      <remote-destination host="remote-host" port="11222" />

    </outbound-socket-binding>

     

    <outbound-socket-binding name="other-store-hotrod-server">

      <remote-destination host="other-host" port="11222" />

    </outbound-socket-binding>