activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From garima015 <>
Subject Error while Sending Map message
Date Fri, 12 Jan 2007 19:02:41 GMT


I have an urgent requirement in which i have to send Map as a message to
I am trying this code:
if(message instanceof Map){
	  MapMessage requestMessage = (MapMessage) session.createMapMessage();
	  requestMessage.setObjectProperty("MAP", message);

javax.jms.MessageFormatException: Only objectified primitive objects and
String types are allowed

can some body please tell me the resolution.Its really very imp .

thanks in advance

but when running it is throwing this error
View this message in context:
Sent from the ActiveMQ - Dev mailing list archive at

View raw message