activemq-users mailing list archives

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

Hi

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: http://www.nabble.com/Best-way-to-find-out-which-type-of-Message-was-received-tp17987537p17987537.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message