cancel
Showing results for 
Search instead for 
Did you mean: 

closing mdm connection through Java API

Former Member
0 Kudos

hi Guys,

when I am using following command to create a session

sessionId = sessionManager.createSession(userSessionContext,SessionTypes.USER_SESSION_TYPE,userPassword);

I found that in backend(MDM Console) there are 3 connections created.

Two connections with the name "SAP MDM Java API" and 1 with name "SAP MDM Java API (event dispatcher)".

When I am closing connections with the following command

sessionManager.destroySessions(userSessionContext);

the first 2 are getting closed but the one with name event dispatcher is still active. How to close this connection.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Pramod,

Please try connection.destroyInstance(); instead.

Regards,

Tushar S