OSB MTOM HTTP Streaming
840202Feb 16 2011 — edited Mar 2 2011Hello everybody,
I have just started using Service Bus 11gR1 and I run into a problem. I need to define a proxy service (web service) which accepts large files (hundreds of MB).
I opted for using MTOM/XOP combined with HTTP streaming. To do this, I enabled in the "Message Handling Configuration" screen, the "XOP/MTOM Support" option and I set "Page Attachments to Disk" to true.
Actually, when I try to send large messages, the memory usage does not increase because the binary sent is buffered into the disk. Now I noticed that, before the proxy server is called, the binary sent is saved in a temporary file. I was wondering whether or not we can define a limit on the Message Size to be checked*before* the file is buffered on the disk. I want OSB to start reading the HTTP streaming and, when the max size is reached, to reset the http connection with the client. If this is not possible, I think that this is an issue from a security point of view.
Thank you in advance.
Edited by: 837199 on Feb 16, 2011 6:23 AM