Ok, it was because of the schema I used my old schema and the msg was not in the same format. TEXT instead of IMAGE in 5.2.0 for sybase.
Now it seems to work correctly -- View this message in context: http://www.nabble.com/Unable-to-send-message-randomly-%3A-Unknown-data-type%3A--1-tp24293718p24295024.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.