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 |
reload()
Re-create the acceptor with the existing configuration values.
|
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.
|
void |
updateInterceptors(List<BaseInterceptor> incomingInterceptors,
List<BaseInterceptor> outgoingInterceptors)
This will update the list of interceptors for each ProtocolManager inside the acceptor.
|
isStarted, start, stop
String getName()
void pause()
void updateInterceptors(List<BaseInterceptor> incomingInterceptors, List<BaseInterceptor> outgoingInterceptors)
ClusterConnection getClusterConnection()
void setNotificationService(NotificationService notificationService)
notificationService
- the notification servicevoid setDefaultActiveMQPrincipal(ActiveMQPrincipal defaultActiveMQPrincipal)
boolean isUnsecurable()
IllegalStateException
- if false @setDefaultActiveMQPrincipalvoid reload()
Copyright © 2018 JBoss by Red Hat. All rights reserved.