I'm sure it's possible, but can't seem to figure it out. My app makes a POST request for some HTML and I'd like to somehow just retrieve a certain part of the HTML document. So I've set my expected-response-type as javax.xml.transform.Source. The response goes to a channel that will eventually have an xpath-expression for the node of HTML I want, but for now I'm simply testing to at least get an attribute value from the html root element.
At first when I ran my app, it told me that no MessageConverter could be found for javax.xml.transform.Source, so I created my own list of messageConverters and referenced it on the message-converters attribute. The list contains a SourceHttpMessageConverter. However when I run the app, I still get the same error. Maybe I'm not taking the correct approach.
<int-http:uri-variable name="season" expression="payload"/>