activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "rain.xk" <rain...@gmail.com>
Subject Re: ActiveMQ Outputstream message properties
Date Sat, 08 Jul 2006 16:40:54 GMT

i receive stream message like this:
ActiveMQInputStream streamMsg = (ActiveMQInputStream
)connection.createInputStream();
FileWrite file = new FileWrite("d:\temp.rar", 0);
while ((byteread = streamMsg.read(buffer)) != -1) {
	log.info("get file now======");
	file.write(buffer, 0, byteread);
}

how can i get the message property?
Or I can get the stream message by another way ?
-- 
View this message in context: http://www.nabble.com/ActiveMQ-Outputstream-message-properties-tf1807819.html#a5232663
Sent from the ActiveMQ - User forum at Nabble.com.


Mime
View raw message