public BaseMessage createReplyMessage ( BaseMessage messageIn ) { //ProductRequest productRequest = (ProductRequest)messageIn.getMessageDataDesc(null); BaseMessage replyMessage = ( BaseMessage ) this . getMessageProcessInfo ( ) . createReplyMessage ( messageIn ) ; //BaseProductResponse responseMessage = (BaseProductResponse)replyMessage.getMessageDataDesc(null); //responseMessage.moveRequestInfoToReply(productRequest); if ( replyMessage == null ) replyMessage = new TreeMessage ( null , null ) ; if ( replyMessage . getExternalMessage ( ) == null ) new ExternalMapTrxMessageIn ( replyMessage , null ) ; return replyMessage ; // Override this! }
Given this message in create the reply message .