diff --git a/examples/jms-consumer-acknowledgement/jms_consumer_acknowledgement.md b/examples/jms-consumer-acknowledgement/jms_consumer_acknowledgement.md index dc36fc74bc..2df9ca0d71 100644 --- a/examples/jms-consumer-acknowledgement/jms_consumer_acknowledgement.md +++ b/examples/jms-consumer-acknowledgement/jms_consumer_acknowledgement.md @@ -1,4 +1,4 @@ -# JMS message producer - Manual acknowledgment +# JMS message consumer - Manual acknowledgment The `jms:MessageConsumer` allows manual acknowledgment for received messages. A `jms:MessageConsumer` can be initialized by using a `jms:Session` object. To configure manual acknowledgment mode, create a `jms:Session` object with the acknowledge mode set to `jms:CLIENT_ACKNOWLEDGE`. diff --git a/examples/jms-consumer-consume-message/jms_consumer_consume_message.md b/examples/jms-consumer-consume-message/jms_consumer_consume_message.md index 8b7b00ae1d..605b33fb6a 100644 --- a/examples/jms-consumer-consume-message/jms_consumer_consume_message.md +++ b/examples/jms-consumer-consume-message/jms_consumer_consume_message.md @@ -1,4 +1,4 @@ -# JMS message producer - Consume messages +# JMS message consumer - Consume messages The `jms:MessageConsumer` allows fetching individual messages one by one from a given JMS provider. A `jms:MessageConsumer` can be initialized by using a `jms:Session` object. To pull messages from the JMS provider, use either of the `receive` or `receiveNoWait` methods. It is possible to use automatic or manual acknowledgments similar to the consumer service. Use it to pull messages one by one from a JMS destination in the JMS provider.