Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Querying information on the conversation with the EIS application

The isInConversation() method of the connection object enables you to query the status of the EIS application.

Example 13 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 ... ");
}