public class DefaultRule extends Object implements ContentTypeRule
| Constructor and Description |
|---|
DefaultRule(String contentType) |
| Modifier and Type | Method and Description |
|---|---|
ContentTypeInfo |
getContentType(javax.jms.Message message)
Attempt to determine the content type of the given JMS message.
|
String |
getExpectedContentTypeProperty()
Get the name of the message property used to extract the content type from,
if applicable.
|
public DefaultRule(String contentType)
public ContentTypeInfo getContentType(javax.jms.Message message)
ContentTypeRulegetContentType in interface ContentTypeRulemessage - the messagepublic String getExpectedContentTypeProperty()
ContentTypeRulegetExpectedContentTypeProperty in interface ContentTypeRuleCopyright © 2004–2017 The Apache Software Foundation. All rights reserved.