public class ContentTypeRuleSet extends Object
| Constructor and Description |
|---|
ContentTypeRuleSet() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRule(ContentTypeRule rule)
Add a content type rule to this set.
|
ContentTypeInfo |
getContentTypeInfo(javax.jms.Message message)
Determine the content type of the given message.
|
String |
getDefaultContentTypeProperty() |
public void addRule(ContentTypeRule rule)
rule - the rule to addpublic ContentTypeInfo getContentTypeInfo(javax.jms.Message message) throws javax.jms.JMSException
message - the messagejavax.jms.JMSExceptionpublic String getDefaultContentTypeProperty()
Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.