<p>I'm trying to deploy Spring Boot microservices applications producing and consuming data using RabbitMQ on K8s Cluster in Azure AKS.
When I run producer application and produce a message to the queue through POSTMAN, I get 200 OK response but in RabbitMQ management UI, I get no queues and in the RabbitMQ container logs I see below error</p>
<p><code>o.s.a.r.c.CachingConnectionFactory       : Channel shutdown: channel error; protocol method: #method&lt;channel.close&gt;(reply-code=404, reply-text=NOT_FOUND - no exchange 'employeeexchange' in vhost '/', class-id=60, method-id=40)</code></p>
<p>Not able to figure out what I'm doing wrong.
If you have any idea (or need any kind of additional information), let me know.</p>

Meghna
<p>You can use below to create a queue</p>
<pre><code>@Bean
Queue queue() {
return new Queue(String name, boolean durable, boolean exclusive, boolean autoDelete)
</code></pre>
<p>Parameters:</p>
<p><code>name</code> - the name of the queue.</p>
<p><code>durable</code> - true if we are  declaring a durable queue (the queue will survive a server restart)</p>
<p><code>exclusive</code> - false if we are not declaring an exclusive queue (the queue will only be used by the declarer's connection)</p>
<p><code>autoDelete</code> - false if the server should not delete the queue when it is no longer in use</p>
