1 23 24 package javax.jms; 25 26 63 64 public interface MessageConsumer { 65 66 76 77 String  78 getMessageSelector() throws JMSException ; 79 80 81 90 91 MessageListener  92 getMessageListener() throws JMSException ; 93 94 95 112 113 void 114 setMessageListener(MessageListener listener) throws JMSException ; 115 116 117 132 133 Message  134 receive() throws JMSException ; 135 136 137 154 155 Message  156 receive(long timeout) throws JMSException ; 157 158 159 167 168 Message  169 receiveNoWait() throws JMSException ; 170 171 172 188 189 void 190 close() throws JMSException ; 191 } 192 | Popular Tags |