Results 1 to 3 of 3

Thread: Help configuring HTTP multi-part outbound adapter?

  1. #1
    Join Date
    Aug 2007
    Location
    Maryland
    Posts
    6

    Default 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

  2. #2
    Join Date
    Jan 2009
    Location
    Ukraine, Kharkov
    Posts
    735

    Default

    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

  3. #3
    Join Date
    Aug 2007
    Location
    Maryland
    Posts
    6

    Default

    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
  •