Reputation: 2504
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()
.
Upvotes: 6
Views: 5021
Reputation: 2504
I got answer of my question. you can logout your fix session in following way.
Session.lookupSession(sessionID).logout();
Upvotes: 8