+ },\r
+ \r
+ /**\r
+ * List currently available agents queues.\r
+ * @param fireReloadEventType {String} Event type to trigger (optionnal)\r
+ * @param iLoadStatusables {org.argeo.ria.components.ILoadStatusables[]} Gui parts to update \r
+ * @return {qx.io.remote.Request}\r
+ */\r
+ getListAgentsService:function(fireReloadEventType, iLoadStatusables){\r
+ return org.argeo.slc.ria.SlcApi.getServiceRequest(\r
+ org.argeo.slc.ria.SlcApi.LIST_AGENTS_SERVICE,\r
+ fireReloadEventType,\r
+ iLoadStatusables\r
+ );\r
+ },\r
+ \r
+ /**\r
+ * Send a JMS message to the AMQ_CONTEXT\r
+ * @param destination {String} The destination queue, in the form "topic://destination" \r
+ * @param message {org.argeo.slc.ria.SlcExecutionMessage} The message object\r
+ * @param iLoadStatusables {org.argeo.ria.components.ILoadStatusables[]} Gui parts to update\r
+ */\r
+ getSendAmqMessageRequest : function(destination, message, iLoadStatusables){\r
+ var serviceManager = org.argeo.ria.remote.RequestManager.getInstance();\r
+ var request = serviceManager.getRequest(\r
+ org.argeo.slc.ria.SlcApi.DEFAULT_CONTEXT+"/"+org.argeo.slc.ria.SlcApi.AMQ_SERVICE,\r
+ "POST",\r
+ "text/plain",\r
+ null,\r
+ iLoadStatusables\r
+ );\r
+ request.setParameter("destination", destination);\r
+ request.setParameter("message", message.toXml());\r
+ request.setParameter("type", "send");\r
+ return request;\r