eclipse-ee4j / eclipse-ee4j/genericmessagingra

Resource adapter config-properties are inconsistent with GenericJMSRA's setters

Open
#37 5 comments 0 reactions 1 assignee Claimed by @glassfishrobot View on GitHub
Component: core ERR: Assignee Priority: Major Type: Bug
Dominant language
Java
Stars
2
Forks
5
PR merge metrics
No merged PRs in 30d

Description

The config-property entries in ra.xml are inconsistent with the setters in
com.sun.genericra.GenericJMSRA.

The values affected are:

* SupportsXA
* UseFirstXAForRedelivery

They are both defined as java.lang.String in ra.xml, but the setter is
setX(boolean b).

The JBoss (4.3.0) RAR deployer sets the value by calling
com.sun.genericra.GenericJMSRA.class.getMethod("setX", java.lang.String), and
fails with a "method not found" exception.

I suggest the setters in com.sun.genericra.GenericJMSRA take a java.lang.Boolean
parameter (not the native boolean), and the ra.xml file be updated accordingly.
#### Environment
Operating System: All
Platform: All
#### Affected Versions
[current]

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.