[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: JBM 2.0 destination config.

ataylor do-not-reply at jboss.com
Wed Jan 9 10:04:56 EST 2008


Should we have a seperate file for configuring Connection Factories in the same manner, say factories.xml? which would look like:

  | <factory-settings match="jboss.messaging.connectionfactory:service=MyExampleConnectionFactory">
  |          <client-id>MyClientID</client-id>
  |          <prefetch-size>150</prefetch-size>
  |          <default-temp-queue-full-size>200000</default-temp-queue-full-size>
  |          <default-temp-queue-page-size>2000</default-temp-queue-page-size>
  |          <default-temp-queue-down-cache-size>2000</default-temp-queue-down-cache-size>
  |          <dups-ok-batch-size>5000</dups-ok-batch-size>
  |          <supports-failover>false</supports-failover>
  |          <supports-load-balancing>false</supports-load-balancing>
  |          <load-balancing-factory>org.jboss.jms.client.plugin.RoundRobinLoadBalancingFactory</load-balancing-factory>
  |          <strict-tck>true</strict-tck>
  |          <disable-remoting-checks>false</disable-remoting-checks>
  |       </factory-settings>
  | 

also do we need to have defaults in the jbm-configuration.xml file if we have a catch all default in both these files?
e.g.

  | 
  | <queue-settings match="*">
  |       <clustered>false</clustered>
  |       <full-size>200000</full-size>
  |       <page-size>2000</page-size>
  |       <down-cache-size>2000</down-cache-size>
  |       <dlq>DLQ</dlq>
  |       <expiry-queue>ExpiryQueue</expiry-queue>
  |       <redelivery-delay>0</redelivery-delay>
  |       <max-size>-1</max-size>
  |       <max-delivery-attempts>10</max-delivery-attempts>
  |    </queue-settings>
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4118311#4118311

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4118311



More information about the jboss-dev-forums mailing list