git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@663644 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2008-06-05 15:52:51 +00:00
parent c5e1eae2e3
commit aee5d25e41
1 changed files with 1 additions and 0 deletions

View File

@ -1057,6 +1057,7 @@ public class Queue extends BaseDestination implements Task {
protected ConnectionContext createConnectionContext() {
ConnectionContext answer = new ConnectionContext(new NonCachedMessageEvaluationContext());
answer.setBroker(this.broker);
answer.getMessageEvaluationContext().setDestination(getActiveMQDestination());
return answer;
}