public interface Acceptor extends ActiveMQComponent
Modifier and Type | Method and Description |
---|---|
ClusterConnection |
getClusterConnection() |
Map<String,Object> |
getConfiguration() |
String |
getName()
The name of the acceptor used on the configuration.
|
boolean |
isUnsecurable()
Whether this acceptor allows insecure connections.
|
void |
pause()
Pause the acceptor and stop it from receiving client requests.
|
void |
setDefaultActiveMQPrincipal(ActiveMQPrincipal defaultActiveMQPrincipal)
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
String getName()
void pause()
ClusterConnection getClusterConnection()
void setNotificationService(NotificationService notificationService)
notificationService
- the notification servicevoid setDefaultActiveMQPrincipal(ActiveMQPrincipal defaultActiveMQPrincipal)
boolean isUnsecurable()
IllegalStateException
- if false @setDefaultActiveMQPrincipalCopyright © 2016 JBoss by Red Hat. All rights reserved.