activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <christian.po...@gmail.com>
Subject Re: Connection over FleetBroadband (satellite)
Date Fri, 18 Oct 2013 19:01:43 GMT
open a transportConnector on Broker D specific for the network connections
from the ship. Put maxInactivityDuration on that connector.

For the other configs, put those on the network of brokers connector (in
Broker A) masterslave:(X,X)??options=here




On Fri, Oct 18, 2013 at 7:26 AM, gio2375 <gio2375@hotmail.com> wrote:

> 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&transport.initialDelayTime=30000&transport.ignoreRemoteWireFormat=true
> ?
>
> I tried to put
>
> ?transport.readCheckTime=4000&transport.initialDelayTime=30000&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.
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message