- TIBCO BusinessEvents®
- Standard
- Cluster

# Cluster.waitForMessageFromLocalNamedPipe()

## Signature

`Object waitForMessageFromLocalNamedPipe(String pipeName, long timeoutMillis)`

## Domain

ACTION, CONDITION, QUERY

## Description

Retrieve a message if one is available on the pipe. If not, then the call blocks until a message is available for the duration specified. If there is no message even after the specified timeout, then the method returns `null`.

## Parameters

Name | Type | Description
--- | --- | ---
`pipeName` | `String` | Name of the pipe
`timeoutMillis` | `long` | Specified timeout in milliseconds

## Returns

Type | Description
--- | ---
`Object` |

## Cautions

none