public interface MessageTyper
A MessageTyper's purpose is to determine a DynamicBeanInfo for a JMSType. They are the mechanism whereby metadata for a message bean type can be determined dynamically.
A MessageRegistry implementation should provide a way to specify a MessageTyper for any type of message whose bean metadata must is dynamic, rather than based on introspection of the message object's class.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
Modifier and Type | Method and Description |
---|---|
DynamicBeanInfo |
getBeanInfo(java.lang.String pJMSType,
java.lang.Class pMessageClass)
Returns the DynamicBeanInfo associated with a JMS message type
and optional message object class.
|
static final java.lang.String CLASS_VERSION
DynamicBeanInfo getBeanInfo(java.lang.String pJMSType, java.lang.Class pMessageClass)
pJMSType
- the JMS message type, which is requiredpMessageClass
- an optional class which will be used at
runtime for an object message.