Here's a config snippet of calling Yammer's RESTful API with a custom request mapper and request executor
Code:
<header-enricher input-channel="getEnricher"
output-channel="requests">
<header name="springintegration_http_requestMethod" value="GET" />
<header name="springintegration_http_requestUrl" value="https://www.yammer.com/api/v1/messages" />
</header-enricher>
<http:outbound-gateway id="yammerGateway"
request-channel="requests" request-mapper="yammerRequestMapper"
request-timeout="5000" request-executor="yammerRequestExecutor"
reply-channel="httpIn" />