Commits

Asankha Perera  committed 793f998

fix sample 502

  • Participants
  • Parent commits 9b698d0

Comments (0)

Files changed (1)

File resources/samples/conf/ultra-sample-502.xml

             </u:inDestination>
             <u:outSequence>
                 <u:java><![CDATA[
+                        Message copy = msg.cloneMessage();
+                        mediation.setPayloadFromString(copy, mediation.readFullPayloadAsString(msg));
                         mediation.sendToEndpoint(msg, "response");
-                        mediation.sendToEndpoint(msg, "jmsQueue");
+                        mediation.sendToEndpoint(copy, "jmsQueue");
                     ]]></u:java>
             </u:outSequence>
         </u:target>