]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc.webapp/src/main/webapp/test-amq/send.js
First consistent version with JMS
[gpl/argeo-slc.git] / org.argeo.slc.webapp / src / main / webapp / test-amq / send.js
index f40d3c49b5d079c2f802e985a041a413d0e1c9b9..8210c6aefa1e7cba03452dd1444ecc5b49247d4c 100644 (file)
@@ -1,3 +1,3 @@
-amq.sendMessage('TEST.QUEUE','<test>My Test</test>');
+amq.sendMessage('topic://agent.c6fb85cc-200e-41f1-9b63-fade5cad0f14.newExecution','<slc:slc-execution uuid="b0b68669-b598-4518-8ae3-c9c3190e87b4"><slc:status>STARTED</slc:status><slc:type>slcAnt</slc:type><slc:host>localhost</slc:host><slc:user>user</slc:user><slc:attributes><slc:attribute name="ant.file">/test</slc:attribute></slc:attributes></slc:slc-execution>');
 alert('Message sent!');
 document.write('Message sent');
\ No newline at end of file