]
RH Bugzilla Integration commented on WFLY-7202:
-----------------------------------------------
Tom Ross <tom.ross(a)redhat.com> changed the Status of [bug
generic-jms-ra's JmsMCFProperties.getSessionDefaultType returns
incorrect value for session type
------------------------------------------------------------------------------------------------
Key: WFLY-7202
URL:
https://issues.jboss.org/browse/WFLY-7202
Project: WildFly
Issue Type: Bug
Components: JMS
Affects Versions: 10.1.0.Final
Reporter: Tom Ross
Assignee: Tom Ross
The code snippet shows that the method returns wrong type.
{noformat}
public String getSessionDefaultType() {
if (type == JmsConnectionFactory.AGNOSTIC)
return "agnostic";
else if (type == JmsConnectionFactory.QUEUE)
return TOPIC_TYPE;
else
return QUEUE_TYPE;
}
{noformat}