[jboss-svn-commits] JBL Code SVN: r33125 - labs/jbossesb/trunk/product/install.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Thu May 27 11:12:48 EDT 2010
Author: tcunning
Date: 2010-05-27 11:12:48 -0400 (Thu, 27 May 2010)
New Revision: 33125
Modified:
labs/jbossesb/trunk/product/install/bindings-as5.xslt
Log:
JBESB-3193
Change the bindings for AS5 so that we don't duplicate the port # in the ESB
settings section. The method that Ryan Hostetler suggested looked good to
me - tested it with multiple servers running.
Modified: labs/jbossesb/trunk/product/install/bindings-as5.xslt
===================================================================
--- labs/jbossesb/trunk/product/install/bindings-as5.xslt 2010-05-27 14:44:47 UTC (rev 33124)
+++ labs/jbossesb/trunk/product/install/bindings-as5.xslt 2010-05-27 15:12:48 UTC (rev 33125)
@@ -150,12 +150,30 @@
</xsl:text>
<xsl:comment> ************ ESB Standard Bindings configuration ************ </xsl:comment><xsl:text>
</xsl:text>
+ <bean name="NamingServiceBindingMetadata" class="org.jboss.services.binding.ServiceBindingMetadata"><xsl:text>
+ </xsl:text>
+ <property name="serviceName">jboss:service=Naming</property><xsl:text>
+ </xsl:text>
+ <property name="bindingName">Port</property><xsl:text>
+ </xsl:text>
+ <property name="port">1099</property><xsl:text>
+ </xsl:text>
+ <property name="description">The listening socket for the Naming service</property><xsl:text>
+ </xsl:text>
+ </bean><xsl:text>
+ </xsl:text>
+ <xsl:text>
+ </xsl:text>
<bean class="org.jboss.services.binding.ServiceBindingMetadata"><xsl:text>
</xsl:text>
<property name="serviceName">EsbPropertyService</property><xsl:text>
</xsl:text>
- <property name="port">1099</property><xsl:text>
+ <property name="port"><xsl:text>
+ </xsl:text>
+ <value-factory bean="NamingServiceBindingMetadata" method="getPort"/><xsl:text>
</xsl:text>
+ </property><xsl:text>
+ </xsl:text>
<property name="description">Will process jbossesb-properties using xslt to support substituion of configuration properties.</property><xsl:text>
</xsl:text>
<property name="serviceBindingValueSourceConfig"><xsl:text>
@@ -165,14 +183,18 @@
</property><xsl:text>
</xsl:text>
</bean><xsl:text>
-
</xsl:text>
-
+ <xsl:text>
+ </xsl:text>
<bean class="org.jboss.services.binding.ServiceBindingMetadata"><xsl:text>
</xsl:text>
<property name="serviceName">EsbJuddiRMIPropertyService</property><xsl:text>
</xsl:text>
- <property name="port">1099</property><xsl:text>
+ <property name="port"><xsl:text>
+ </xsl:text>
+ <value-factory bean="NamingServiceBindingMetadata" method="getPort"/><xsl:text>
+ </xsl:text>
+ </property><xsl:text>
</xsl:text>
<property name="description">Will process juddi-esb.xml using xslt to support substituion of configuration properties .</property><xsl:text>
</xsl:text>
More information about the jboss-svn-commits
mailing list