return msg;
}
public Object getRandomSeqToProcess() {
SandeshaQueue sq = SandeshaQueue.getInstance(endPoint);
List seqs = sq.nextAllSeqsToProcess();
int size = seqs.size();
if (size <= 0)
return null;
Random r = new Random();
int number = r.nextInt(size);