activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Iosev Perez Rivero" <>
Subject problem with blobmessage in activemq 5.0
Date Thu, 21 Feb 2008 04:27:05 GMT
When i create blobmessage object and print the inputstream, printed NULL, why??? then when
i send the message the file not sending, the message sending empty.


Please may anybody help me??


Here is code:


   conn = (ActiveMQConnection)cf.createConnection();

   session = (ActiveMQSession) conn.createSession(false, Session.AUTO_ACKNOWLEDGE);

   Destination destination = new ActiveMQQueue("Queue");

   MessageProducer producer = session.createProducer(destination);


   BlobMessage message = session.createBlobMessage(new File("src\\BlobMessage\\file\\foto.jpg"));








Ing. Iósev Pérez Rivero

Dirección Técnica - IP

Universidad de las Ciencias Informáticas


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message