package com.boundary.camel.component.common;

/**
 * 
 * @author davidg
 *
 */
public class ServiceInfo {
	
	private ServiceStatus status = ServiceStatus.SUCCESS;
	private String message = "OK";
	private String host = "localhost";
	private int port = 7;
	private int timeOut = 5000;
	
	public ServiceInfo() {
	}
	
	public void setStatus(ServiceStatus status) {
		this.status = status;
	}
	
	public ServiceStatus getStatus() {
		return this.status;
	}
	
	public void setMessage(String message) {
		this.message = message;
	} 
	
	public String getMessage() {
		return this.message;
	}
	
	public void setHost(String host) {
		this.host = host;
	}
	
	public String getHost() {
		return this.host;
	}
	
	public void setPort(int port) {
		this.port = port;
	}
	
	public int getPort() {
		return this.port;
	}

	public void setTimeout(int timeOut) {
		this.timeOut = timeOut;
	}
	
	public int getTimeout() {
		return this.timeOut;
	}


}

@@ -39,16 +39,40 @@
 ommon;%0A%0A
+import java.util.Date;%0A%0A
 /**%0A * %0A
@@ -300,16 +300,54 @@
 = 5000;%0A
+%09private Date timeStamp = new Date();%0A
 %09%0A%09publi
@@ -982,12 +982,149 @@
 Out;%0A%09%7D%0A
-%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 timestamp