Package io.vertx.ext.stomp
Interface DestinationFactory
-
public interface DestinationFactory
Interface implemented to customize the destination creation.- Author:
- Clement Escoffier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Destination
create(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,
null
to reject the creation. - See Also:
Destination.topic(Vertx, String)
,Destination.queue(Vertx, String)
-
-