Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
Tired of LLIOException exceptions with Java LAPI?
Claudia_Meyer
The attached EasyLLSession.java file will help alleviate those annoying com.opentext.api.LLIOException exceptions that seem to randomly occur. You'll need to edit the package name appropriately and change your llsession instantiation to:LLSession llsession = new EasyLLSession( parm1, parm2, ... );The request will be attempted 10 times with a delay of 5 seconds between each request whenever an LLIOException occurs. You can change these parameters with theEasyLLSession.setExecuteAttempts() and EasyLLSession.setTimeBetweenAttempts() static methods.This class is part of the next version of EasyLAPI, which some of you may have already seen on the Knowledge Center. Development never stopped on this package, so expect newer methods, smarter caching, tweaks, and some backwards compatibility with the next version.
Find more posts tagged with
Comments
There are no comments yet