# tRabbitMQConnection

Establishes a connection to a message queue for later use.

This component is not shipped with your Talend Studio by default. You need to install it using the Feature Manager. For more information, see [Installing features using the Feature Manager](https://help.qlik.com/talend/r/en-US/8.0/studio-user-guide/install-features-to-talend-studio).

## tRabbitMQConnection Standard properties

These properties are used to configure tRabbitMQConnection running in the Standard Job framework.

The Standard tRabbitMQConnection component belongs to the Internet family.

The component in this framework is available in all subscription-based Talend products.

## Basic settings

| Properties | Description |
| --- | --- |
| Property Type | Either Built-In or<br>Repository.<br><br><br>Built-In: No property data stored<br>centrally.<br><br><br>Repository: Select the repository file<br>in which the properties are stored. The database connection related fields that<br>follow are completed automatically using the data retrieved. |
| Host name | Enter the host name, for example, localhost. |
| Port | Enter the port number. The default is 5672. |
| Username and Password | Enter the username and the password for accessing the message queue.<br><br>To enter the password, click the [...] button<br>next to the Password field to bring out the Enter a new<br>password dialog box, enter the password in the text field, and click<br>OK. Note that you can enter the password either in a JSON string<br>in the pure password mode or as a Java expression in the Java<br>mode. You can toggle between the two modes by clicking switch to<br>Java mode or switch to pure password mode on the top<br>of the text field.<br><br>Information noteNote:<br><br><ul> <li>The two password modes are available only when you have installed the                  8.0.1-R2022-05 <span>Talend Studio</span>                  monthly update or a later one delivered by <span>Talend</span>. For more information, check with your administrator.</li> <li>If the 8.0.1-R2022-05 <span>Talend Studio</span>                  monthly update or a later one delivered by <span>Talend</span>                  is not installed, you can enter passwords in the <span>Java mode</span>                  only. </li> </ul> |
| Use TLS | Select this option to use TLS for the connection. |

## Advanced settings

| Properties | Description |
| --- | --- |
| tStatCatcher Statistics | Select this check box to gather the Job processing metadata at the<br>Job level as well as at each component level. |
| Use virtual host | Select this option to use a virtual host for publishing or receiving messages.<br>Specify the virtual host to be used by entering the virtual host name in the<br>Virtual host name field.<br><br>Information noteNote: This option is available only when you have installed the 8.0.1-R2023-01<br>Talend Studio Monthly update or a later one delivered by Talend. For more information, check with your administrator. |

## Global Variables

| Variables | Description |
| --- | --- |
| Global Variables | NB\_LINE: the number<br>of rows read by an input component or transferred to an output component. This is an<br>After variable and it returns an integer.<br><br><br>ERROR\_MESSAGE: the error message generated by the<br>component when an error occurs. This is an After variable and it returns a string. This<br>variable functions only if the Die on error checkbox is<br>cleared, if the component has this checkbox.<br><br>A Flow variable functions during the execution of a component<br>while an After variable functions after the execution of the component.<br><br>To fill up a field or expression with a variable, press Ctrl+Space to access the variable list and choose the variable to use from<br>it.<br><br>For more information about variables, see [Using contexts and variables](https://help.qlik.com/talend/r/en-US/8.0/studio-user-guide/contexts-and-variables). |

## Usage

| Usage guidance | Description |
| --- | --- |
| **Usage rule** | This component establishes a connection to a message queue<br>for tRabbitMQInput and tRabbitMQOutput. |
| Limitation | n/a |