final String type = Long.toString(start);
/* Create a connection to the queue */
qc = qcf.createQueueConnection("system", "system");
/* Create a session on top of the connection which will be used only for
sending messages, transacted and with auto-acknowledge-mode*/
s_send = qc.createQueueSession(true, Session.AUTO_ACKNOWLEDGE);
/* Create a session on top of the connection which will be used only for
receiving messages, transacted and with auto-acknowledge-mode */
s_rec = qc.createQueueSession(true, Session.AUTO_ACKNOWLEDGE);
/* start the connection */
qc.start();