Announcement Announcement Module
Collapse
No announcement yet.
Help configuring HTTP multi-part outbound adapter? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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

    Comment


    • #3
      Hi Artem,

      Thanks for the response; I'll do what you suggest.

      Garry

      Comment

      Working...
      X