activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Galea <mmga...@gmail.com>
Subject Firewall ports
Date Thu, 06 May 2010 16:51:42 GMT

Hi there, 

I have two machines which have ports 12004 and 12010 open.  I have a process
which connects to an activemq server (Machine 1) on port 12004 but I want
that server to reply back to Machine 2 on port 12010.   The reply ports back
from the server are randomly selected and I want this to be 12010
specifically.  This is similar to the OpenMQ setting
-Dimq.jms.tcp.port=12010.  

Is there a way to do this?

I have checked on the site and found this page: 

http://activemq.apache.org/how-do-i-define-a-local-address-and-local-port-for-tcp-or-ssl.html

Is this related? Do I set this in the spring configuration or on the
transport connectors?

        <transportConnectors>
            <transportConnector name="openwire"
uri="tcp://0.0.0.0:12004/0.0.0.0:12010"/>
        </transportConnectors>

Both of these have failed :( I would appreciate if someone could shed some
light on this problem.  

Thanks, 

Mark



-- 
View this message in context: http://old.nabble.com/Firewall-ports-tp28476565p28476565.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message