I have a simple route with two threads.
The first thread takes incoming messages using pdl-tcpip protocol .A tcl in the incoming thread sends back an ACK and forwards the message to the second thread.This is a fixed format message and not a HL7.
The second thread connects to an ftp server and writes the incoming message to the server.
I am having performance issues.
I am logging the timestamps and the processing is at the rate of 5 incoming messages/sec when i have both the threads running.
I am seeing that the messages are coming into the incoming thread at the rate of 5 msg/sec.
If i kill the second thread and have only the first thread running.i can see all the messages coming into the first thread at about the same time.
I am new to CCG and would appreciate any pointers as to improving the performace since we are expecting the processing to be at 100 messages/sec.
My TCL for sending back an ack looks very similar to the HL7_Raw_Ack provided in the samples.