@Override public Object execute() throws Exception { getJmsService().send(connectionFactory, queue, message, replyTo, username, password); return null; }
@Override public void send(String connectionFactory, String queue, String content, String replyTo, String username, String password) throws MBeanException { try { jmsService.send(connectionFactory, queue, content, replyTo, username, password); } catch (Throwable t) { throw new MBeanException(null, t.getMessage()); } }
public Object doExecute() throws Exception { getJmsService().send(connectionFactory, queue, message, replyTo, username, password); return null; }