*/
public TabularData viewMessages(int beginIndex, int endIndex) throws JMException
{
if ((beginIndex > endIndex) || (beginIndex < 1))
{
throw new OperationsException("From Index = " + beginIndex + ", To Index = " + endIndex
+ "\n\"From Index\" should be greater than 0 and less than \"To Index\"");
}
List<QueueEntry> list = _queue.getMessagesOnTheQueue();
TabularDataSupport _messageList = new TabularDataSupport(_messagelistDataType);