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 (java.lang.Object delegate)`

  - ### Methods Summary

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

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class java.lang.Object` | `java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()`

- - ### Constructor Detail

    - #### DestinationFactory(java.lang.Object delegate)

  - ### Method Detail

    - #### Destination create(Vertx vertx, java.lang.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.

    - #### java.lang.Object getDelegate()