hi all i am trying to pass url, file path, id in message but in message consumer i am getting null pionter exception can you pls tell where i am wrong : message producer code:

getJmsTemplate().send(new MessageCreator(){
public Message createMessage(Session session)throws JMSException{
MapMessage msg=session.createMapMessage();
msg.setString(COMMAND, DELETE);
msg.setString(APP_URL, appUrl);
msg.setString(FILE,filePath);
msg.setString(MAILING_LIST_ID, mailingListId);
return msg;
}

});
values are passing from here to message consumer code where i am getting null pointer execption is :
subscriberService.deleteSubscribers(mapMessage.get String(FILE),mapMessage.getString(APP_URL),mapMess age.getString(MAILING_LIST_ID));

please tell me what mistake i am doing .