Package org.hornetq.api.core

Examples of org.hornetq.api.core.SimpleString


      if(this.queueName == null || this.queueName.trim().equals(""))
      {
         throw new Exception("invalid queue name: " + queueName);
      }

      SimpleString name = new SimpleString(this.queueName);
      Binding b = this.postOffice.getBinding(name);
      if(b == null)
      {
         throw new Exception(connectorName + ": queue " + queueName + " not found");
      }
View Full Code Here


   }

   @Override
   public Message putCharProperty(String key, char value)
   {
      properties.putCharProperty(new SimpleString(key), value);
      bufferValid = false;

      return this;
   }
View Full Code Here

      return this;
   }

   public Message putObjectProperty(final String key, final Object value) throws HornetQPropertyConversionException
   {
      putObjectProperty(new SimpleString(key), value);

      bufferValid = false;

      return this;
   }
View Full Code Here

      return this;
   }

   public Message putBooleanProperty(final String key, final boolean value)
   {
      properties.putBooleanProperty(new SimpleString(key), value);

      bufferValid = false;

      return this;
   }
View Full Code Here

      return this;
   }

   public Message putByteProperty(final String key, final byte value)
   {
      properties.putByteProperty(new SimpleString(key), value);

      bufferValid = false;

      return this;
   }
View Full Code Here

      return this;
   }

   public Message putBytesProperty(final String key, final byte[] value)
   {
      properties.putBytesProperty(new SimpleString(key), value);

      bufferValid = false;

      return this;
   }
View Full Code Here

      return this;
   }

   public Message putShortProperty(final String key, final short value)
   {
      properties.putShortProperty(new SimpleString(key), value);

      bufferValid = false;

      return this;
   }
View Full Code Here

      return this;
   }

   public Message putIntProperty(final String key, final int value)
   {
      properties.putIntProperty(new SimpleString(key), value);

      bufferValid = false;

      return this;
   }
View Full Code Here

      return this;
   }

   public Message putLongProperty(final String key, final long value)
   {
      properties.putLongProperty(new SimpleString(key), value);

      bufferValid = false;

      return this;
   }
View Full Code Here

      return this;
   }

   public Message putFloatProperty(final String key, final float value)
   {
      properties.putFloatProperty(new SimpleString(key), value);

      bufferValid = false;

      return this;
   }
View Full Code Here

TOP

Related Classes of org.hornetq.api.core.SimpleString

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.