官术网_书友最值得收藏!

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "The first of these additions takes care of declaring the topic exchange in the existing onApplicationStart method."

A block of code is set as follows:

rabbitMqManager.call(new ChannelCallable<DeclareOk>()
{
    @Override
    public String getDescription()
    {
        return "Declaring topic exchange: " + USER_TOPICS_EXCHANGE;
    }

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

    try
    {
        connection = factory.newConnection();
 connection.addShutdownListener(this);
        LOGGER.info("Connected to " + factory.getHost() + ":" + factory.getPort());
    }

Any command-line input or output is written as follows:

$ sudo service rabbitmq-server restart

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "When connected to the management console, click on the Exchanges tab."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 衡山县| 沧源| 扎兰屯市| 青岛市| 桐柏县| 应城市| 太仓市| 长丰县| 拜城县| 文昌市| 崇明县| 沙河市| 乌拉特后旗| 潮州市| 宿州市| 南皮县| 虹口区| 南投市| 缙云县| 六盘水市| 阜阳市| 黄大仙区| 巢湖市| 宁武县| 井冈山市| 衡阳市| 通州区| 永修县| 南投市| 河津市| 大渡口区| 乌苏市| 油尖旺区| 林芝县| 乌鲁木齐市| 固阳县| 秦皇岛市| 闸北区| 三门峡市| 新兴县| 亚东县|