|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis2.transport.jms.ctype.PropertyRule
public class PropertyRule
Content type rule that attempts to extract the content type from a message property.
Constructor Summary | |
---|---|
PropertyRule(java.lang.String propertyName)
|
Method Summary | |
---|---|
ContentTypeInfo |
getContentType(javax.jms.Message message)
Attempt to determine the content type of the given JMS message. |
java.lang.String |
getExpectedContentTypeProperty()
Get the name of the message property used to extract the content type from, if applicable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyRule(java.lang.String propertyName)
Method Detail |
---|
public ContentTypeInfo getContentType(javax.jms.Message message) throws javax.jms.JMSException
ContentTypeRule
getContentType
in interface ContentTypeRule
message
- the message
javax.jms.JMSException
public java.lang.String getExpectedContentTypeProperty()
ContentTypeRule
getExpectedContentTypeProperty
in interface ContentTypeRule
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |