org.apache.activemq.network.ConduitBridge.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of activemq-core Show documentation
Show all versions of activemq-core Show documentation
The ActiveMQ Message Broker and Client implementations
???? 1 ?
4 e
2 f
g h
g i
g j
2 k
l m
n o 2 p
q r s t u v u w x
y
g z
{ |
{ } 2 ~ ? ?
? 2 ?
? ?
? ?
?
? ?
? ?
g ?
2 ?
? ?
# ?
? ? 2 ? ? 2 ? ? ?
? ? ? ? t
2 ? ? ? ?
? ? ? LOG Lorg/apache/commons/logging/Log; ?(Lorg/apache/activemq/network/NetworkBridgeConfiguration;Lorg/apache/activemq/transport/Transport;Lorg/apache/activemq/transport/Transport;)V Code LineNumberTable LocalVariableTable this +Lorg/apache/activemq/network/ConduitBridge;
configuration 8Lorg/apache/activemq/network/NetworkBridgeConfiguration; localBroker )Lorg/apache/activemq/transport/Transport; remoteBroker createDemandSubscription \(Lorg/apache/activemq/command/ConsumerInfo;)Lorg/apache/activemq/network/DemandSubscription; info *Lorg/apache/activemq/command/ConsumerInfo;
Exceptions ?
checkPaths Q([Lorg/apache/activemq/command/BrokerId;[Lorg/apache/activemq/command/BrokerId;)Z first '[Lorg/apache/activemq/command/BrokerId; second addToAlreadyInterestedConsumers -(Lorg/apache/activemq/command/ConsumerInfo;)Z ds 0Lorg/apache/activemq/network/DemandSubscription; filter .Lorg/apache/activemq/filter/DestinationFilter; i Ljava/util/Iterator; matched Z removeDemandSubscription +(Lorg/apache/activemq/command/ConsumerId;)V id (Lorg/apache/activemq/command/ConsumerId; tmpList Ljava/util/List; LocalVariableTypeTable FLjava/util/Iterator; BLjava/util/List; ()V
SourceFile ConduitBridge.java 7 8 N O ? ? ? ? Y ? ? ? D ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? .org/apache/activemq/network/DemandSubscription ? ? ? ? ? ? ? ? ? 5 6 ? ? ? java/lang/StringBuilder 7 b > ? ? ? ? ? ? , matched (add interest) to exsting sub for: ? ? ? ? with sub: ? ? ? ? ? ? I J ? ? java/util/ArrayList ? ? removing interest in sub on @ A from ? ? : sub: existing matched sub: ? ? ? ? ? ? ? removing sub on : )org/apache/activemq/network/ConduitBridge ? ? ? 2org/apache/activemq/network/DemandForwardingBridge java/io/IOException (org/apache/activemq/command/ConsumerInfo
getConsumerId *()Lorg/apache/activemq/command/ConsumerId; addNetworkConsumerId setSelector (Ljava/lang/String;)V doCreateDemandSubscription java/util/Arrays equals )([Ljava/lang/Object;[Ljava/lang/Object;)Z $org/apache/activemq/command/BrokerId (Ljava/lang/Object;)Z subscriptionMapByLocalId (Ljava/util/concurrent/ConcurrentHashMap; &java/util/concurrent/ConcurrentHashMap values ()Ljava/util/Collection; java/util/Collection iterator ()Ljava/util/Iterator; java/util/Iterator hasNext ()Z next ()Ljava/lang/Object; getLocalInfo ,()Lorg/apache/activemq/command/ConsumerInfo; getDestination 3()Lorg/apache/activemq/command/ActiveMQDestination; ,org/apache/activemq/filter/DestinationFilter parseFilter a(Lorg/apache/activemq/command/ActiveMQDestination;)Lorg/apache/activemq/filter/DestinationFilter; matches 4(Lorg/apache/activemq/command/ActiveMQDestination;)Z org/apache/commons/logging/Log isDebugEnabled 6org/apache/activemq/network/NetworkBridgeConfiguration
getBrokerName ()Ljava/lang/String; append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
getRemoteInfo -(Ljava/lang/Object;)Ljava/lang/StringBuilder; toString debug (Ljava/lang/Object;)V
getBrokerPath )()[Lorg/apache/activemq/command/BrokerId; add +(Lorg/apache/activemq/command/ConsumerId;)Z remove remoteBrokerName Ljava/lang/String; isEmpty java/util/List removeSubscription 3(Lorg/apache/activemq/network/DemandSubscription;)V %org/apache/commons/logging/LogFactory getLog 3(Ljava/lang/Class;)Lorg/apache/commons/logging/Log; ! 2 4 5 6 7 8 9 T *+,-? ? :
/ 0 ; * <