The Session.createConsumer method in Java is used to create a MessageConsumer object that is used to receive messages from a specified destination, such as a queue or a topic. This method is typically called by a session when a consumer is required to consume messages from a destination. The created MessageConsumer can be used to asynchronously receive messages by implementing a MessageListener interface, or synchronously receive messages by calling the receive() method.
Java Session.createConsumer - 30 examples found. These are the top rated real world Java examples of Session.createConsumer extracted from open source projects. You can rate examples to help us improve the quality of examples.