if (msg != null)
{
// TODO Call Work flow Execution here.
try
{
SSAFWorkflowProcess workflowProcess = new WorkflowProcessImpl();
String finalXML = workflowProcess.applyWorkflow((String)msg.getObject(),this.folderName, this.workflowName);
Queue outboundq = QueueService.getQueue(provider.getOutBoundQueueName(folderName, workflowName));
msg.setObject(finalXML);
outboundq.enqueue(msg);
messageQueue.removeHeadMessage(msg);
}