@Configurable public class IfHealthOk extends IfHealthStatus
<health:HttpStatusHealthCheck ee:Named="httpStatusCheck">
<url>http://localhost:8080/test-ping.jsp</url>
</health:HttpStatusHealthCheck>
<mail name="healthMailer">
<from>resin@yourdomain.com</from>
<smtp-host>localhost</smtp-host>
<smtp-port>25</smtp-port>
</mail>
<health:SendMail mail="${healthMailer}">
<to>admin@yourdomain.com</to>
<to>another_admin@yourdomain.com</to>
<health:IfHealthOk healthCheck="${httpStatusCheck}"/>
</health:SendMail>
Constructor and Description |
---|
IfHealthOk() |
IfHealthOk(HealthCheck healthCheck) |
getStatus, isMatch, setCount, setStatus, setSystemRecheckTime, setTime, setTimeMillis
getHealthCheck, getLastResult, setHealthCheck, toString
public IfHealthOk()
public IfHealthOk(HealthCheck healthCheck)