package com.boundary.camel.component.ping;

public abstract class ServiceStatus {
	
	private Status status;
	private String message;
	
	public ServiceStatus() {
		status = Status.SUCCESS;
		message = "OK";
	}
	
	public void setStatus(Status status) {
		this.status = status;
	}
	
	public Status getStatus() {
		return this.status;
	}
	
	public void setMessage(String message) {
		this.message = message;
	}
	
	public String getMessage() {
		return this.message;
	}
}

@@ -37,16 +37,40 @@
 .ping;%0A%0A
+import java.util.Date;%0A%0A
 public a
@@ -150,16 +150,41 @@
 essage;%0A
+%09private Date timeStamp;%0A
 %09%0A%09publi
@@ -248,16 +248,42 @@
 = %22OK%22;%0A
+%09%09timeStamp = new Date();%0A
 %09%7D%0A%09%0A%09pu
@@ -503,24 +503,24 @@
 Message() %7B%0A
-
 %09%09return thi
@@ -533,10 +533,149 @@
 age;%0A%09%7D%0A
+%09%0A%09public void setTimestamp(Date timeStamp) %7B%0A%09%09this.timeStamp = timeStamp;%0A%09%7D%0A%09%0A%09public Date getTimestamp() %7B%0A%09%09return this.timeStamp;%0A%09%7D%0A
 %7D%0A

Add time stamp