Is it possible to use property substitution for the jboss-ejb-client.xml deployment descriptor in EAP6

Solution Verified - Updated -

Issue

  • Is it possible to use properties for the username of EJB client connections for remote-outbound-connections?
  • to being able to use properties inside the server for EJB remote connections to a cluster these properties must be resolved within the jboss-ejb-client.xml file in the application. But the following configuration will not resolve the properties
    <client-context>
        <ejb-receivers>
            ...
        </ejb-receivers>

        <clusters>
            <cluster name="ejb" security-realm="ejb-security-realm-1" username="${ejbuser}">
                ...
            </cluster>
        </clusters>
    </client-context>
</jboss-ejb-client>

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content