Setting Shared Event Types
The BrokerAdminClient.setClusterGatewaySharedEventTypes method can be used to set the event types that will be forwarded or received by a gateway Broker. You specify the following parameters:
The cluster name
Broker name in the specified cluster
An array of
BrokerSharedEventTypeInfo objects
Each BrokerSharedEventTypeInfo object contains:
The event type name
An indication of whether or not this
Broker will accept events of this type that are being published or delivered from the remote cluster
An indication of whether or not this
Broker will accept forwarded subscriptions or deliver events of this type to the remote cluster
An indication of whether or not this event type is synchronized with the remote cluster