<send endpoint="jms:${INLET}?connectionFactory=${AMQConnection}" >
<message name="helloMessage" type="text">
<resource file="file:D:/INPUT/${INPUT}"/>
</message>
<header>
<element name="scenarioId" value="${IntegrationID}" />
<element name="messageID" value="156666"/>
</header>
</send>
<receive endpoint="jms:${OUTLET}?connectionFactory=${OutletConnectionFactory}">
<message name="helloMessage">
<resource file="file:D:/expectedOutput/${OUTPUT}"/>
</message>
<header>
<element name="scenarioId" value="${IntegrationID}"/>
<element name="messageID" value="156666"/>
NEED TO VALIDATE STATUS CODE FOR JMS AND SHOW IN REPORT
</header>
</receive>