How can we configure "connector-ref" to be configured using a system property value name instead of a fix name?
Issue
- Please see the given sample configuration below. What I was trying to do was to change our configuration file to use a variable called "netty.connector.name" for connector-ref connector-name instead of a fix name. it does not work. it seems that the Mesasging subsystem expects a fix name instead of a property we can set with -D" java option.
Let me know if there is a way to force the connector to be configured this way.
<connection-factory name="MyLocalConnectionFactory">
<connectors>
<connector-ref connector-name="${netty.connector.name}"/>
</connectors>
<entries>
<entry name="java:jboss/exported/MyLocalConnectionFactory"/>
</entries>
</connection-factory>
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.4.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
