public interface Acceptor extends HornetQComponent
Modifier and Type | Method and Description |
---|---|
ClusterConnection |
getClusterConnection() |
Map<String,Object> |
getConfiguration() |
boolean |
isUnsecurable()
Whether this acceptor allows insecure connections.
|
void |
pause()
Pause the acceptor and stop it from receiving client requests.
|
void |
setDefaultHornetQPrincipal(HornetQPrincipal defaultHornetQPrincipal)
Set the default security Principal to be used when no user/pass are defined, only for InVM
|
void |
setNotificationService(NotificationService notificationService)
Set the notification service for this acceptor to use.
|
isStarted, start, stop
void pause()
ClusterConnection getClusterConnection()
void setNotificationService(NotificationService notificationService)
notificationService
- the notification servicevoid setDefaultHornetQPrincipal(HornetQPrincipal defaultHornetQPrincipal)
boolean isUnsecurable()
java.lang.IllegalStatException
- if false @setDefaultHornetQPrincipalCopyright © 2018 JBoss by Red Hat. All rights reserved.