Package io.vertx.ext.stomp
Interface DestinationFactory
-
public interface DestinationFactoryInterface implemented to customize the destination creation.- Author:
- Clement Escoffier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Destinationcreate(Vertx vertx, String name)Creates a destination for the given address.
-
-
-
Method Detail
-
create
Destination create(Vertx vertx, String name)
Creates a destination for the given address.- Parameters:
vertx- the vert.x instance used by the STOMP server.name- the destination name.- Returns:
- the destination,
nullto reject the creation. - See Also:
Destination.topic(Vertx, String),Destination.queue(Vertx, String)
-
-