-
Feature Request
-
Resolution: Done
-
Major
-
JBossAS-4.0.4.GA, JBossAS-4.0.5.CR1
-
None
The default ServiceBindingManager's sample bindings file (${jboss.home.url}/docs/examples/binding-manager/sample-bindings.xml) should contain <service-config> entries that would override JBoss Messaging's Connector configuration.
The <service-config> should be present in all <server> bindings ("ports-default", "ports-01", "ports-02", "ports-03").
Suggested <service-config> entries:
"ports-default":
<service-config name="jboss.messaging:service=Connector,transport=socket"
delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
<delegate-config>
<attribute name="InvokerLocator">socket://${jboss.bind.address}:4457/?dataType=jms&serializationtype=jms&timeout=0&leasePeriod=20000&socket.check_connection=false&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat</attribute>
</delegate-config>
<binding port="4457"/>
</service-config></server>
"ports-01":
<service-config name="jboss.messaging:service=Connector,transport=socket"
delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
<delegate-config>
<attribute name="InvokerLocator">socket://${jboss.bind.address}:4557/?dataType=jms&serializationtype=jms&timeout=0&leasePeriod=20000&socket.check_connection=false&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat</attribute>
</delegate-config>
<binding port="4557"/>
</service-config></server>
"ports-02":
<service-config name="jboss.messaging:service=Connector,transport=socket"
delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
<delegate-config>
<attribute name="InvokerLocator">socket://${jboss.bind.address}:4657/?dataType=jms&serializationtype=jms&timeout=0&leasePeriod=20000&socket.check_connection=false&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat</attribute>
</delegate-config>
<binding port="4657"/>
</service-config></server>
"ports-03":
<service-config name="jboss.messaging:service=Connector,transport=socket"
delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
<delegate-config>
<attribute name="InvokerLocator">socket://${jboss.bind.address}:4757/?dataType=jms&serializationtype=jms&timeout=0&leasePeriod=20000&socket.check_connection=false&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat</attribute>
</delegate-config>
<binding port="4757"/>
</service-config></server>