public void onMessage(Message m) {
		// System.out.println("message received！");
		if (m != null) {
			if (m instanceof TextMessage) // 判断是否与TestMessage类匹配
			{
				TextMessage message = (TextMessage) m;

				String inputXmlString = null;

				try {
					inputXmlString = message.getText();
					org.dom4j.Document doc = DocumentHelper.parseText(inputXmlString);
					String v_sender = doc.getRootElement().element("route").elementText("sender");//
					String v_msg_id = doc.getRootElement().element("route").elementText("msg_id");
					String v_receiver = doc.getRootElement().element("route").elementText("receiver");
					String v_service_name = doc.getRootElement().element("route").elementText("service_name");
					/**
					 * return confirm message
					 */
					String msg = getConfirmMsg(v_sender, v_msg_id, v_receiver);
					writeErrorXMLToFile("send Message " + new Date() + " :\n" + msg);
					JmsSender jmsSender = JmsSender.getInstance();
					jmsSender.sendMsg(msg, this.ipPort);
					
					/**
					 * send message to VIPNMS by webservice
					 */
					String optName = "";
					if (StringUtils.isNotBlank(v_service_name))
					{
						if ("sa_cf_wp_nwp".equals(v_service_name))
							optName = DefaultConfig.getProperty("CreateSheet.opt");
						else if ("sa_cf_wp_uwp".equals(v_service_name))
							optName = DefaultConfig.getProperty("OverSheet.opt");
					}
					
					String rsp = this.getWebSerInstance().webServiceRequest(new String[] {
							optName, // optName
							DefaultConfig.getProperty("RecvJMSMsg.url"), // wsdlURL
							inputXmlString // request xml
					});
					System.out.println(rsp);
			        writeErrorXMLToFile("recv Message " + new Date() + " :\n" + inputXmlString);
				} catch (DocumentException e) {
					e.printStackTrace();
				} catch (JMSException e1) {
					e1.printStackTrace();
					inputXmlString = "";
				}
			} else {
				logger.error("Error type of message!");
			}
		}
	}