Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Need help for configuring scaling and Network connectors in activemq

$
0
0
I need to implement scaling(Horizontal ,vertical) and broker to broker
communication network connectors in activemq .Actually we are using vm
broker url in the xml file. After I gone through activemq documents I came
to know peer protocol functionality is similar to vm protocol for
establishing network connectors correct me if my understanding is wrong.As
of now the following code I have in activemq.xml file along with this I need
to configure scaling and network connectors in the same file for peer
protocol.Especially I need to know what I need to configure under transport
connectors and network connectors in the xml file.can anyone help me to move
forward.

<bean id ="amqConnectionFactory"
class="org.apache.activemq.ActiveMQConnectionFactory">
<property name="brokerURL"
value="vm://brokerexample" />
<property name="userName" value="publisher" />
<property name="password" value="password" />
</bean>

<amq:broker start="true" persistent="true"
brokerName="brokerexample"
deleteAllMessagesOnStartup="false" >

<amq:transportConnectors>
<amq:transportConnector name="tcp"
uri="vm://brokerexample"/>
</amq:transportConnectors>
<amq:networkConnectors>
<amq:networkConnectors>
</amq:broker>
</beans>

Viewing all articles
Browse latest Browse all 5648

Trending Articles