package org.codehaus.xfire.exchange;

import javax.xml.stream.XMLStreamReader;

/**
 * A "in" message. These arrive at endpoints.

 * @author <a href="mailto:dan@envoisolutions.com">Dan Diephouse</a>
 */
public class InMessage
    extends AbstractMessage
{
    private XMLStreamReader xmlStreamReader;

    public InMessage()
    {
    }
    
    public InMessage(XMLStreamReader xmlStreamReader)
    {
        this.xmlStreamReader = xmlStreamReader;
        setUri(ANONYMOUS_URI);
    }
    
    public InMessage(XMLStreamReader xmlStreamReader, String uri)
    {
        this.xmlStreamReader = xmlStreamReader;
        setUri(uri);
    }

    public XMLStreamReader getXMLStreamReader()
    {
        return xmlStreamReader;
    }
}
@@ -634,16 +634,145 @@
 %0A    %7D%0A%0A
+    public void setXMLStreamReader(XMLStreamReader xmlStreamReader)%0A    %7B%0A        this.xmlStreamReader = xmlStreamReader;%0A    %7D%0A%0A
     publ

Allow the stream reader to be set