Class ImmutableJmsProperties
- java.lang.Object
- 
- io.smallrye.reactive.messaging.jms.impl.ImmutableJmsProperties
 
- 
- All Implemented Interfaces:
- JmsProperties
 
 public final class ImmutableJmsProperties extends Object implements JmsProperties 
- 
- 
Constructor SummaryConstructors Constructor Description ImmutableJmsProperties(javax.jms.Message message)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetBooleanProperty(String name)Returns the value of thebooleanproperty with the specified name.bytegetByteProperty(String name)Returns the value of thebyteproperty with the specified name.doublegetDoubleProperty(String name)Returns the value of thedoubleproperty with the specified name.floatgetFloatProperty(String name)Returns the value of thefloatproperty with the specified name.intgetIntProperty(String name)Returns the value of theintproperty with the specified name.longgetLongProperty(String name)Returns the value of thelongproperty with the specified name.ObjectgetObjectProperty(String name)Returns the value of the Java object property with the specified name.Enumeration<String>getPropertyNames()Returns anEnumerationof all the property names.shortgetShortProperty(String name)Returns the value of theshortproperty with the specified name.StringgetStringProperty(String name)Returns the value of theStringproperty with the specified name.booleanpropertyExists(String name)Indicates whether a property value exists.
 
- 
- 
- 
Method Detail- 
propertyExistspublic boolean propertyExists(String name) Description copied from interface:JmsPropertiesIndicates whether a property value exists.- Specified by:
- propertyExistsin interface- JmsProperties
- Parameters:
- name- the name of the property to test
- Returns:
- true if the property exists
 
 - 
getBooleanPropertypublic boolean getBooleanProperty(String name) Description copied from interface:JmsPropertiesReturns the value of thebooleanproperty with the specified name.- Specified by:
- getBooleanPropertyin interface- JmsProperties
- Parameters:
- name- the name of the- booleanproperty
- Returns:
- the booleanproperty value for the specified name
 
 - 
getBytePropertypublic byte getByteProperty(String name) Description copied from interface:JmsPropertiesReturns the value of thebyteproperty with the specified name.- Specified by:
- getBytePropertyin interface- JmsProperties
- Parameters:
- name- the name of the- byteproperty
- Returns:
- the byteproperty value for the specified name
 
 - 
getShortPropertypublic short getShortProperty(String name) Description copied from interface:JmsPropertiesReturns the value of theshortproperty with the specified name.- Specified by:
- getShortPropertyin interface- JmsProperties
- Parameters:
- name- the name of the- shortproperty
- Returns:
- the shortproperty value for the specified name
 
 - 
getIntPropertypublic int getIntProperty(String name) Description copied from interface:JmsPropertiesReturns the value of theintproperty with the specified name.- Specified by:
- getIntPropertyin interface- JmsProperties
- Parameters:
- name- the name of the- intproperty
- Returns:
- the intproperty value for the specified name
 
 - 
getLongPropertypublic long getLongProperty(String name) Description copied from interface:JmsPropertiesReturns the value of thelongproperty with the specified name.- Specified by:
- getLongPropertyin interface- JmsProperties
- Parameters:
- name- the name of the- longproperty
- Returns:
- the longproperty value for the specified name
 
 - 
getFloatPropertypublic float getFloatProperty(String name) Description copied from interface:JmsPropertiesReturns the value of thefloatproperty with the specified name.- Specified by:
- getFloatPropertyin interface- JmsProperties
- Parameters:
- name- the name of the- floatproperty
- Returns:
- the floatproperty value for the specified name
 
 - 
getDoublePropertypublic double getDoubleProperty(String name) Description copied from interface:JmsPropertiesReturns the value of thedoubleproperty with the specified name.- Specified by:
- getDoublePropertyin interface- JmsProperties
- Parameters:
- name- the name of the- doubleproperty
- Returns:
- the doubleproperty value for the specified name
 
 - 
getStringPropertypublic String getStringProperty(String name) Description copied from interface:JmsPropertiesReturns the value of theStringproperty with the specified name.- Specified by:
- getStringPropertyin interface- JmsProperties
- Parameters:
- name- the name of the- Stringproperty
- Returns:
- the Stringproperty value for the specified name; if there is no property by this name, a null value is returned
 
 - 
getObjectPropertypublic Object getObjectProperty(String name) Description copied from interface:JmsPropertiesReturns the value of the Java object property with the specified name.This method can be used to return, in objectified format, an object that has been stored as a property in the message with the equivalent setObjectPropertymethod call, or its equivalent primitivesettypePropertymethod.- Specified by:
- getObjectPropertyin interface- JmsProperties
- Parameters:
- name- the name of the Java object property
- Returns:
- the Java object property value with the specified name, in objectified format (for example, if the property
         was set as an int, anIntegeris returned); if there is no property by this name, a null value is returned
 
 - 
getPropertyNamespublic Enumeration<String> getPropertyNames() Description copied from interface:JmsPropertiesReturns anEnumerationof all the property names.Note that Jakarta Messaging standard header fields are not considered properties and are not returned in this enumeration. - Specified by:
- getPropertyNamesin interface- JmsProperties
- Returns:
- an enumeration of all the names of property values
 
 
- 
 
-