Hi,
I'm wondering about something.

It seems I can use system props in a jdbc resource in tomee.xml, but it
seems it's not working for jms resources.

eks
<Resource id="MyDS" type="DataSource">
        JdbcDriver      = com.microsoft.sqlserver.jdbc.SQLServerDriver
        JdbcUrl         = ${db.jdbc}
        UserName        = ${db.username}
        Password        = ${db.password}
        testOnBorrow    = true
        validationQuery = SELECT 1
        logSql          = true
    </Resource>

Is working fine, but:

<Resource id="MyResourceAdaptor" type="ActiveMQResourceAdapter">
        # Do not start the embedded ActiveMQ broker
        BrokerXmlConfig  =
        ServerUrl = tcp://activemq:61616
        Username = ${jms.user}
        Password = ${jms.password}
    </Resource>

is not.

Is this correct?

/hw



--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/tomee-xml-resources-and-system-properties-tp4678627.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to