7. Clustering and Loadbalancing

clusterNotification

Receives control messages to dynamically modify the configuration of a {@link LoadBalancingInterceptor}.

Explanation:

See also examples/loadbalancer-client-2 in the Membrane API Gateway distribution.

Can be used in:

serviceProxy, api, stompProxy, swaggerProxy, if, registration, wsStompReassembler, interceptor, bean, internalProxy, transport and soapProxy

Syntax

<clusterNotification validateSignature="[true, false]" keyHex="string" timeout="integer" />

Sample

<serviceProxy port="2000">
  <request>
    <clusterNotification validateSignature="true" keyHex="6f488a642b740fb70c5250987a284dc0" timeout="5000" />
  </request>
</serviceProxy>

Attributes

NameRequiredDefaultDescriptionExample
validateSignature false - Set Push Interface to encrypted mode. -
keyHex false - Key used by encryption as hex string 6f488a642b740fb70c5250987a284dc0
timeout false - Timestamp invalidation period. (0=unlimited) 5000