You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by conficio <Ka...@Conficio.com> on 2009/08/06 18:37:41 UTC

Sending Attachments and streaming

I want to send rather large reports that are generated on a server as an
attachment. From the Interface it looks like the DataHandler does some
streaming of the attachment. 

Is that true streaming, so that there is not more than a certain buffer size
held in the cxf library? Or is the document buffered somewhere in its
entirety and once complete, sent over the wire?

Thanks for sharing your insight,

Kaj
-- 
View this message in context: http://www.nabble.com/Sending-Attachments-and-streaming-tp24850057p24850057.html
Sent from the cxf-user mailing list archive at Nabble.com.


Re: Sending Attachments and streaming

Posted by Benson Margulies <bi...@gmail.com>.
Those instructions don't actually mention importing the xmime schema
into your schema.

On Thu, Aug 6, 2009 at 4:55 PM, Adnan Memon<me...@gmail.com> wrote:
> http://cwiki.apache.org/CXF20DOC/mtom-attachments-with-jaxb.html ... if you
> haven't looked at it.
> -
> Adnan
>
> On Thu, Aug 6, 2009 at 10:57 AM, conficio <Ka...@conficio.com> wrote:
>
>>
>> Never mind,
>> my query yesterday for this question did not bring up things, but reading
>> more of the recent posts got me the answer anyway.
>>
>> Thanks Dan for fixing this in 2.0.12
>>
>>
>> conficio wrote:
>> >
>> > I want to send rather large reports that are generated on a server as an
>> > attachment. From the Interface it looks like the DataHandler does some
>> > streaming of the attachment.
>> >
>> > Is that true streaming, so that there is not more than a certain buffer
>> > size held in the cxf library? Or is the document buffered somewhere in
>> its
>> > entirety and once complete, sent over the wire?
>> >
>> > Thanks for sharing your insight,
>> >
>> > Kaj
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Sending-Attachments-and-streaming-tp24850057p24850447.html
>> Sent from the cxf-user mailing list archive at Nabble.com.
>>
>>
>
>
> --
> Adnan Memon
> Etilize Inc.
>

Re: Sending Attachments and streaming

Posted by Adnan Memon <me...@gmail.com>.
http://cwiki.apache.org/CXF20DOC/mtom-attachments-with-jaxb.html ... if you
haven't looked at it.
-
Adnan

On Thu, Aug 6, 2009 at 10:57 AM, conficio <Ka...@conficio.com> wrote:

>
> Never mind,
> my query yesterday for this question did not bring up things, but reading
> more of the recent posts got me the answer anyway.
>
> Thanks Dan for fixing this in 2.0.12
>
>
> conficio wrote:
> >
> > I want to send rather large reports that are generated on a server as an
> > attachment. From the Interface it looks like the DataHandler does some
> > streaming of the attachment.
> >
> > Is that true streaming, so that there is not more than a certain buffer
> > size held in the cxf library? Or is the document buffered somewhere in
> its
> > entirety and once complete, sent over the wire?
> >
> > Thanks for sharing your insight,
> >
> > Kaj
> >
>
> --
> View this message in context:
> http://www.nabble.com/Sending-Attachments-and-streaming-tp24850057p24850447.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>
>


-- 
Adnan Memon
Etilize Inc.

Re: Sending Attachments and streaming

Posted by conficio <Ka...@Conficio.com>.
Never mind,
my query yesterday for this question did not bring up things, but reading
more of the recent posts got me the answer anyway.

Thanks Dan for fixing this in 2.0.12


conficio wrote:
> 
> I want to send rather large reports that are generated on a server as an
> attachment. From the Interface it looks like the DataHandler does some
> streaming of the attachment. 
> 
> Is that true streaming, so that there is not more than a certain buffer
> size held in the cxf library? Or is the document buffered somewhere in its
> entirety and once complete, sent over the wire?
> 
> Thanks for sharing your insight,
> 
> Kaj
> 

-- 
View this message in context: http://www.nabble.com/Sending-Attachments-and-streaming-tp24850057p24850447.html
Sent from the cxf-user mailing list archive at Nabble.com.