انتقل إلى المحتوى
أمين أبوزيد
درس مخطط لهMID-024-L05

الطلب والرد عبر المراسلة

  • الدرس 5 من 6
  • Mid-level
في هذا الدرس 4 موضوعات

هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.

نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.

في هذا الدرس

get an answer through a broker when needed.

الموضوعات المخطط لها

  • Request/reply: the requester sends a message with a correlation ID and a reply-to address; the responder answers on that queue.
  • It keeps temporal decoupling for the sender's transport, but the caller still waits, so it is not free of failure handling.
  • Needs a timeout and handling of late or duplicate replies.
  • Prefer plain sync calls for simple queries; use this when a broker is already the integration channel.
  • Do not use async for queries that need an immediate answer.
تفاصيل المخطط المبدئي

عرض عملي

a diagram: request queue, reply queue, correlationId copied from request to reply.

اختبر فهمك

What links a reply to its request?

أظهر الإجابة

The correlation ID.

التطبيق

طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.

المختبر والتمارين الاختبار

تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.

اكتب للبحث في المستويات والمراحل والوحدات والدروس.