rh-integration / IntegrationApp-Automation

Sample Integration application along with lifecycle automation
Apache License 2.0
13 stars 9 forks source link

Convert body to string is unnecessary before unmarshal step #35

Closed osmman closed 4 years ago

osmman commented 5 years ago

Please remove transformation of body to String in maingateway camel route. This transformation is unnecessary because unmarshal consume data of InputStream type.

<convertBodyTo id="_convertBodyTo1" type="java.lang.String"/>
<unmarshal id="_unmarshal1">
    <json library="Jackson"/>
</unmarshal>
redhatHameed commented 5 years ago

@osmman Fix in PR https://github.com/rh-integration/IntegrationApp-Automation/pull/37, could you please have a look

osmman commented 5 years ago

LGTM, thanks.