Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to logout fix session?

I'm using quickfixj. I have a custom message like "EndTrade", when I got that message, I want to end fix session? How can I do that? I have not find any way to do so. It is not allowing me to use new Session().logout().

like image 280
Muneeb Nasir Avatar asked Jun 11 '14 08:06

Muneeb Nasir


1 Answers

I got answer of my question. you can logout your fix session in following way.

Session.lookupSession(sessionID).logout();
like image 73
Muneeb Nasir Avatar answered Jan 01 '23 12:01

Muneeb Nasir