If more that one message is received at the same time. How to control the
execution of the business logic method.
public void messageReceived(IoSession session, Object message) throws
Exception
{
//----------------------------------------------------------------------
// received the Request Transaction
//----------------------------------------------------------------------
String theMessage = ( String ) message;
//--------------------------------------------------------------
// Process Transaction Code business logic method
//--------------------------------------------------------------
theMessage = transaction.ProcessTransaction(theMessage,arclient);
//----------------------------------------------------------------------
// send the response Transaction Back
//----------------------------------------------------------------------
session.write(theMessage);
}
--
View this message in context:
http://www.nabble.com/messageReceived-and-bussiness-logic-tf4729241s16868.html#a13522950
Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.