public interface JmsPropertyContext extends JmsReadablePropertyContext, java.util.Map<java.lang.String,java.lang.Object>
| boolean | byte | short | char | int | long | float | double | String | byte[] | |
|---|---|---|---|---|---|---|---|---|---|---|
| boolean | X | X | ||||||||
| byte | X | X | X | X | X | |||||
| short | X | X | X | X | ||||||
| char | X | X | ||||||||
| int | X | X | X | |||||||
| long | X | X | ||||||||
| float | X | X | X | |||||||
| double | X | X | ||||||||
| String | X | X | X | X | X | X | X | X | ||
| byte[] | X |
| Modifier and Type | Method and Description |
|---|---|
void |
setBatchProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
Sets multiple property values passed in via a Map.
|
void |
setBooleanProperty(java.lang.String name,
boolean value)
Sets a boolean property value with the given name.
|
void |
setByteProperty(java.lang.String name,
byte value)
Sets a byte property value with the given name.
|
void |
setBytesProperty(java.lang.String name,
byte[] value)
Sets a byte array property value with the given name.
|
void |
setCharProperty(java.lang.String name,
char value)
Sets a character property value with the given name.
|
void |
setDoubleProperty(java.lang.String name,
double value)
Sets a double property value with the given name.
|
void |
setFloatProperty(java.lang.String name,
float value)
Sets a float property value with the given name.
|
void |
setIntProperty(java.lang.String name,
int value)
Sets an int property value with the given name.
|
void |
setLongProperty(java.lang.String name,
long value)
Sets a long property value with the given name.
|
void |
setObjectProperty(java.lang.String name,
java.lang.Object value)
Sets an Object property value with the given name.
|
void |
setShortProperty(java.lang.String name,
short value)
Sets a short property value with the given name.
|
void |
setStringProperty(java.lang.String name,
java.lang.String value)
Sets a String property value with the given name.
|
getBooleanProperty, getByteProperty, getBytesProperty, getCharProperty, getDoubleProperty, getFloatProperty, getIntProperty, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, propertyExistsvoid setCharProperty(java.lang.String name,
char value)
throws javax.jms.JMSException
name - the name of the char property.value - the char value to put into the property context.javax.jms.JMSException - if the property context is marked read-only or if the proposed value is
invalid for the property.void setBooleanProperty(java.lang.String name,
boolean value)
throws javax.jms.JMSException
name - the name of the boolean property.value - the boolean value to put into the property context.javax.jms.JMSException - if the property context is marked read-only or if the proposed value is
invalid for the property.void setByteProperty(java.lang.String name,
byte value)
throws javax.jms.JMSException
name - the name of the byte property.value - the byte value to put into the property context.javax.jms.JMSException - if the property context is marked read-only or if the proposed value is
invalid for the property.void setShortProperty(java.lang.String name,
short value)
throws javax.jms.JMSException
name - the name of the short property.value - the short value to put into the property context.javax.jms.JMSException - if the property context is marked read-only or if the proposed value is
invalid for the property.void setIntProperty(java.lang.String name,
int value)
throws javax.jms.JMSException
name - the name of the int property.value - the int value to put into the property context.javax.jms.JMSException - if the property context is marked read-only or if the proposed value is
invalid for the property.void setLongProperty(java.lang.String name,
long value)
throws javax.jms.JMSException
name - the name of the long property.value - the long value to put into the property context.javax.jms.JMSException - if the property context is marked read-only or if the proposed value is
invalid for the property.void setFloatProperty(java.lang.String name,
float value)
throws javax.jms.JMSException
name - the name of the float property.value - the float value to put into the property context.javax.jms.JMSException - if the property context is marked read-only or if the proposed value is
invalid for the property.void setDoubleProperty(java.lang.String name,
double value)
throws javax.jms.JMSException
name - the name of the double property.value - the double value to put into the property context.javax.jms.JMSException - if the property context is marked read-only or if the proposed value is
invalid for the property.void setStringProperty(java.lang.String name,
java.lang.String value)
throws javax.jms.JMSException
name - the name of the String property.value - the String value to put into the property context.javax.jms.JMSException - if the property context is marked read-only or if the proposed value is
invalid for the property.void setObjectProperty(java.lang.String name,
java.lang.Object value)
throws javax.jms.JMSException
name - the name of the Object property.value - the Object value to put into the property context.javax.jms.JMSException - if the property context is marked read-only or if the proposed value is
invalid for the property.void setBytesProperty(java.lang.String name,
byte[] value)
throws javax.jms.JMSException
name - the name of the byte array property.value - the byte array to put into the property context.javax.jms.JMSException - if the property context is marked read-only or if the proposed value is
invalid for the property.void setBatchProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
throws javax.jms.JMSException
properties - the Map of properties.javax.jms.JMSException - if the property context is marked read-only or if any proposed value is
invalid for any property.