1 22 package org.jboss.mq.il.ha.examples; 23 24 import javax.jms.JMSException ; 25 import javax.naming.NamingException ; 26 27 34 public interface HAJMSClientMBean extends org.jboss.system.ServiceMBean 35 { 36 public abstract String getConnectionException(); 37 public abstract String getLastMessage() throws JMSException ; 38 public abstract void publishMessageToTopic(String text) throws JMSException ; 39 public abstract void sendMessageToQueue(String text) throws JMSException ; 40 public abstract void connect() throws NamingException , JMSException ; 41 public abstract void disconnect() throws NamingException , JMSException ; 42 } 43 | Popular Tags |