|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.component.jms.JmsMessageHelper
public final class JmsMessageHelper
Utility class for Message.
| Method Summary | |
|---|---|
static boolean |
hasProperty(Message jmsMessage,
String name)
Tests whether a given property with the name exists |
static Object |
removeJmsProperty(Message jmsMessage,
String name)
Removes the property from the JMS message. |
static void |
setProperty(Message jmsMessage,
String name,
Object value)
Sets the property on the given JMS message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Object removeJmsProperty(Message jmsMessage,
String name)
throws JMSException
jmsMessage - the JMS messagename - name of the property to remove
JMSException - can be thrown
public static boolean hasProperty(Message jmsMessage,
String name)
throws JMSException
jmsMessage - the JMS messagename - name of the property to test if exists
JMSException - can be thrown
public static void setProperty(Message jmsMessage,
String name,
Object value)
throws JMSException
jmsMessage - the JMS messagename - name of the property to setvalue - the value
JMSException - can be thrown
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||