public interface JmsProperties
| Modifier and Type | Method and Description |
|---|---|
static JmsPropertiesBuilder |
builder()
Creates a builder object to create JMS Properties
|
boolean |
getBooleanProperty(String name)
Returns the value of the
boolean property with the specified name. |
byte |
getByteProperty(String name)
Returns the value of the
byte property with the specified name. |
double |
getDoubleProperty(String name)
Returns the value of the
double property with the specified name. |
float |
getFloatProperty(String name)
Returns the value of the
float property with the specified name. |
int |
getIntProperty(String name)
Returns the value of the
int property with the specified name. |
long |
getLongProperty(String name)
Returns the value of the
long property with the specified name. |
Object |
getObjectProperty(String name)
Returns the value of the Java object property with the specified name.
|
Enumeration<String> |
getPropertyNames()
Returns an
Enumeration of all the property names. |
short |
getShortProperty(String name)
Returns the value of the
short property with the specified name. |
String |
getStringProperty(String name)
Returns the value of the
String property with the specified name. |
boolean |
propertyExists(String name)
Indicates whether a property value exists.
|
static JmsPropertiesBuilder builder()
boolean propertyExists(String name)
name - the name of the property to testboolean getBooleanProperty(String name)
boolean property with the specified name.name - the name of the boolean propertyboolean property value for the specified namebyte getByteProperty(String name)
byte property with the specified name.name - the name of the byte propertybyte property value for the specified nameshort getShortProperty(String name)
short property with the specified name.name - the name of the short propertyshort property value for the specified nameint getIntProperty(String name)
int property with the specified name.name - the name of the int propertyint property value for the specified namelong getLongProperty(String name)
long property with the specified name.name - the name of the long propertylong property value for the specified namefloat getFloatProperty(String name)
float property with the specified name.name - the name of the float propertyfloat property value for the specified namedouble getDoubleProperty(String name)
double property with the specified name.name - the name of the double propertydouble property value for the specified nameString getStringProperty(String name)
String property with the specified name.name - the name of the String propertyString property value for the specified name; if there is no property by this name, a null value
is returnedObject getObjectProperty(String 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 setObjectProperty method call, or its equivalent primitive
settypeProperty method.
name - the name of the Java object propertyint, an Integer is returned); if there is no property by this name, a null value is
returnedEnumeration<String> getPropertyNames()
Enumeration of all the property names.
Note that Jakarta Messaging standard header fields are not considered properties and are not returned in this enumeration.
Copyright © 2018–2021 SmallRye. All rights reserved.