[
https://issues.apache.org/jira/browse/CAMEL-9585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen updated CAMEL-9585:
-------------------------------
Priority: Minor (was: Major)
> 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
> Reporter: Tomohisa Igarashi
> Priority: Minor
>
> 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)