1 package ejava.examples.jms20.jmsmechanics; 2 3 import javax.jms.Message; 4 5 public interface MyClient { 6 int getCount(); 7 Message getMessage() throws Exception; 8 }