createConsumer
public MessageConsumer createConsumer(Destination destination, String messageSelector) throws JMSException;
Creates a MessageConsumer for the specified destination, using a message selector.
- Parameters
- destination - the Destination to access.
- messageSelector - the message selector
- Returns
- MessageConsumer
- Exceptions
- JMSException - if the command fails due to some internal JMS error.
uj30110_