I have been trying to reduce the overhead an activemq message carries.

ActiveMQTextMessage {commandId = 0, responseRequired = false, messageId =
null, originalDestination = null, originalTransactionId = null, producerId =
null, destination = null, transactionId = null, expiration = 0, timestamp =
0, arrival = 0, brokerInTime = 0, brokerOutTime = 0, correlationId = null,
replyTo = null, persistent = false, type = null, priority = 0, groupID =
null, groupSequence = 0, targetConsumerId = null, compressed = false, userID
= null, content = null, marshalledProperties = null, dataStructure = null,
redeliveryCounter = 0, size = 0, properties = null, readOnlyProperties =
false, readOnlyBody = false, droppable = false, text = Hello World}

I wonder why does a message carry all these feilds due to which its size
increases even more than 10 times.

Is there a way to get rid of these overheads.

Secondly, i am using jms.useCompression=true but still my messages show a
compression = false.
Does anybody know why?

Thanks,
Anshul
-- 
View this message in context: 
http://www.nabble.com/Reducing-the-size-of-messages-tp16757781s2354p16757781.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to