Re: [Dev] jndi.properties Production Recommended Configuration

2017-07-28 Thread Júnior
Thank you!

2017-07-28 6:40 GMT-03:00 Sashika Wijesinghe :

> Hi Junior,
>
> The connection details you have used are correct for failover scenarios.
> Refer [1] to get more information about MB failover handling.
>
>
> [1] https://docs.wso2.com/display/MB320/Handling+Failover
>
> On Thu, Jul 27, 2017 at 7:04 PM, Júnior  wrote:
>
>> Hi everyone,
>>
>> Is there any recommended jndi.properties connection setup for WSO2 MB
>> Connection?
>>
>> we have a connection string like this:
>>
>> connectionfactory.TopicConnectionFactory=amqp://admin:admin@
>> carbon/carbon?failover='roundrobin'='2'=
>> 'tcp://server1:5675?retries='5'='50';tcp://server2:5675?
>> retries='5'='50''
>>
>>
>> These MB are clustered, but sometimes I see that when it lost the
>> connection it simply is not able to reconnect.
>>
>> Is there any recommended settings to be used on this connection string
>> for a more reliable Broker connection?
>>
>> Thanks,
>> --
>> Francisco Ribeiro
>> *SCEA|SCJP|SCWCD|IBM Certified SOA Associate*
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Sashika WijesingheSoftware Engineer - QA Team*
> Mobile : +94 (0) 774537487
> sash...@wso2.com
>



-- 
Francisco Ribeiro
*SCEA|SCJP|SCWCD|IBM Certified SOA Associate*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] jndi.properties Production Recommended Configuration

2017-07-28 Thread Sashika Wijesinghe
Hi Junior,

The connection details you have used are correct for failover scenarios.
Refer [1] to get more information about MB failover handling.


[1] https://docs.wso2.com/display/MB320/Handling+Failover

On Thu, Jul 27, 2017 at 7:04 PM, Júnior  wrote:

> Hi everyone,
>
> Is there any recommended jndi.properties connection setup for WSO2 MB
> Connection?
>
> we have a connection string like this:
>
> connectionfactory.TopicConnectionFactory=amqp://admin:admin@carbon/carbon?
> failover='roundrobin'='2'='
> tcp://server1:5675?retries='5'='50';tcp://
> server2:5675?retries='5'='50''
>
>
> These MB are clustered, but sometimes I see that when it lost the
> connection it simply is not able to reconnect.
>
> Is there any recommended settings to be used on this connection string for
> a more reliable Broker connection?
>
> Thanks,
> --
> Francisco Ribeiro
> *SCEA|SCJP|SCWCD|IBM Certified SOA Associate*
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Sashika WijesingheSoftware Engineer - QA Team*
Mobile : +94 (0) 774537487
sash...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] jndi.properties Production Recommended Configuration

2017-07-27 Thread Júnior
Hi everyone,

Is there any recommended jndi.properties connection setup for WSO2 MB
Connection?

we have a connection string like this:

connectionfactory.TopicConnectionFactory=amqp://admin:admin@carbon
/carbon?failover='roundrobin'='2'=
'tcp://server1:5675?retries='5'='50
';tcp://server2:5675?retries='5'='50''


These MB are clustered, but sometimes I see that when it lost the
connection it simply is not able to reconnect.

Is there any recommended settings to be used on this connection string for
a more reliable Broker connection?

Thanks,
-- 
Francisco Ribeiro
*SCEA|SCJP|SCWCD|IBM Certified SOA Associate*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev