630631632633634635636637638639640
} } finally { dispatchValve.decrement(); if (msgContext != null) { msgContext.clear(); } } } public void messageExpired(ConnectionContext context, Subscription subs, MessageReference reference) {
182183184185186187188189190191192
if (result) { doAddRecoveredMessage(message); } } finally { msgContext.clear(); } return result; } public ActiveMQDestination getActiveMQDestination() {
7172737475767778798081
msgContext.setMessageReference(node); if(sub.matches(node,msgContext)){ sub.add(node); } }finally{ msgContext.clear(); } t++; if(t>=messages.length) t=0; }while(t!=tail);
96979899100101102103104105106
if (sub.matches(message, msgContext)) { sub.add(timestampWrapper.message); } } }finally { msgContext.clear(); } } } public void start() throws Exception {
7475767778798081828384
if (sub.matches(node, msgContext) ) { sub.add(node); } } } finally { msgContext.clear(); } } } public void start() throws Exception {
417418419420421422423424425426427
if (!dispatchPolicy.dispatch(context, message, msgContext, consumers)) { onMessageWithNoConsumers(context, message); } } finally { msgContext.clear(); dispatchValve.decrement(); } } /**
197198199200201202203204205206207
} } } finally { msgContext.clear(); dispatchValve.turnOn(); } } public void removeSubscription(ConnectionContext context, Subscription sub) throws Exception {
264265266267268269270271272273274
msgContext.setMessageReference(node); dispatchPolicy.dispatch(context, node, msgContext, consumers); } } finally { msgContext.clear(); } } } finally { dispatchValve.turnOn();
518519520521522523524525526527528
msgContext.setMessageReference(node); dispatchPolicy.dispatch(context, node, msgContext, consumers); } finally { msgContext.clear(); dispatchValve.decrement(); } } private int calcHighestSubscriptionPriority() {
7677787980818283848586
dispatchInitialMessage(message, topic, msgContext, sub); } }); } finally { msgContext.clear(); } } } public void start() throws Exception {