Example #1
0
 @Override
 public void clearBody() throws JMSException {
   super.clearBody();
   facade.clearBody();
 }
Example #2
0
 @Override
 public JmsMapMessage copy() throws JMSException {
   JmsMapMessage other = new JmsMapMessage(facade.copy());
   other.copy(this);
   return other;
 }
Example #3
0
 private void put(String name, Object value) throws JMSException {
   checkReadOnlyBody();
   checkKeyNameIsValid(name);
   facade.put(name, value);
 }
Example #4
0
 /**
  * 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);
 }
Example #5
0
 @Override
 public Enumeration<String> getMapNames() throws JMSException {
   return facade.getMapNames();
 }
Example #6
0
 @Override
 public Object getObject(String name) throws JMSException {
   checkKeyNameIsValid(name);
   return facade.get(name);
 }