Actually the problem is that I need just to insert my bytes into Tamino, but I need to specify the contentType (or Tamino will throw the Exception if it do not know about it) and prevent Tamino from attemts to index it.
Using “audio/mpeg” content type solves the problem for 4.4.1 but id oesn’t works with Tamino 4.2.1
String text = “The report is awaiting execution”;
InputStream is = new ByteArrayInputStream(text.getBytes(“UTF-8”));
TNonXMLObject nonXMLObject = TNonXMLObject.newInstance(is, null, “ino:nonXML”, “text1”, “text/html”);
accessor.insert( nonXMLObject );
Its working fine for me on both 4.2.1 and 4.4.1 as well