spring-framework / org.springframework.jms.connection / UserCredentialsConnectionFactoryAdapter / createTopicConnection

createTopicConnection

fun createTopicConnection(): TopicConnection

Determine whether there are currently thread-bound credentials, using them if available, falling back to the statically specified username and password (i.e. values of the bean properties) else.

See Also
#doCreateTopicConnection

open fun createTopicConnection(username: String, password: String): TopicConnection

Delegate the call straight to the target TopicConnectionFactory.