The NMS Class Library (.Net Messaging Library)

Session.CreateConsumerInfo Method 

protected virtual ConsumerInfo CreateConsumerInfo(
   IDestination destination,
   string selector
);

See Also

Session Class | ActiveMQ Namespace