Creates a IMessageConsumer for the specified destination,
using a message selector.
Since Queue and Topic
both inherit from Destination, they can be used in
the destination parameter to create a MessageConsumer.
A client uses a IMessageConsumer object to receive
messages that have been sent to a destination.
Namespace:
Kaazing.JMS
Assembly:
Kaazing.JMS (in Kaazing.JMS.dll)
Syntax
Parameters
- destination
- Type: Kaazing.JMS..::..IDestination
the IDestination to access
- messageSelector
- Type: System..::..String
only messages with properties matching the
message selector expression are delivered. A value of null or
an empty string indicates that there is no message selector
for the message consumer.
Exceptions
See Also