CLI:
# Quiesce all WS proxies - change the default timeout to 80 seconds dpbuddy quiesce -classPattern WSGateway -timeout 80 # Un-quiesce all WS proxies dpbuddy unquiesce -classPattern WSGateway # Quiesce the current domain (the one defined by dp.domain property) dpbuddy quiesceDomain # Un-quiesce the current domain dpbuddy unquiesceDomain
Ant:
<project name="dpbuddy.samples.quiesce" basedir="." xmlns:dp="antlib:com.myarch.dpbuddy" >
<description>
Samples demonstrating quiescence/un-quiescence of services and domain
</description>
<target name="quiesce">
<dp:quiesce>
<!-- Quiesce all Web services proxies -->
<object class="WSGateway" />
<!-- Quiesce front-side handlers -->
<object class="HTTPSourceProtocolHa.*" name="Test.*"/>
</dp:quiesce>
</target>
<target name="unquiesce">
<dp:unquiesce>
<object class="WSGateway" />
<object class="HTTPSourceProtocolHa.*" name="TestHTTPHandler"/>
</dp:unquiesce>
</target>
<target name="quiesce.domain">
<dp:quiesceDomain />
</target>
<target name="unquiesce.domain">
<dp:unquiesceDomain/>
</target>
<target name="quiesce.all" depends="quiesce,unquiesce,quiesce.domain,unquiesce.domain" />
</project>