Thx,
Code:
<int-http:outbound-gateway
request-channel="http-requests"
extract-request-payload="true"
charset="UTF-8"
request-factory="rim-template-client-factory"
url="${gateway.rim.url}?{request}"
message-converters="http-template-message-converters"
http-method="GET"
expected-response-type="java.lang.String"
reply-channel="http-replies">
<int-http:uri-variable name="request" expression="payload['request']"/>
</int-http:outbound-gateway>
works perfectly,
i understood the header name with hyphen was no longer valid as
an SpEL exception was thrown
Code:
Field or property 'criteria' cannot be found on object of type 'org.springframework.integration.MessageHeaders'
a custom header "criteria-entity" had been added and was chopped off after the hyphen
i was surpised though the
Code:
<int:header-value-router input-channel="http-replies" header-name="criteria-entity-type">
did not complain about this
selecting the 2.0 xsd in STS did the trick,
Thank you,