activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ppr <activ...@philippe.prados.name>
Subject ActiveMQ in JBoss and remote connexion
Date Tue, 29 Apr 2008 14:23:19 GMT

I would like to use the RAR in JBoss, but with a remote ActiveMQ locate in
localhost:62626.

The activemq-ds.xml is :
<connection-factories>
   <!--Register JMS factory for key
jndi-web-test/jms/ActiveMQConnectionFactory-->
   <tx-connection-factory>
      <use-java-context>false</use-java-context>
     
<jndi-name>${jndi-prefix}jndi-web-test/jms/ActiveMQConnectionFactory</jndi-name>
      <xa-transaction/>
      <track-connection-by-tx/>
      <rar-name>activemq-ra.rar</rar-name>
     
<connection-definition>javax.jms.ConnectionFactory</connection-definition>
      <ServerUrl>tcp:localhost:62626</ServerUrl>
      <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>
</connection-factories>

The connexion use the local ActiveMQ in JBoss. Modifie the <ServerUrl/> with
what I want, can't change the connexion.

Is it possible to use the RAR integration to invoke a ActivieMQ present in
another host ?

Regards

Philippe
-- 
View this message in context: http://www.nabble.com/ActiveMQ-in-JBoss-and-remote-connexion-tp16961285s2354p16961285.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message