package Ġat . ac . tu w ien . d se . ss 1 8 . group 0 5 . config Ċ Ċ /* Ġk tl int - disable Ġno - wildcard - imports Ġ*/ Ċ import Ġorg . springframework . amqp . core .* Ċ import Ġorg . springframework . context . annotation . Bean Ċ import Ġorg . springframework . context . annotation . Configuration Ċ Ċ /** Ċ Ġ* Ġ< h 4 > About Ġthis Ġclass </ h 4 > Ċ Ġ* Ċ Ġ* Ġ< p > Description </ p > Ċ Ġ* Ċ Ġ* Ġ@ author ĠDaniel ĠF ue ves i Ċ Ġ* Ġ@ version Ġ 1 . 0 . 0 Ċ Ġ* Ġ@ since Ġ 1 . 0 . 0 Ċ Ġ*/ Ċ @ Configuration Ċ class ĠRabbit Config Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġtopic Exchange Name Ġ= Ġ" vehicle - data - exchange - 2 " ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġvehicle Movement Queue (): ĠQueue Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠQueue (" vehicle Queue Processing ", Ġfalse ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġem s Notification Queue (): ĠQueue Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠQueue (" ems Queue Processing ", Ġfalse ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġexchange (): ĠTopic Exchange Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠTopic Exchange ( topic Exchange Name ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġvehicle Binding ( vehicle Movement Queue : ĠQueue , Ġexchange : ĠTopic Exchange ): ĠBinding Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠBinding Builder . bind ( vehicle Movement Queue ). to ( exchange ). with (" vehicle . data .# ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġem s Binding ( ems Notification Queue : ĠQueue , Ġexchange : ĠTopic Exchange ): ĠBinding Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠBinding Builder . bind ( ems Notification Queue ). to ( exchange ). with (" ems . notification ") ĊĠĠĠ Ġ} Ċ }