I create a channel that reads a text file and sends a hl7 message. But right now when I read the text file only reads the first record and sends the hl7 for only the first record.
For example I read this 4 records from the text file (test.txt):
DIANA RIVERA;F;09081976;
JAVIER GOMEZ;M;08271974;
BETH SMITH;F;10101960;
JAQUIE SISSONS;F;12081955;

Anybody knows how can I read all the records from the text file and send the hl7 message for all the records?