
io.fabric8.demo.activemq.ActiveMQConsumerFactory.class Maven / Gradle / Ivy
???? 2 ? 0io/fabric8/demo/activemq/ActiveMQConsumerFactory $io/fabric8/api/scr/AbstractComponent ActiveMQConsumerFactory.java ,Lorg/apache/felix/scr/annotations/Component; name io.fabric8.example.mq.consumer label ActiveMQ Consumer Factory configurationFactory immediate metatype LOG Lorg/slf4j/Logger; consumer Lio/fabric8/mq/ConsumerThread; consumerService Lio/fabric8/mq/ActiveMQService; connectionFactory /Lorg/apache/activemq/ActiveMQConnectionFactory; ,Lorg/apache/felix/scr/annotations/Reference; referenceInterface ()V
this 2Lio/fabric8/demo/activemq/ActiveMQConsumerFactory; activate (Ljava/util/Map;)V java/lang/Exception ! +Lorg/apache/felix/scr/annotations/Activate; updateInternal $
% activateComponent '
(
configuration $Ljava/util/Map; Ljava/util/Map; modified +Lorg/apache/felix/scr/annotations/Modified; deactivateInternal /
0
deactivate -Lorg/apache/felix/scr/annotations/Deactivate; deactivateComponent 4
5 7 io/fabric8/mq/ConsumerThread 9
setRunning (Z)V ; <
: = ? io/fabric8/mq/ActiveMQService A stop C
B D javax/jms/JMSException F H 2(Lorg/apache/activemq/ActiveMQConnectionFactory;)V J
B K setMaxAttempts (I)V M N
B O start Q
B R destination T
java/util/Map V get &(Ljava/lang/Object;)Ljava/lang/Object; X Y W Z java/lang/String \ /(Lio/fabric8/mq/JMSService;Ljava/lang/String;)V ^
: _
: R b Consumer started d org/slf4j/Logger f info (Ljava/lang/String;)V h i g j Cannot start consumer l *(Ljava/lang/String;Ljava/lang/Throwable;)V n
" o Ljava/lang/String; e Ljavax/jms/JMSException; 0io/fabric8/demo/activemq/ActiveMQProducerFactory u org/slf4j/LoggerFactory w getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger; y z
x { bindConnectionFactory unbindConnectionFactory RuntimeInvisibleAnnotations Code LocalVariableTable LineNumberTable LocalVariableTypeTable
Exceptions Signature '(Ljava/util/Map;)V
StackMapTable
SourceFile ! c ? / *? ? ? ? ? X
*+? &*? )? ?
* , ?
* + ? * + , ? " ? ? # - ? X
*? 1*+? &? ?
* , ?
* + ? 0 1 2 ? " ? ? . 2 ? ; *? 6*? 1? ? ? 6 7 8 3 / ? V *? 8? *? 8? >*? @? E? ? ? ; <