@@ -45,12 +45,6 @@ public void run()
4545 {
4646 MessageQueue .Message message = message_queue .MESSAGES .remove (0 );
4747
48- // Audit trail: log the message to the telnet proxy writer.
49- // ConnectionPoller.handleSession() has already completed the full
50- // HTTP round-trip directly (Socket → tacobell.phd:80 → client), so
51- // the sorter must NOT attempt a second read from the shared proxy
52- // reader here — doing so would block waiting on a stream that has
53- // already delivered its response and is now idle/closed.
5448 try
5549 {
5650 if (SocketUtils .isConnected (message .SOCKET )
@@ -64,13 +58,10 @@ public void run()
6458 writer .write ("[IP Address]: " + message .INTERNET_ADDRESS + "\n " );
6559 writer .write ("[Socket]: " + message .SOCKET + "\n " );
6660 writer .flush ();
67-
68- CommonRails .printSystemComponent (this , this .hashCode (),
69- ". MessageQueueSorter >> audit logged to proxy writer for "
70- + message .INTERNET_ADDRESS + " ." );
7161 }
7262
73- message_queue .remove (message );
63+ CommonRails .printSystemComponent (this , this .hashCode (),
64+ ". MessageQueueSorter >> processed [" + message .MESSAGE_BUFFER .toString ().trim () + "] from " + message .INTERNET_ADDRESS + " ." );
7465 }
7566 catch (SocketTimeoutException ste )
7667 {
@@ -80,8 +71,6 @@ public void run()
8071 catch (IOException e )
8172 {
8273 ExceptionHandler .dispatch (e );
83- CommonRails .printSystemComponent (this , this .hashCode (),
84- ". MessageQueueSorter socket closed for " + message .INTERNET_ADDRESS + " ." );
8574 }
8675 }
8776 }
@@ -96,11 +85,7 @@ public void run()
9685
9786 public synchronized void addMessage (final MessageQueue .Message MESSAGE )
9887 {
99- CommonRails .printSystemComponent (this , this .hashCode (), ". WebExpress addMessage MESSAGE queue size before " +this .getMessageQueueSize ()+" ." );
100-
10188 this .WEBEXPRESS .MESSAGE_QUEUE .add (MESSAGE );
102-
103- CommonRails .printSystemComponent (this , this .hashCode (), ". WebExpress addMessage MESSAGE queue size after " +this .getMessageQueueSize ()+" ." );
10489 }
10590
10691 public synchronized MessageQueue getMessageQueue ()
0 commit comments