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

  • gmbroth
    started a topic Help configuring HTTP multi-part outbound adapter?

    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

  • gmbroth
    replied
    Hi Artem,

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

    Garry

    Leave a comment:


  • Artem Bilan
    replied
    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

    Leave a comment:

Working...
X