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

createQueueConnection

fun createQueueConnection(): QueueConnection

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
#doCreateQueueConnection

open fun createQueueConnection(username: String, password: String): QueueConnection

Delegate the call straight to the target QueueConnectionFactory.