Table of Contents Previous Next Index

Manual Start for Gateway Hubs - Early Access

Manual Start for Gateway Hubs - Early Access

You can now declare gateway hubs in your cache.xml without automatically starting them. Before this release, any gateway hub declared in your cache.xml would automatically start when the cache was created. This is still the default behavior. You can now disable the hub startup by setting the new gateway-hub attribute manual-start to true in the XML file. If manual start is enabled, you must then start the hub through the API using one of the GatewayHub start methods.

This option allows you to use the normal XML for hub configuration and to control when your system starts communicating with remote sites. This is useful for involved startup procedures, such as those required when recovering from a crash, or for any situation in which you want to ensure that cache initiation finishes before remote site operations are allowed in.