You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by vanyatka <ib...@gmail.com> on 2008/10/21 13:50:32 UTC

Specifying wire formats in activemq-jms-ds.xml (JBoss connection factory)

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.