With the code sample you posted, you can probably also do something like this... I have my code at work so I will check this out on Monday.
ActiveMQInputStream streamMsg = (ActiveMQInputStream
)connection.createInputStream();
ActiveMQMessage message = streamMsg.receive();
message.getStringProperty("fileName");
--
View this message in context:
http://www.nabble.com/ActiveMQ-Outputstream-message-properties-tf1807819.html#a5232880
Sent from the ActiveMQ - User forum at Nabble.com.
