Skip to content

Commit

Permalink
Change jmsRealm deprecation text (#2581)
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsm5 committed Jan 3, 2022
1 parent eecafa6 commit cab220f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/issue-report.md
Expand Up @@ -7,7 +7,7 @@ assignees: ''

---

**❗ please do not add sensitive infomation in issues, you can provide extra information via email using issue number as reference ❗**
**❗ please do not add sensitive information in issues, you can provide extra information via email using issue number as reference ❗**

**Describe the issue**
A clear and concise description of what the issue is.
Expand Down
Expand Up @@ -202,7 +202,7 @@ public void iterateOverStatistics(StatisticsKeeperIterationHandler hski, Object

@Override
@Deprecated
@ConfigurationWarning("Please use attribute dataSourceName instead")
@ConfigurationWarning("We discourage the use of jmsRealms for datasources. To specify a datasource other then the default, use the datasourceName attribute directly, instead of referring to a realm")
public void setJmsRealm(String jmsRealmName) {
super.setJmsRealm(jmsRealmName); //super.setJmsRealm(...) sets the jmsRealmName only when a realm is found
if(StringUtils.isEmpty(getJmsRealmName())) { //confirm that the configured jmsRealm exists
Expand Down
Expand Up @@ -146,7 +146,7 @@ public String getPhysicalDestinationName() {
}

@Deprecated
@ConfigurationWarning("Please use attribute dataSourceName instead")
@ConfigurationWarning("We discourage the use of jmsRealms for datasources. To specify a datasource other then the default, use the datasourceName attribute directly, instead of referring to a realm")
public void setJmsRealm(String jmsRealmName) {
querySender.setJmsRealm(jmsRealmName);
}
Expand Down

0 comments on commit cab220f

Please sign in to comment.