Thanks so much for your reply. I understand the idea but i can't get it
works. I try to explain my configuration:

Ship Side
----------

1) broker A: configuration <amq:networkConnector userName="name"
password="password"  name="brokerOffice" duplex="true" 
brokerName="brokerOffice" dispatchAsync="true" prefetchSize="1"
conduitSubscriptions="true" decreaseNetworkConsumerPriority="false"
uri="masterslave:(tcp://test1:61611,tcp://test2:61611)"/>

<amq:transportConnectors>
                <amq:transportConnector name="openwire" 
uri="tcp://broker.ship3:61616" />
</amq:transportConnectors>

2) Consumer B: configuration: <bean id="jmsConnectionFactoryConsumer"
                        class="org.apache.activemq.ActiveMQConnectionFactory">
                <property name="brokerURL" value="tcp://broker.ship3:61616" />
                <property name="userName" value="name" />
                <property name="password" value="password" />
        </bean>

3) Publisher C: configuration: <bean id="jmsConnectionFactory"
                        class="org.apache.activemq.ActiveMQConnectionFactory">
                <property name="brokerURL" value="tcp://broker.ship3:61616" />
                <property name="userName" value="name" />
                <property name="password" value="password" />
        </bean>


On the other side, on Office Side:
-------------------------------------

4) Broker D: configuration: <amq:transportConnectors>
                        <amq:transportConnector name="openwire" 
uri="tcp://office1.it:61611" />
                </amq:transportConnectors>


5) Consumer E: configuration: <bean id="jmsConnectionFactoryConsumer"
                        class="org.apache.activemq.ActiveMQConnectionFactory">
                <property name="brokerURL" value="tcp://office1.it:61611" />
                <property name="userName" value="name" />
                <property name="password" value="password" />
        </bean>

6) Publisher F: configuration: <bean id="jmsConnectionFactory"
                        class="org.apache.activemq.ActiveMQConnectionFactory">
                <property name="brokerURL" value="tcp://office1.it:61611" />
                <property name="userName" value="name" />
                <property name="password" value="password" />
        </bean>


So Consumer and Publisher connect to their relative brokers and Broker A
(ship) connect to Broker D (Office).

So, where I've to put maxInactivityDuration=0 ? And where
?transport.readCheckTime=4000&amp;transport.initialDelayTime=30000&amp;transport.ignoreRemoteWireFormat=true
?

I tried to put
?transport.readCheckTime=4000&amp;transport.initialDelayTime=30000&amp;transport.ignoreRemoteWireFormat=true
 
on broker A but doesn't works.


Giovanni



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Connection-over-FleetBroadband-satellite-tp4672977p4672987.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to