|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axis2.transport.jms.ctype.MessageTypeRule
public class MessageTypeRule
Content type rule that matches a given message type and returns a fixed content type.
| Constructor Summary | |
|---|---|
MessageTypeRule(java.lang.Class<? extends javax.jms.Message> messageType,
java.lang.String contentType)
|
|
| 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 MessageTypeRule(java.lang.Class<? extends javax.jms.Message> messageType,
java.lang.String contentType)
| Method Detail |
|---|
public ContentTypeInfo getContentType(javax.jms.Message message)
ContentTypeRule
getContentType in interface ContentTypeRulemessage - the message
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 | |||||||||