camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomohisa Igarashi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-9585) camel-jms: Support dynamic username/password settings
Date Wed, 10 Feb 2016 15:12:18 GMT
Tomohisa Igarashi created CAMEL-9585:
----------------------------------------

             Summary: camel-jms: Support dynamic username/password settings
                 Key: CAMEL-9585
                 URL: https://issues.apache.org/jira/browse/CAMEL-9585
             Project: Camel
          Issue Type: Improvement
          Components: camel-jms
    Affects Versions: 2.17.0
            Reporter: Tomohisa Igarashi


Right now camel-jms sets username/password when it starts up here
https://github.com/apache/camel/blob/master/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsComponent.java#L864-L871

But it would be great if it can override the credentials per exchange dynamically via exchange
header or something like that.

The org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter has setCredentialsForCurrentThread()
method, which looks useful for this purpose.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message