if (session != null)
session.close();
ClientSession coreSession = sf.createSession(false, false, false);
coreSession.deleteQueue(QUEUE_EXAMPLE_QUEUE);
coreSession.close();
<BUG>}
public void sendMessage(String txt) throws Exception {</BUG>
System.out.println("-----> Attempting to send message");
ClientProducer producer = session.createProducer(QUEUE_EXAMPLE_QUEUE);
ClientMessage message = session.createMessage(false);

if (session != null)
session.close();
ClientSession coreSession = sf.createSession(false, false, false);
coreSession.deleteQueue(QUEUE_EXAMPLE_QUEUE);
coreSession.close();
}
@Override
public void sendMessage(String txt) throws Exception {
System.out.println("-----> Attempting to send message");
ClientProducer producer = session.createProducer(QUEUE_EXAMPLE_QUEUE);
ClientMessage message = session.createMessage(false);
