Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-3731

The default ServiceBindingManager's sample bindings file should override JBoss Messaging's Connector configuration

XMLWordPrintable

      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>

              dandread1@redhat.com Dimitrios Andreadis
              ovidiu.feodorov_jira Ovidiu Feodorov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: