[
https://issues.apache.org/jira/browse/ARTEMIS-4093?focusedWorklogId=827998&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-827998
]
ASF GitHub Bot logged work on ARTEMIS-4093:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 22/Nov/22 13:43
Start Date: 22/Nov/22 13:43
Worklog Time Spent: 10m
Work Description: hawkdshrh commented on code in PR #4292:
URL: https://github.com/apache/activemq-artemis/pull/4292#discussion_r1029344555
##########
artemis-ra/src/main/java/org/apache/activemq/artemis/ra/ActiveMQResourceAdapter.java:
##########
@@ -821,6 +821,10 @@ public void setUseTopologyForLoadBalancing(Boolean
useTopologyForLoadBalancing)
raProperties.setUseTopologyForLoadBalancing(useTopologyForLoadBalancing);
}
+ public Boolean getUseTopologyForLoadBalancing() {
+ return raProperties.isUseTopologyForLoadBalancing();
Review Comment:
Unfortunately, this is not recognized in some environments. Websphere
Application Server 8.x is one of these.
Issue Time Tracking
-------------------
Worklog Id: (was: 827998)
Time Spent: 1h (was: 50m)
> Expose properties and support resource adapter in J2EE environments
> -------------------------------------------------------------------
>
> Key: ARTEMIS-4093
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4093
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Reporter: Domenico Francesco Bruscino
> Priority: Major
> Time Spent: 1h
> Remaining Estimate: 0h
>
> Unfortunately there are some environment where these aren't working -
> Websphere App Server is one:
> {code:java}
> [6/29/22 17:51:32:342 PDT] 000002d6 J2CUtilityCla W J2CA0008W: Class
> org.apache.activemq.artemis.ra.ActiveMQRAManagedConnectionFactory used by
> resource jms/ArtemisConnectionFactory did not contain method setUserName.
> Processing continued.
> [6/29/22 17:51:32:343 PDT] 000002d6 J2CUtilityCla W J2CA0008W: Class
> org.apache.activemq.artemis.ra.ActiveMQRAManagedConnectionFactory used by
> resource jms/ArtemisConnectionFactory did not contain method setPassword.
> Processing continued.
> [7/15/22 15:35:05:928 PDT] 00000001 AdminObjectSe W J2CA0008W: Class
> org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory used by
> resource jms/ArtemisConnectionFactory did not contain method
> setUseTopologyForLoadBalancing. Processing continued.
> [7/15/22 14:13:28:968 PDT] 000000a7 SystemOut O 2022-07-15 14:13:28,927
> [tainer : 2] [THREAD1] [v:22.02.00] ERROR - Couldn't get messages from queue
> :java.lang.ClassCastException:
> org.apache.activemq.artemis.ra.ActiveMQRAConnectionFactoryImpl incompatible
> with javax.jms.ConnectionFactory
> java.lang.ClassCastException:
> org.apache.activemq.artemis.ra.ActiveMQRAConnectionFactoryImpl incompatible
> with javax.jms.ConnectionFactory
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)