package com.eactive.eai.adapter.db;

public class DBAdapterKeys {
	public static final String ADAPTER_GROUPNAME = "adapterGroupName";
	public static final String ADAPTER_NAME = "adapterName";
	public static final String ADAPTER_PROPGN = "propGroupName";
	
	// jdbc common
	public static final String DRIVER = "jdbc.driver";
	public static final String URL = "jdbc.url";
	public static final String USER = "jdbc.user";
	public static final String PVAL = "jdbc.pval";
	public static final String DATASOURCE = "jdbc.datasource"; // optional
	public static final String ENCODE = "encode"; // optional
	
	// inbound query
	public static final String SELECT = "jdbc.select"; // select query
	public static final String UPDATE = "jdbc.update"; // update query
	// inbound scheduler
	public static final String RUN_CRONEXP = "run.cronexp"; //  Quartz [ 0/10 * * * * ? ] 
	public static final String RUN_INTVL = "run.interval"; //  0...N
	public static final String RUN_RETRY = "run.retry"; //  Y|N
	public static final String RUN_RETRYCNT = "run.retrycnt"; // 0...N
	public static final String RUN_RETRYINTVL = "run.retryinterval"; //ms
	public static final String RUN_MSGTYPE = "run.msgtype"; // XML | JSON

	// Outbound
	public static final String QUERY = "query";   	
}
