WebLogic Messaging API Class Library |

# IMessageConsumer.MessageSelector Property

Gets this message consumer's message selector expression as a `string`.

MessageSelector {get;}

#### Exceptions

Exception Type | Condition
--- | ---
MessageException | if JMS fails to get the message selector due to some internal error.

#### See Also

IMessageConsumer Interface | WebLogic.Messaging Namespace | ISession.CreateConsumer(IDestination,string) | ISession.CreateConsumer(IDestination,string,bool) | ISession.CreateDurableSubscriber(ITopic,string,string,bool)