@Override public void clearBody() throws JMSException { super.clearBody(); facade.clearBody(); }
@Override public JmsMapMessage copy() throws JMSException { JmsMapMessage other = new JmsMapMessage(facade.copy()); other.copy(this); return other; }
private void put(String name, Object value) throws JMSException { checkReadOnlyBody(); checkKeyNameIsValid(name); facade.put(name, value); }
/** * Indicates whether an item exists in this <CODE>MapMessage</CODE> object. * * @param name the name of the item to test * @return true if the item exists * @throws JMSException if the JMS provider fails to determine if the item exists due to some * internal error. */ @Override public boolean itemExists(String name) throws JMSException { return facade.itemExists(name); }
@Override public Enumeration<String> getMapNames() throws JMSException { return facade.getMapNames(); }
@Override public Object getObject(String name) throws JMSException { checkKeyNameIsValid(name); return facade.get(name); }