[jboss-jira] [JBoss JIRA] (AS7-4773) Valid HornetQ activation configuration properties being rejected

Justin Bertram (JIRA) jira-events at lists.jboss.org
Fri May 11 11:31:17 EDT 2012


     [ https://issues.jboss.org/browse/AS7-4773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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/html/appserver-integration.html#d0e7704] 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-ra-rar/src/main/resources/ra.xml] 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

        


More information about the jboss-jira mailing list