Results 1 to 2 of 2

Thread: DefaultMessageListenerContainer ConnectionFactory Connection Authentication

  1. #1
    Join Date
    Jul 2010
    Posts
    10

    Red face 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. #2
    Join Date
    Jul 2010
    Posts
    10

    Default

    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;

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •