org.apache.activemq.broker.ft.MasterBroker.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
???? 1u
Y ? ?
? W ? ?
? W ? W ? ?
? ?
? ? ? ? ?
?
W ? ?
?
? ? ? ? ? ? ? ? W ? ? ? ?
W ?
?
W ?
Y ?
W ?
Y ? ?
? ?
! ?
Y ?
Y ?
? ?
Y ?
Y ?
? ?
W ?
? ? ? ?
Y ?
Y ? ? ?
Y ?
Y
Y
?
5
Y
Y
Y
Y
Y
Y
> ?
?
>
>
>
> ?
Y
W
Y
? ! ?"#
S$%
U&'
()* LOG Lorg/apache/commons/logging/Log; slave )Lorg/apache/activemq/transport/Transport; started +Ljava/util/concurrent/atomic/AtomicBoolean; consumers Ljava/util/Map; Signature aLjava/util/Map; \(Lorg/apache/activemq/broker/MutableBrokerFilter;Lorg/apache/activemq/transport/Transport;)V Code LineNumberTable LocalVariableTable this ,Lorg/apache/activemq/broker/ft/MasterBroker; parent 0Lorg/apache/activemq/broker/MutableBrokerFilter; transport startProcessing ()V i I connections ([Lorg/apache/activemq/broker/Connection; command /Lorg/apache/activemq/command/ConnectionControl; e Ljava/lang/Exception; stop
Exceptions stopProcessing
addConnection ](Lorg/apache/activemq/broker/ConnectionContext;Lorg/apache/activemq/command/ConnectionInfo;)V context .Lorg/apache/activemq/broker/ConnectionContext; info ,Lorg/apache/activemq/command/ConnectionInfo; removeConnection r(Lorg/apache/activemq/broker/ConnectionContext;Lorg/apache/activemq/command/ConnectionInfo;Ljava/lang/Throwable;)V error Ljava/lang/Throwable;
addSession Z(Lorg/apache/activemq/broker/ConnectionContext;Lorg/apache/activemq/command/SessionInfo;)V )Lorg/apache/activemq/command/SessionInfo;
removeSession addProducer [(Lorg/apache/activemq/broker/ConnectionContext;Lorg/apache/activemq/command/ProducerInfo;)V *Lorg/apache/activemq/command/ProducerInfo; removeProducer addConsumer ?(Lorg/apache/activemq/broker/ConnectionContext;Lorg/apache/activemq/command/ConsumerInfo;)Lorg/apache/activemq/broker/region/Subscription; *Lorg/apache/activemq/command/ConsumerInfo; removeConsumer [(Lorg/apache/activemq/broker/ConnectionContext;Lorg/apache/activemq/command/ConsumerInfo;)V removeSubscription e(Lorg/apache/activemq/broker/ConnectionContext;Lorg/apache/activemq/command/RemoveSubscriptionInfo;)V 4Lorg/apache/activemq/command/RemoveSubscriptionInfo; addDestinationInfo ^(Lorg/apache/activemq/broker/ConnectionContext;Lorg/apache/activemq/command/DestinationInfo;)V -Lorg/apache/activemq/command/DestinationInfo; removeDestinationInfo beginTransaction \(Lorg/apache/activemq/broker/ConnectionContext;Lorg/apache/activemq/command/TransactionId;)V xid +Lorg/apache/activemq/command/TransactionId; -Lorg/apache/activemq/command/TransactionInfo; prepareTransaction \(Lorg/apache/activemq/broker/ConnectionContext;Lorg/apache/activemq/command/TransactionId;)I result rollbackTransaction commitTransaction ](Lorg/apache/activemq/broker/ConnectionContext;Lorg/apache/activemq/command/TransactionId;Z)V onePhase Z forgetTransaction preProcessDispatch 0(Lorg/apache/activemq/command/MessageDispatch;)V msg %Lorg/apache/activemq/command/Message; messageDispatch -Lorg/apache/activemq/command/MessageDispatch; mdn 9Lorg/apache/activemq/command/MessageDispatchNotification; send [(Lorg/apache/activemq/broker/ProducerBrokerExchange;Lorg/apache/activemq/command/Message;)V producerExchange 3Lorg/apache/activemq/broker/ProducerBrokerExchange; message acknowledge ^(Lorg/apache/activemq/broker/ConsumerBrokerExchange;Lorg/apache/activemq/command/MessageAck;)V consumerExchange 3Lorg/apache/activemq/broker/ConsumerBrokerExchange; ack (Lorg/apache/activemq/command/MessageAck; isFaultTolerantConfiguration ()Z sendToSlave ((Lorg/apache/activemq/command/Message;)V +(Lorg/apache/activemq/command/MessageAck;)V sendAsyncToSlave ((Lorg/apache/activemq/command/Command;)V %Lorg/apache/activemq/command/Command; sendSyncToSlave er /Lorg/apache/activemq/command/ExceptionResponse; response &Lorg/apache/activemq/command/Response;
SourceFile MasterBroker.java d+ )java/util/concurrent/atomic/AtomicBoolean d, ^ _ &java/util/concurrent/ConcurrentHashMap d o ` a \ ] ,org/apache/activemq/transport/MutexTransport d- 0org/apache/activemq/transport/ResponseCorrelator./0123,45 -org/apache/activemq/command/ConnectionControl6,78 ?9 ?: ? java/lang/Exception Z [ Failed to get Connections; ?< z o=>? o { | ? ? ? ? &org/apache/activemq/command/RemoveInfo@AB dC ? ? ? ?DEF ? ? ? ?GHI ? ?JKLMNO ? ? ? ??P ? ? ? ?QRSTU ? ? ? +org/apache/activemq/command/TransactionInfoV dW ? ? ? ? ? ? ? ? ? ? ? ? 7org/apache/activemq/command/MessageDispatchNotificationXYZ[\]^_`abcdefghi ? ? ? ? ? ?j ?klm java/lang/Throwable Slave FailednP $org/apache/activemq/command/Responseo ? -org/apache/activemq/command/ExceptionResponsepq *org/apache/activemq/broker/ft/MasterBrokerrst 8org/apache/activemq/broker/InsertableMutableBrokerFilter 3(Lorg/apache/activemq/broker/MutableBrokerFilter;)V (Z)V ,(Lorg/apache/activemq/transport/Transport;)V 'org/apache/activemq/transport/Transport getTransportListener 3()Lorg/apache/activemq/transport/TransportListener; setTransportListener 4(Lorg/apache/activemq/transport/TransportListener;)V set
getClients *()[Lorg/apache/activemq/broker/Connection; setFaultTolerant %org/apache/activemq/broker/Connection isActive isManageable
dispatchAsync org/apache/commons/logging/Log *(Ljava/lang/Object;Ljava/lang/Throwable;)V
compareAndSet (ZZ)Z remove *org/apache/activemq/command/ConnectionInfo getConnectionId ,()Lorg/apache/activemq/command/ConnectionId; .(Lorg/apache/activemq/command/DataStructure;)V 'org/apache/activemq/command/SessionInfo getSessionId )()Lorg/apache/activemq/command/SessionId; (org/apache/activemq/command/ProducerInfo
getProducerId *()Lorg/apache/activemq/command/ProducerId; (org/apache/activemq/command/ConsumerInfo
getConsumerId *()Lorg/apache/activemq/command/ConsumerId;
java/util/Map put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; &(Ljava/lang/Object;)Ljava/lang/Object; +org/apache/activemq/command/DestinationInfo getDestination 3()Lorg/apache/activemq/command/ActiveMQDestination; /org/apache/activemq/command/ActiveMQDestination isTemporary ,org/apache/activemq/broker/ConnectionContext Y(Lorg/apache/activemq/command/ConnectionId;Lorg/apache/activemq/command/TransactionId;B)V +org/apache/activemq/command/MessageDispatch
setConsumerId +(Lorg/apache/activemq/command/ConsumerId;)V getDeliverySequenceId ()J setDeliverySequenceId (J)V setDestination 4(Lorg/apache/activemq/command/ActiveMQDestination;)V
getMessage '()Lorg/apache/activemq/command/Message; #org/apache/activemq/command/Message getMessageId )()Lorg/apache/activemq/command/MessageId; setMessageId *(Lorg/apache/activemq/command/MessageId;)V containsKey (Ljava/lang/Object;)Z isResponseRequired &org/apache/activemq/command/MessageAck oneway (Ljava/lang/Object;)V request isException getException ()Ljava/lang/Throwable; %org/apache/commons/logging/LogFactory getLog 3(Ljava/lang/Class;)Lorg/apache/commons/logging/Log; ! W Y Z [ \ ] ^ _ ` a b c d e f ? O*+? *? Y? ? *? Y? ? *,? *? Y*? ?
? *? Y*? ? ? *? ,?
? ? g " J ? A K ! L 0 M ? N N O h O i j O k l O m ] n o f ? [*? ? *? L? Y? M,? +? 0>+?? (+2? ? +2? ? +2,? ???ا L? +? ? K N g 6
U W
X Y Z [ &