camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomohisa Igarashi (JIRA)" <>
Subject [jira] [Commented] (CAMEL-9585) camel-jms: Support dynamic username/password settings
Date Tue, 16 Feb 2016 05:28:18 GMT


Tomohisa Igarashi commented on CAMEL-9585:

Ah that's a good point, it wouldn't work well with connection pool. So the usecase would be
limited even at producer side. And agree that it doesn't make sense on consumer side. The
user who want this are thinking about re-using the credentials used for SOAP inbound message,
but it's not a common usecase here as well.

> camel-jms: Support dynamic username/password settings
> -----------------------------------------------------
>                 Key: CAMEL-9585
>                 URL:
>             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
> 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

View raw message