|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.codestreet.selector.jms.ValueProvider
Value provider for JMS. As an extension to the JMS specification, this implementation allows values to be extracted from JMS message body using a dot notation.
The dot notation provides reference to message body fields. For example, .order.quantity would access the quantity field of the nested sub-message field order, if it exists. If the field does not exist, it returns null.
Method Summary | |
java.lang.Object |
getValue(java.lang.Object identifier,
java.lang.Object correlation)
Get the value of the specified identifier. |
static IValueProvider |
valueOf(javax.jms.Message msg)
Factory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static IValueProvider valueOf(javax.jms.Message msg)
msg
- Message to extract values from.
public java.lang.Object getValue(java.lang.Object identifier, java.lang.Object correlation)
getValue
in interface IValueProvider
identifier
- Field identifier.correlation
- Application correlation data. May be null.
NumericValue
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |