Courseiva

C_CPI Integration Suite Development Practice Question

An integration developer is building an integration flow in SAP Cloud Integration that must process messages from a JMS queue. The queue is configured with a maximum retention period, but messages are accumulating faster than the receiver can process them. The developer needs to ensure that messages are not lost and that the integration flow can handle the backlog. Which JMS queue configuration should the developer adjust to control the number of messages that can be stored in the queue?

⚠ Common exam trap

Many exam-takers confuse the maximum number of messages with the retention period or message expiration, which control time-based retention rather than queue capacity.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Set the 'Max. Number of Messages' parameter to a higher value.

The JMS queue in SAP Cloud Integration has a configurable maximum number of messages that can be stored. When messages accumulate faster than they are consumed, the queue can reach this limit, causing new messages to be rejected. By increasing the 'Max. Number of Messages' parameter, the developer expands the queue's capacity, allowing more messages to be held until the consumer catches up. This directly addresses the backlog and prevents message loss due to queue overflow.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    Set the 'Max. Number of Messages' parameter to a higher value.

    Why this is correct

    In SAP Cloud Integration, the JMS queue configuration includes a parameter that limits the maximum number of messages that can be stored in the queue. Adjusting this parameter directly controls the queue's capacity. By increasing it, the developer allows more messages to be stored, preventing rejection when the backlog grows. This is the correct parameter to modify when the goal is to control the number of messages that can be held in the queue.

  • ✗

    Set the 'Message Expiration' parameter to a higher value.

    Why it's wrong here

    The 'Message Expiration' parameter sets a time-to-live for each message. Increasing it means messages stay in the queue longer before being discarded, which can help with slow consumers but does not control the number of messages stored. If the queue has a size limit, messages may still be rejected when the limit is reached. This parameter affects message lifetime, not queue capacity, so it does not address the accumulation issue directly.

  • ✗

    Set the 'Max. Queue Size' parameter to a higher value.

    Why it's wrong here

    The 'Max. Queue Size' parameter limits the number of messages that can be stored in the JMS queue. Increasing it allows more messages to be stored, but it does not directly address the rate mismatch between producer and consumer. It may help temporarily but could lead to resource exhaustion if the backlog continues to grow. The scenario requires controlling the number of messages stored, but the primary concern is ensuring messages are not lost and handling the backlog, which is better addressed by other parameters like retention period or consumer scaling.

  • ✗

    Set the 'Max. Retention Period' parameter to a higher value.

    Why it's wrong here

    The 'Max. Retention Period' defines how long a message is retained in the queue before it is discarded. Increasing it allows messages to remain longer, which can help prevent loss if the consumer is slow, but it does not control the number of messages stored. The queue size limit still applies, and if the queue fills up, new messages may be rejected. This parameter is about time, not quantity, so it does not directly solve the backlog issue.

About these practice questions

Courseiva writes every C_CPI question from scratch — 218 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official SAP exam blueprint

This C_CPI practice question is part of Courseiva's free SAP certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the C_CPI exam.