# com.bea.control
SubscriptionControl Interface

public interface SubscriptionControl
extends `Control`

All Superinterfaces
  `Control`, `Control`, `Serializable`

## Nested Class Summary

`public static interface` | `SubscriptionControl.Callback`

Nested classes from interface com.bea.control`.`Control``
`Control.Callback`

## Method Summary

`public void` | `subscribe`() Subscribes the control to the message broker.
`public void` | `unsubscribe`() Unsubscribes the control from the message broker, stopping further events (messages) from being delivered to the control.

## Method Detail

### subscribe() Method

    public void subscribe()

Subscribes the control to the message broker. If the subscription uses a filter expression, then the default filter value will be used. If no default filter value is defined in the annotations, then a `null` filter value will be used, meaning that any filter result will trigger a callback.

### unsubscribe() Method

    public void unsubscribe()

Unsubscribes the control from the message broker, stopping further events (messages) from being delivered to the control.