Hi all,

AFAIU in Gateway nodes the <JMSConnectionDetails> in api-manager.xml
defines the connection details to the TM to listen to the JMS topic in
TM, to get the throttle decisions. The <ServiceURL> defined under that
is used to establish that connection initially.

<JMSConnectionDetails>
   (1)    <ServiceURL>tcp://[Traffic-Manager-host]:5673</ServiceURL>

Then under <JMSConnectionDetails> under <JMSConnectionParameters> we
are defining again the
<connectionfactory.TopicConnectionFactory> url, which is the actual
broker endpoint to listen to the topic.

<JMSConnectionDetails>
    .....

<JMSConnectionParameters>
...
   <connectionfactory.TopicConnectionFactory>
(2) amqp://admin:admin@clientID
/carbon?brokerlist='tcp://<Traffic-Manager-host>:5673?retries='5'%26connectdelay='50'
 </connectionfactory.TopicConnectionFactory>

Please correct me if my understanding is wrong.

But in that url also we are defining Traffic-Manager-Host and Port. So
what is the use of defining it again
here too?

And in our docs [1] under* Single Traffic Manager* (tab) under *Step
6.6 - Configure and start the Gateway *it is
guided to include both (1) and (2). But under *HA of Traffic Manager*
(tab) guide, the (1) is not mentioned to
configure. Is this something missing in the doc?

[1] 
https://docs.wso2.com/display/AM210/Deploying+WSO2+API-M+in+a+Distributed+Setup#DeployingWSO2API-MinaDistributedSetup-Step6.6-ConfigureandstarttheGateway


Regards,

Samitha





-- 
*Samitha Chathuranga*
*Software Engineer*, *WSO2 Inc.*
lean.enterprise.middleware
Mobile: +94715123761

[image: http://wso2.com/signature] <http://wso2.com/signature>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to