ensure Desitnation infomation is received in the bridge in the right order

with respect to consumer information

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@424214 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2006-07-21 07:31:52 +00:00
parent dc5b15ecd2
commit 4f131fdc26
1 changed files with 1 additions and 0 deletions

View File

@ -269,6 +269,7 @@ public abstract class DemandForwardingBridgeSupport implements Bridge {
ConsumerInfo destinationInfo = new ConsumerInfo(remoteSessionInfo,2); ConsumerInfo destinationInfo = new ConsumerInfo(remoteSessionInfo,2);
destinationInfo.setDestination(AdvisorySupport.TEMP_DESTINATION_COMPOSITE_ADVISORY_TOPIC); destinationInfo.setDestination(AdvisorySupport.TEMP_DESTINATION_COMPOSITE_ADVISORY_TOPIC);
destinationInfo.setPrefetchSize(prefetchSize); destinationInfo.setPrefetchSize(prefetchSize);
destinationInfo.setDispatchAsync(dispatchAsync);
remoteBroker.oneway(destinationInfo); remoteBroker.oneway(destinationInfo);
startedLatch.countDown(); startedLatch.countDown();