06-10-2016 05:55 AM
Hi,
I have compile and run my import program in Lab mode. It works.
Now, I understand that if I want to test with CCX IPIVR and Finesse 11.0, I need to compile in prod.
I havent found a way to "Register" in prod, apparently there is not difference at the Registration level.
the only thing I have change is at the initialization of the service config.addProperty("LAB_MODE", false); ... see bellow
:
// Initialize Client Connection
ContextServiceClient contextServiceClient = ConnectorFactory.getConnector(ContextServiceClient.class);
System.out.println("ContextServiceClient version : " + contextServiceClient.getVersion());
BaseConfiguration config = new BaseConfiguration();
config.addProperty("LAB_MODE", false);
config.addProperty("REQUEST_TIMEOUT", 10000);
config.addProperty("RETRIES", 2);
try {
contextServiceClient.init(CONNECTIONDATA, connInfo, config);
System.out.println("\n\n*** Client Connector Connected ***\n\n");
}
catch (ApiException e) {
System.out.println("Error! Could not init client connector: " + e);
}
is it the only thing to change to run in prod?
thanks,
Fred
Solved! Go to Solution.
06-10-2016 05:58 AM
Fred,
You're correct! Setting Lab Mode to false will compile your program in Context Service production mode.
Thank you
Ankit Parikh
06-10-2016 05:58 AM
Fred,
You're correct! Setting Lab Mode to false will compile your program in Context Service production mode.
Thank you
Ankit Parikh
06-10-2016 06:14 AM
Thanks Ankit
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide