# com.bea.wli.management.configuration
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`

## Constructor Summary

JMSEventGenChannelConfiguration()

## Method Summary

`public `String`` | `getChannel`() Get the name of the channel
`public `String`` | `getComment`() Get the comment attribute
`public `String`` | `getMatchJmsPropertyName`() Get the matchJmsPropertyName Attribute
`public `String`` | `getMatchJmsPropertyValue`() Get the matchJmsPropertyValues attribute
`public `String`` | `getPublishAsUser`() Get the publishAsUser attribute
`public void` | `setChannel`(`String` channel) Set the channel attribute
`public void` | `setComment`(`String` comment) Set the comment attribute
`public void` | `setMatchJmsPropertyName`(`String` matchJmsPropertyName) Set the matchJmsProperty attribute
`public void` | `setMatchJmsPropertyValue`(`String` matchJmsPropertyValue) Set the matchJmsValue attribute
`public void` | `setPublishAsUser`(`String` publishAsUser) Set the publishAsUser attribute
`public `String`` | `toString`() Returns a string representation of this channel

Methods from class `java.lang.`Object``
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

## Constructor Detail

### JMSEventGenChannelConfiguration

    public JMSEventGenChannelConfiguration()

## Method Detail

### 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()`