[GLASSFISH-19442] @JMSConnectionFactoryDefinition ignores clientId attribute Created: 14/Dec/12 Updated: 16/Jan/13 Resolved: 16/Jan/13
|Reporter:||Nigel Deakin||Assignee:||Simon Meng|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
If I define a JMS connection factory using the following annotation:
then inject it into my session bean using:
use it to create a connection
and then report the clientid
I get a value of null printed,
However if I change the annotation to
then the correct clientId is displayed.
Both ways to configure clientId should work.
|Comment by Simon Meng [ 04/Jan/13 ]|
If clientId is defined in both annotation attribute and property list, which one takes effect?
|Comment by Nigel Deakin [ 04/Jan/13 ]|
I would suggest processing the "properties" attribute after the other attributes.
|Comment by Simon Meng [ 05/Jan/13 ]|
Fixed at revision 57972.
|Comment by saradak [ 11/Jan/13 ]|
Reopening the bug as test is still failing with latest glassfish build(b-71)after the fix.
CTS test(Client_checkClientIDOnDurableConnFactoryTest) failed at getting client id that is defined in the annotation for the
|Comment by Simon Meng [ 11/Jan/13 ]|
getClientID works fine with the reporter provide sample.
|Comment by Simon Meng [ 16/Jan/13 ]|
@JMSConnectionFactoryDefinition works fine. The root cause is in MQ, relative bug is