Loading...
Select Version
&pagelevel(5)&pagelevel
The isInConversation() method of the connection object enables you to query the status of the EIS application.
Example 6 Information on the conversation with the EIS application
You want to assure that the conversation with the EIS application will be terminated after method execution has been completed:
...
String s = con.call("what will be the echo of this");
if (eis.isInConversation())
{
con.terminate();
con.close();
throw new EJBException
("EJB Exception: EIS Partner Service not yet terminated ... ");
}