activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vanyatka <ibalas...@gmail.com>
Subject Specifying wire formats in activemq-jms-ds.xml (JBoss connection factory)
Date Tue, 21 Oct 2008 11:50:32 GMT

Hi,

I'd like to configure amq wire formats from JBoss according to 
http://activemq.apache.org/configuring-wire-formats.html

Here is the datasource file that resides in jboss deploy directory.
Is that correct to append wire configuration options into the ServerUrl tag?

activemq-jms-ds.xml =====
   <tx-connection-factory>
      <jndi-name>activemq/QueueConnectionFactory</jndi-name>
      <xa-transaction/>
      <track-connection-by-tx/>
      <rar-name>activemq-rar-5.1.0.rar</rar-name>
     
<connection-definition>javax.jms.QueueConnectionFactory</connection-definition>
     
<ServerUrl>tcp://broker.domain:61616?wireFormat.maxInactivityDuration=0</ServerUrl>
      <!--
      <UserName>sa</UserName>
      <Password></Password>
      -->
      <min-pool-size>1</min-pool-size>
      <max-pool-size>200</max-pool-size>
      <blocking-timeout-millis>30000</blocking-timeout-millis>
      <idle-timeout-minutes>3</idle-timeout-minutes>
   </tx-connection-factory>

-- 
View this message in context: http://www.nabble.com/Specifying-wire-formats-in-activemq-jms-ds.xml-%28JBoss-connection-factory%29-tp20088592p20088592.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message