February 2018
Intermediate to advanced
356 pages
9h 10m
English
We need to configure the entity names to instruct the framework to connect with the broker entities. We will use the application.yaml file to store these names, since it is easier to maintain and is the correct way to store application infrastructure data.
The section with the entity names should look like this snippet:
queue: twitter: twitter-streamexchange: twitter: twitter-exchangerouting_key: track: track.*
The properties are self-explanatory, the exchange node has the name of the exchange, the queue node has the queue name, and finally, the routing_key node has the routing argument.
Awesome. The properties are configured, and now we will create our @Configuration class. Let's do that ...
Read now
Unlock full access