Hi Navin, Axis2/C reads the whole attachment at once. When there is a content-length this is not a problem.
But when the incoming stream is chunked we need to read till end of the chunks. So, MTOMChunkBufferSize means the size (In MB) of the buffers we keep on reading. MTOMMaxChunkBuffers means the number of such buffers the system can handle. say your , MTOMMaxChunkBuffers 1000 MTOMMaxChunkBuffers 1 Then you can handle Maximum size of 1000*1 MB attachements. So By changing these parameters you can change the maximum size of attachments your system can handle given that you have enough memory. The default is 1*1000MB. The values in the commented line in axis2.xml are just an example. I will change them to default and add more comments there. Thanks for raising this. Thanks, -Manjula. On Wed, 2008-05-21 at 11:08 +0530, Navin Bhat wrote: > Hello group, > > > > I am new to axis2/c. I am working on axis2-1.4. I have a > service where is need to enable MTOM to send large attachments. > > I wanted to know how I can tune the MTOMChunkBufferSize and > MTOMMaxChunkBuffers parameters to send the attachment efficiently. I > am not getting information about what these parameters imply. > > > > Does MTOMChunkBufferSize mean size of buffer > allocated ??? > > I see in axis2.xml that by default this parameter has > value 10. > > Is it 10 bytes buffer size???? > > > > Does MTOMMaxChunkBuffers mean no.of buffers???? > > I see in axis2.xml that by default this parameter has > value 1000. > > Is it 1000 buffers??? > > > > I am not finding information about these parameters in axis2/c > manual. > > > > > > Need help….Thanks in advance.. > > > > > > Regards, > > Navin Bhat > > > > > > > > > > > The information contained in this e-mail message and in any > attachments/annexure/appendices is confidential to the > recipient and may contain privileged information. > If you are not the intended recipient, please notify the > sender and delete the message along with any > attachments/annexure/appendices. You should not disclose, > copy or otherwise use the information contained in the > message or any annexure. Any views expressed in this e-mail > are those of the individual sender except where the sender > specifically states them to be the views of > Toshiba Embedded Software India Pvt. Ltd. (TESI),Bangalore. > > Although this transmission and any attachments are believed to be > free of any virus or other defect that might affect any computer > system into which it is received and opened, it is the responsibility > of the recipient to ensure that it is virus free and no responsibility > is accepted by Toshiba Embedded Software India Pvt. Ltd, for any loss or > damage arising in any way from its use. > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
