AMQ 7.8 : Password encryption fails in data-source-property for database-store
Issue
- In our broker.xml, we define a database-store using:
<data-source-properties>
<data-source-property key="driverClassName" value="oracle.jdbc.driver.OracleDriver"/>
<data-source-property key="url" value="{{ broker.connection_uri }}"/>
<data-source-property key="username" value="{{ broker.user }}"/>
<data-source-property key="password" value="{{ broker.password }}"/>
<data-source-property key="poolPreparedStatements" value="true"/>
</data-source-properties>
We have encrypted the DB password and attempted to start the broker but received an ORA error with invalid user/password. When we replaced the encrypted password with plain text, it appears to work.
Environment
- Red Hat AMQ
- 7.8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.