
io.fabric8.demo.activemq.ActiveMQConsumerFactory.class Maven / Gradle / Ivy
???? 3 ? 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; DEFAULT_DESTINATION Ljava/lang/String; example 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 3
4
deactivate -Lorg/apache/felix/scr/annotations/Deactivate; deactivateComponent 8
9 ; Stopping consumer = org/slf4j/Logger ? info (Ljava/lang/String;)V A B @ C E io/fabric8/mq/ConsumerThread G
setRunning (Z)V I J
H K M io/fabric8/mq/ActiveMQService O stop Q
P R Consumer stopped T javax/jms/JMSException V Starting consumer X Z 2(Lorg/apache/activemq/ActiveMQConnectionFactory;)V \
P ] setMaxAttempts (I)V _ `
P a start c
P d destination f
java/util/Map h get &(Ljava/lang/Object;)Ljava/lang/Object; j k i l java/lang/String n /(Lio/fabric8/mq/JMSService;Ljava/lang/String;)V p
H q
H d Consumer started t Cannot start consumer v *(Ljava/lang/String;Ljava/lang/Throwable;)V x
&