Description of problem: generic-jms-ra's JmsMCFProperties.getSessionDefaultType returns incorrect value for session type Actual code: public void setSessionDefaultType(String type) throws ResourceException { if (type.equals(QUEUE_TYPE)) this.type = 1; else if (type.equals(TOPIC_TYPE)) this.type = 2; else this.type = 0; } public String getSessionDefaultType() { if (this.type == 0) return "agnostic"; if (this.type == 1) { return TOPIC_TYPE; } return QUEUE_TYPE; } Expected code: public void setSessionDefaultType(String type) throws ResourceException { if (type.equals(QUEUE_TYPE)) this.type = 1; else if (type.equals(TOPIC_TYPE)) this.type = 2; else this.type = 0; } public String getSessionDefaultType() { if (this.type == 0) return "agnostic"; if (this.type == 1) { return QUEUE_TYPE; } return TOPIC_TYPE; }
Verified with EAP 6.4.12.CP.CR1
Retroactively bulk-closing issues from released EAP 6.4 cummulative patches.