/** * @deprecated not in use */ @Deprecated public Object getObjectProperty(Message jmsMessage, String name) throws JMSException { // try a direct lookup first Object answer = jmsMessage.getObjectProperty(name); if (answer == null) { // then encode the key and do another lookup String key = jmsKeyFormatStrategy.encodeKey(name); answer = jmsMessage.getObjectProperty(key); } return answer; }
String key = jmsKeyFormatStrategy.decodeKey(name); map.put(key, value); } catch (JMSException e) {
String key = jmsKeyFormatStrategy.encodeKey(headerName);