ima getting a class cast exception when i try to cast javax.jms.objectmessage to my local interface.
the error trace is this ..
Exception in
thread "Thread-172"
2008-10-30 05:00:07,132 ERROR [STDERR] java.lang.ClassCastException: com.tanlamobile.mms.dr.EAIFDRAdapter
2008-10-30 05:00:07,132 ERROR [STDERR] at com.tanlamobile.mms.dr.MerchantNotificationConsumerThread.onMessage(MerchantNotificationConsumerThread.java:38)
onMessage is just a method with a receiving a javax.jms.Message object from a message consumer.