Integration Server 10.7 | Microservices Runtime Guide | Consul Support | Consul Public Services Folder
 
Consul Public Services Folder
 
pub.consul.client:deregisterService
pub.consul.client:getAllHostsForService
pub.consul.client:getAnyHostForService
pub.consul.client:registerService
The following table identifies the elements available in the consul folder of the WmConsul package:
Element
Package and Description
WmConsul. De-registers a microservice from a Consul server. Use as a shutdown service for the package being registered as a microservice.
WmConsul. Queries the Consul server for a list of active hosts that have registered the given microservice with Consul.
WmConsul. Queries the Consul server for a list of active hosts that have registered the given microservice with Consul and if there are multiple hosts for this microservice, randomly return one of those hosts.
WmConsul. Registers a microservice with a Consul server. Use as a startup service for the package being registered as a microservice.