<div dir="ltr">Hi Team,<div><br></div><div>We are trying to make asynchronous call in RabbitMQ using Spring AMQP, could any one please tell me how to configure <b>replyqueue, correlationId, (properties) </b>using spring amqp?</div>
<div><pre style="background-color:rgb(238,238,238);padding:5px 15px;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;color:rgb(85,85,85);font-size:13px;line-height:18px">
 <span class="" style="color:rgb(0,128,128)">String</span> <span class="" style="color:rgb(0,128,128)">corrId</span> <span class="" style="font-weight:bold">=</span> <span class="" style="color:rgb(0,128,128)">java</span><span class="" style="font-weight:bold">.</span><span class="" style="color:rgb(0,128,128)">util</span><span class="" style="font-weight:bold">.</span><span class="" style="color:rgb(0,128,128)">UUID</span><span class="" style="font-weight:bold">.</span><span class="" style="color:rgb(0,128,128)">randomUUID</span><span class="" style="font-weight:bold">().</span><span class="" style="color:rgb(0,128,128)">toString</span><span class="" style="font-weight:bold">();</span>

<span class="" style="color:rgb(0,128,128)"> BasicProperties</span> <span class="" style="color:rgb(0,128,128)">props</span> <span class="" style="font-weight:bold">=</span> <span class="" style="font-weight:bold">new</span> <span class="" style="color:rgb(0,128,128)">BasicProperties</span>
                                <span class="" style="font-weight:bold">.</span><span class="" style="color:rgb(0,128,128)">Builder</span><span class="" style="font-weight:bold">()</span>
                                <span class="" style="font-weight:bold">.</span><span class="" style="color:rgb(0,128,128)">correlationId</span><span class="" style="font-weight:bold">(</span><span class="" style="color:rgb(0,128,128)">corrId</span><span class="" style="font-weight:bold">)</span>
                                <span class="" style="font-weight:bold">.</span><span class="" style="color:rgb(0,128,128)">replyTo</span><span class="" style="font-weight:bold">(</span><span class="" style="color:rgb(0,128,128)">replyQueueName</span><span class="" style="font-weight:bold">)</span>
                                <span class="" style="font-weight:bold">.</span><span class="" style="color:rgb(0,128,128)">build</span><span class="" style="font-weight:bold">();</span>

 <span class="" style="color:rgb(0,128,128)">channel</span><span class="" style="font-weight:bold">.</span><span class="" style="color:rgb(0,128,128)">basicPublish</span><span class="" style="font-weight:bold">(</span><span class="" style="color:rgb(221,17,68)">&quot;&quot;</span><span class="" style="font-weight:bold">,</span> <span class="" style="color:rgb(0,128,128)">requestQueueName</span><span class="" style="font-weight:bold">,</span> <span class="" style="color:rgb(0,128,128)">props</span><span class="" style="font-weight:bold">,</span> <span class="" style="color:rgb(0,128,128)">message</span><span class="" style="font-weight:bold">.</span><span class="" style="color:rgb(0,128,128)">getBytes</span><span class="" style="font-weight:bold">());</span>
</pre></div><div><span class="" style="font-weight:bold"><br></span></div><div><span class="">Thanks in advance.</span></div></div>