Announcement Announcement Module
Collapse
No announcement yet.
DefaultMessageListenerContainer ConnectionFactory Connection Authentication Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • DefaultMessageListenerContainer ConnectionFactory Connection Authentication

    Hi All,

    I am trying to figure out how I can specify the username / password to use when the DefaultMessageListenerContainer creates a connection from the ConnectionFactory supplied i.e:

    Code:
    topicConnectionFactory.createConnection("cn=user,ou=Users,ou=Application,dc=organization","password");
    Any help would be greatly appreciated.

  • #2
    Sorry for the noob question was as simple as extending the DefaultMessageListenerContainer and overiding the create connection method.

    Code:
    @Override
    protected Connection createConnection() throws JMSException;

    Comment

    Working...
    X