- TIBCO BusinessEvents®
- ActiveSpaces(Deprecated)
- Metaspace
- Subscriber

# Metaspace.Subscriber.setRuleFunction()

## Signature

`void setRuleFunction (Object subscriber, String ruleFunction)`

## Domain

ACTION

## Description

Sets the subscriber rule function

## Parameters

Name | Type | Description
--- | --- | ---
`subscriber` | `Object` | Activespaces subscriber object
`ruleFunction` | `String` | call back/pre-processor rulefunction, signature fn(Object o) where o is an Event or Tuple if event is not specified

## Returns

Type | Description
--- | ---
`void` |

## Cautions

none