JMSEventGenChannelConfiguration Class
- public class JMSEventGenChannelConfiguration
extends Object
implements Serializable
Represents a channel rule for a JMS Event Generator.
Rule Fields:
- matchJmsProperty, matchJmsPropertyValue
- If the jms property indicated by matchJmsPropertyName
matches matchJmsPropertyValue, that’s a match.
- If
matchJmsPropertyName is configured but matchJmsPropertyValue
isn’t, the presence of the property will trigger the match.
- If matchJmsPropertyName is absent, that’s always a match
(like the default in a case statement)
Other fields:
- channel - channel to send to if rules match
- comment - comment for this channel rule
- packageType - package type to send (xml, RawData, String)
Related Topics
JMSEventGenConfigurationMBean
-
Hierarchy
-
Object
JMSEventGenChannelConfiguration
-
All Implemented Interfaces
-
Serializable
JMSEventGenChannelConfiguration
public JMSEventGenChannelConfiguration()
getChannel() Method
public String
getChannel()
Get the name of the channel
Returns
- name of channel
getComment() Method
public String
getComment()
Get the comment attribute
Returns
- comment attribute
getMatchJmsPropertyName() Method
public String
getMatchJmsPropertyName()
Get the matchJmsPropertyName Attribute
Returns
- matchJmsPropertyName attribute
getMatchJmsPropertyValue() Method
public String
getMatchJmsPropertyValue()
Get the matchJmsPropertyValues attribute
Returns
- matchJmsPropertyValue attribute
getPublishAsUser() Method
public String
getPublishAsUser()
Get the publishAsUser attribute
Returns
- publishAsUser attribute
setChannel(String) Method
public void setChannel(String
channel)
Set the channel attribute
Parameters
-
channel
- the channel for the event generator
setComment(String) Method
public void setComment(String
comment)
Set the comment attribute
Parameters
-
comment
- is a user comment.
setMatchJmsPropertyName(String) Method
public void setMatchJmsPropertyName(String
matchJmsPropertyName)
Set the matchJmsProperty attribute
Parameters
-
matchJmsPropertyName
- property to set
setMatchJmsPropertyValue(String) Method
public void setMatchJmsPropertyValue(String
matchJmsPropertyValue)
Set the matchJmsValue attribute
Parameters
-
matchJmsPropertyValue
- property to set
setPublishAsUser(String) Method
public void setPublishAsUser(String
publishAsUser)
Set the publishAsUser attribute
Parameters
-
publishAsUser
- property to set
toString() Method
public String
toString()
Returns a string representation of this channel
-
Overrides
-
Object.toString()