Converted jms input stream to AbstractBufferedInputStream. Made JmsFileTransferException an IOException.