new DestinationFactory()
Interface implemented to customize the destination creation.
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. Returns:
the destination,null
to reject the creation.- Type
- Destination