131132133134135136137138139140141
long timeout = getEstablishConnectionTimeout(); do { TransportChannel tc = getEstablishedChannel(timeout); if (tc != null) { try { tc.asyncSend(packet); break; } catch (TimeoutExpiredException e) { throw e; }
124125126127128129130131132133134
123124125126127128129130131132133
126127128129130131132133134135136
96979899100101102103104105106
public void asyncSend(Packet packet) throws JMSException { TransportChannel tc = this.channel; while (true) { try { tc.asyncSend(packet); break; } catch (JMSException jmsEx) { doReconnect(tc); }