I am trying out federation example that is involving brokers on different
machines. I am able to establish connection using core protocols via TCP
however not able to make same thing with HTTP protocol. 

According to documentation it is mentioned that broker identifies the HTTP
request and handles automatically but it does't seem to work.

I have the environment as below 

          Broker 1  --> Load balancer (accepts http request on port 80) --
broker 2

How do we configure Connector and Acceptor to handle HTTP requests ? I tried
with multiple combinations but couldn't succeed 

Broker 1 
..
   <connectors>
         <connector
name="eu-west-1-connector">tcp://broker2Hostname:80</connector>
    </connectors>
    
     <acceptors>
         <acceptor
name="netty-acceptor">tcp://localhost:80?httpEnabled=true</acceptor>
      </acceptors>
..

Broker 2 
..
   <connectors>
         <connector
name="eu-east-1-connector">tcp://broker1Hostname:80</connector>
    </connectors>
    
     <acceptors>
         <acceptor
name="netty-acceptor">tcp://localhost:80?httpEnabled=true</acceptor>
      </acceptors>
..

Basically I am looking for following questions 
1) Does federation support HTTP protocol if so 
2) How to configure the Connector and Acceptor for achieving same.

Thanks in advance for response.



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Reply via email to