# PreviewtMessagingClose

Closes a connection to an MQ server.

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).

Information noteNote: This component is available only when you have installed the 8.0.1-R2022-11 Talend Studio Monthly update or a later one delivered by Talend. For more information, check with your administrator.

## tMessagingClose Standard properties

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

The Standard tMessagingClose component belongs to the Messaging family.

## Basic settings

| Properties | Description |
| --- | --- |
| Component List | Select from the drop-down list the component that establishes the desired<br>connection. |

## Advanced settings

| Properties | Description |
| --- | --- |
| tStatCatcher Statistics | Select this check box to collect log data at the component<br>level. |

## Global Variables

| Variables | Description |
| --- | --- |
| Global Variables | 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><br>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>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 is used with other tMessaging\* components,<br>especially with the tMessagingConnection, tMessagingCommit, and tMessagingRollback components. |
| Limitation | This component supports ActiveMQ (JMS v1), ActiveMQ Artemis (JMS v2), and WebSphere MQ servers. |