Package: io.vertx.groovy.ext.stomp

## [Groovy] Class DestinationFactory

- io.vertx.groovy.ext.stomp.DestinationFactory

- Interface implemented to customize the destination creation.

- - ### Constructor Summary

    Constructors
    Constructor and description
    `DestinationFactory (Object delegate)`

  - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `Destination` | `create(Vertx vertx, String name)` Creates a destination for the given address.
    `Object` | `getDelegate()`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll`

- - ### Constructor Detail

    - #### DestinationFactory(Object delegate)

  - ### Method Detail

    - #### Destination create(Vertx vertx, String name)

      Creates a destination for the given address.

      Returns:
        the destination, `null` to reject the creation.
      Parameters:
        `vertx` - the vert.x instance used by the STOMP server.
        `name` - the destination name.

    - #### Object getDelegate()