org.apache.activemq.ActiveMQOutputStream.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 ?
> ? = ? = ? = ? = ? = ? ?
? = ? ? ?
? ?
? = ?
?
? ?
? ? = ?
= ? ?
?
= ?
= ?
? ?
? ?
? ? = ?
? ?
? ? ?
! ?
! ? ? ? ? ? ? ? ? ? ? ? ?
? ?
?
?
? ?
?
? = ? ?
2 ?
?
? ? ?
6 ? ?
6 ?
6 ? ?
6 ? ? ? ? count I buffer [B
connection (Lorg/apache/activemq/ActiveMQConnection;
properties Ljava/util/Map; Signature 5Ljava/util/Map; info *Lorg/apache/activemq/command/ProducerInfo; messageSequence J closed Z deliveryMode priority
timeToLive ?(Lorg/apache/activemq/ActiveMQConnection;Lorg/apache/activemq/command/ProducerId;Lorg/apache/activemq/command/ActiveMQDestination;Ljava/util/Map;IIJ)V Code LineNumberTable LocalVariableTable this *Lorg/apache/activemq/ActiveMQOutputStream;
producerId (Lorg/apache/activemq/command/ProducerId; destination 1Lorg/apache/activemq/command/ActiveMQDestination; LocalVariableTypeTable
Exceptions ?(Lorg/apache/activemq/ActiveMQConnection;Lorg/apache/activemq/command/ProducerId;Lorg/apache/activemq/command/ActiveMQDestination;Ljava/util/Map;IIJ)V close ()V e Ljavax/jms/JMSException; ? dispose write (I)V b ([BII)V max off len flush flushBuffer msg 2Lorg/apache/activemq/command/ActiveMQBytesMessage; send 1(Lorg/apache/activemq/command/ActiveMQMessage;Z)V key Ljava/lang/String; value Ljava/lang/Object; iter Ljava/util/Iterator; -Lorg/apache/activemq/command/ActiveMQMessage;
eosMessage id 'Lorg/apache/activemq/command/MessageId; toString ()Ljava/lang/String;
SourceFile ActiveMQOutputStream.java S b B C D E P A Q A R M java/util/HashMap S ? F G %javax/jms/InvalidDestinationException "Don't understand null destinations S ? (org/apache/activemq/command/ProducerInfo S ? J K ? ? ? ? ? ? ? N O o b +org/apache/activemq/command/ActiveMQMessage r s f b ? ? javax/jms/JMSException ? ? ? ? ? @ A ? ? ? ? ? ? 0org/apache/activemq/command/ActiveMQBytesMessage ? j ? ? ? ? ? ? ? ? ? ? ? java/lang/String ? ? ? ? org.apache.activemq.Stream ? ? ? ? ? ~ ? ? ? h L M %org/apache/activemq/command/MessageId S ? ? ? r ? java/lang/StringBuilder "ActiveMQOutputStream { producerId= ? ? ? ? } (org/apache/activemq/ActiveMQOutputStream java/io/OutputStream org/apache/activemq/Disposable java/io/IOException (Ljava/util/Map;)V (Ljava/lang/String;)V +(Lorg/apache/activemq/command/ProducerId;)V setDestination 4(Lorg/apache/activemq/command/ActiveMQDestination;)V &org/apache/activemq/ActiveMQConnection addOutputStream -(Lorg/apache/activemq/ActiveMQOutputStream;)V asyncSendPacket ((Lorg/apache/activemq/command/Command;)V createRemoveCommand *()Lorg/apache/activemq/command/RemoveInfo; +org/apache/activemq/util/IOExceptionSupport create ,(Ljava/lang/Exception;)Ljava/io/IOException; removeOutputStream java/lang/Math min (II)I java/lang/System arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V
writeBytes
java/util/Map keySet ()Ljava/util/Set;
java/util/Set iterator ()Ljava/util/Iterator; java/util/Iterator hasNext ()Z next ()Ljava/lang/Object; get &(Ljava/lang/Object;)Ljava/lang/Object; setObjectProperty '(Ljava/lang/String;Ljava/lang/Object;)V setType
getProducerId *()Lorg/apache/activemq/command/ProducerId; &org/apache/activemq/command/ProducerId
setGroupID setGroupSequence ,(Lorg/apache/activemq/command/ProducerId;J)V getDestination 3()Lorg/apache/activemq/command/ActiveMQDestination; ?(Lorg/apache/activemq/command/ActiveMQDestination;Lorg/apache/activemq/command/ActiveMQMessage;Lorg/apache/activemq/command/MessageId;IIJZ)V append -(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ! = > ?
@ A B C D E F G H I J K L M N O P A Q A R M S T U % o*? *?? *+? *? *? *? *? ? ? Y? ?
-?
? Y?
?*? Y,? ? *? -? *? *? *? *? ? ? V : 9 , : ; <