activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ipraveen <praveen.j...@tarmin.com>
Subject how to put Object message inside ActiveMQObjectMessage
Date Tue, 08 Apr 2008 11:50:31 GMT

hi
 i have following code
public boolean SendSync(Object body)
        {
            if (sendTo == null)
                return false;

            
            if (body != null && session != null )
            {
                message.setObject(body);
}
}
but here i am getting error that body must be serialized? so how can i
serialize it ? or how can i put a Object inside message?

-- 
View this message in context: http://www.nabble.com/how-to-put-Object-message-inside-ActiveMQObjectMessage-tp16557608s2354p16557608.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.


Mime
View raw message