Overload List

  NameDescription
Public methodCreateConsumer(IDestination)
Creates a MessageConsumer for the specified destination. Since Queue and Topic both inherit from Destination, they can be used in the destination parameter to create a MessageConsumer.
(Inherited from ISession.)
Public methodCreateConsumer(IDestination, String)
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.

(Inherited from ISession.)
Public methodCreateConsumer(IDestination, String, Boolean) (Inherited from ISession.)

See Also