|  |  |  | 
|---|
|  |  |  | return BindingBuilder.bind(autoLevelUpAgentQueue()).to(defaultExchange()).with(RouteKeyConstants.ROUTE_KEY_DEFAULT); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Bean | 
|---|
|  |  |  | public DirectExchange agentReturnMoneyExchange() { | 
|---|
|  |  |  | return new DirectExchange(RabbitQueueEnum.AGENT_REUTRN_MONEY.getExchange()); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Bean | 
|---|
|  |  |  | public Queue agentReturnMoneyQueue() { | 
|---|
|  |  |  | return new Queue(QueueConstants.AGENT_RETURN_MONEY); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Bean | 
|---|
|  |  |  | public Binding agentReturnMoneyBind() { | 
|---|
|  |  |  | return BindingBuilder.bind(agentReturnMoneyQueue()).to(agentReturnMoneyExchange()).with(RabbitQueueEnum.AGENT_REUTRN_MONEY.getRoute()); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|