Thanks for your reply. Ideally I realized the code works. The issue is that
the server expects more than one exchanges-one to open up the port. So if I
fire two messages, I am able to get the right response. the trick is to send
two messages in a loop; the first message being a fake message and
();
final String msg =
SECTOR,GCS/I,JKAB016/123123,333,DESCRIPTION::=\this is it
man\,SHORT.NAME::=\integration\;
try {
Endpoint e =
context.getEndpoint(mina:tcp://127.0.0.1:7023?timeout=12textline=truesync=true);
Exchange ex = e.createExchange(ExchangePattern.InOut