activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Ruckstuhl <>
Subject Best way to find out which type of Message was received
Date Wed, 18 Jun 2008 17:07:32 GMT


What is the best way to find which type (TextMessage, MapMessage, ...) of
message was received?

I'm currently using a dynamic_cast check to find out which type it is, but
I'm wondering if there's a better way.
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message