Disclaimer: This repository is a git-svn mirror of the project found at http://java.net/projects/jsip whose original repository is developed collaboratively by the Advanced Networking Technologies Division at the National Institute of Standards and Technology (NIST) - an agency of the United States Department of Commerce and by a community of individual and enterprise contributors. TeleStax, Inc. will perform some productization work, new features experimentation branches, etc for its TelScale jSIP product that doesn't concern the community from the main repository hence this git repository.
In TLSMessageProcessor class, in run() method, below line creates object to TLSMessageChannel
TLSMessageChannel newChannel = new TLSMessageChannel(newsock, sipStack, this, "TLSMessageChannelThread-" + nConnections);
which in turn creates a thread and start it in constructor itself, which is not good practice since as most of the time, it will end up with an escaped this reference, either explicitly or implicitly.
Because of this, incomingMessageChannel map is not updated with values.
In TLSMessageProcessor class, in run() method, below line creates object to TLSMessageChannel TLSMessageChannel newChannel = new TLSMessageChannel(newsock, sipStack, this, "TLSMessageChannelThread-" + nConnections);
which in turn creates a thread and start it in constructor itself, which is not good practice since as most of the time, it will end up with an escaped this reference, either explicitly or implicitly.
Because of this, incomingMessageChannel map is not updated with values.