INT-3972: Allow Disabling of Roster Subscriptions
JIRA: https://jira.spring.io/browse/INT-3972
This commit is contained in:
committed by
Gary Russell
parent
f660b6df2f
commit
69ee423ce2
@@ -52,6 +52,13 @@ The default name _xmppConnection_ will be used for this connection bean.
|
||||
If the XMPP Connection goes stale, reconnection attempts will be made with an automatic login as long as the previous connection state was logged (authenticated).
|
||||
We also register a `ConnectionListener` which will log connection events if the DEBUG logging level is enabled.
|
||||
|
||||
The `subscription-mode` initiates the Roster listener to deal with incoming subscriptions from other users.
|
||||
This functionality isn't always available for the target XMPP servers.
|
||||
For example GCM fully disables it.
|
||||
To switch off the Roster listener for subscriptions you should configure it with an empty string when using XML
|
||||
configuration: `subscription-mode=""`, or with `XmppConnectionFactoryBean.setSubscriptionMode(null)`
|
||||
when using Java Configuration.
|
||||
|
||||
[[xmpp-messages]]
|
||||
=== XMPP Messages
|
||||
|
||||
|
||||
Reference in New Issue
Block a user