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(Message message)
Determine the content type of the given message.
|
String |
getDefaultContentTypeProperty() |
public void addRule(ContentTypeRule rule)
rule
- the rule to addpublic ContentTypeInfo getContentTypeInfo(Message message) throws JMSException
message
- the messageJMSException
public String getDefaultContentTypeProperty()
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.