Class: DestinationFactory

vertx-stomp-js/destination_factory~ DestinationFactory

new DestinationFactory()

Interface implemented to customize the destination creation.
Source:

Methods

create(vertx, name) → {Destination}

Creates a destination for the given address.
Parameters:
Name Type Description
vertx Vertx the vert.x instance used by the STOMP server.
name string the destination name.
Source:
Returns:
the destination, null to reject the creation.
Type
Destination