-
Jan 19th, 2012, 02:40 PM
#1
Help configuring HTTP multi-part outbound adapter?
Hi,
I've inherited a Spring integration project that defines an HTTP outbound-channel-adapter. I'm POSTing through the adapter and want to change the content type to multi-part form but can't find an example of how to do it. There are several examples covering HTTP *inbound* adapter multi-part handling but not outbound; maybe I missed it. I'd post my outbound adapter definition but it looks fairly standard.
Can someone please provide an example?
Thanks, Garry
-
Jan 19th, 2012, 03:39 PM
#2
Hello, Garry
As I've just investigated source code of HttpRequestExecutingMessageHandler, it will be enough to send to <outbound-channel-adapter/> a message with payload of type Map<String, Object>.
All other work will be done with class described above.
Try that, please.
Cheers,
Artem Bilan
-
Jan 20th, 2012, 09:19 AM
#3
Hi Artem,
Thanks for the response; I'll do what you suggest.
Garry
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules