Aegis handles MTOM fallback assymetrically
------------------------------------------

                 Key: CXF-3056
                 URL: https://issues.apache.org/jira/browse/CXF-3056
             Project: CXF
          Issue Type: Bug
          Components: Aegis Databinding
            Reporter: Benson Margulies
             Fix For: 2.3


I'm not sure if this will prove out as a defect, but I'm writing it up. In the 
DataHandler type class in Aegis the wrapBytes method does not package the bytes 
as a ByteArrayInputStream in a data source. The result is that 'unoptimized' 
data handlers are completely different inside from optimized ones, and code has 
to condition on it, and it's a pain. It would be better, if not very 
compatible, to always set up a stream. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to