[
https://issues.jboss.org/browse/AS7-4773?page=com.atlassian.jira.plugin.s...
]
Justin Bertram closed AS7-4773.
-------------------------------
Resolution: Done
So it looks like "UserName" is valid to set in ra.xml (for
org.hornetq.ra.HornetQResourceAdapter), but "user" is what should be used on the
MDB (for org.hornetq.ra.inflow.HornetQActivationSpec). I assumed they would be the same,
and maybe they should be. However, this doesn't look anymore like a bug in AS7 so
I'm closing the JIRA.
Valid HornetQ activation configuration properties being rejected
----------------------------------------------------------------
Key: AS7-4773
URL:
https://issues.jboss.org/browse/AS7-4773
Project: Application Server 7
Issue Type: Bug
Components: JMS
Affects Versions: 7.1.2.Final (EAP)
Reporter: Justin Bertram
Assignee: Jeff Mesnil
The [HornetQ
documentation|http://docs.jboss.org/hornetq/2.2.14.Final/user-manual/en/h...]
indicates that "UserName" is a valid name for an activation configuration
property. However, when deploying an MDB using {{@ActivationConfigProperty(propertyName =
"UserName", propertyValue = "guest")}} the server prints this:
{code}
WARN [org.jboss.ejb3] (MSC service thread 1-2) JBAS014105: ActivationConfigProperty
UserName will be ignored since it is not allowed by resource adapter: hornetq-ra
{code}
I've tried several different capitalization variations, but nothing worked. If I
specify {{@ActivationConfigProperty(propertyName = "user", propertyValue =
"guest")}} it works, but I don't understand why. The HornetQ
[
ra.xml|https://github.com/hornetq/hornetq/blob/master/hornetq-ra/hornetq-...]
clearly indicates that "UserName" should be used.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira