Would it be possible to see an example of a Fanout exchange setup where Spring AMQP is tasked on the producer and consumer with setting up the proper exchange/queues/bindings?
Printable View
Would it be possible to see an example of a Fanout exchange setup where Spring AMQP is tasked on the producer and consumer with setting up the proper exchange/queues/bindings?
<bean name="twm3.queue" class="org.springframework.amqp.core.Queue">
<constructor-arg value="twm3.Deiquoo2.queue.request"/>
<property name="durable" value="true"/>
<property name="autoDelete" value="false"/>
<property name="exclusive" value="false"/>
</bean>
<bean name="vasp022.exchange" class="org.springframework.amqp.core.FanoutExchang e">
<constructor-arg value="vasp.022.Ooyoh7ae.exchange.fanout"/>
<property name="durable" value="true"/>
<property name="autoDelete" value="false"/>
</bean>
<bean class="org.springframework.amqp.core.Binding">
<constructor-arg ref="twm3.queue"/>
<constructor-arg ref="vasp022.exchange"/>
</bean>
By this config all messages which are sent to 'vasp.022.Ooyoh7ae.exchange.fanout' exchange will be routed to 'twm3.Deiquoo2.queue.request' queue