You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please follow the below steps to reproduce the above mentioned issues.
Create 10 sample RabbitMQ proxy listeners
Update the MI v4.1.0 to update level 52
Setup a RabbitMQ v3.12.6 or v3.11.13
Enable RabbitMQ Listener configuration
Deploy above created RabbitMQ proxy listeners
Expected behaviour:
should be able to deploy all the RabbitMQ proxy listeners without any issue
If the RabbitMQ proxy listeners were in separate CAR files(such as 5 CARs each CAR has 2 RabbitMQ proxy listeners) all the CAR files should be deployed
Current behaviour:
only 8 RabbitMQ proxy listeners will be deployed
If the RabbitMQ proxy listeners were in separate CAR files(such as 5 CARs each CAR has 2 RabbitMQ proxy listeners) then only 4 CARs will be deployed
Thank you,
Pasindu G.
The text was updated successfully, but these errors were encountered:
…oxies
After reviewing the Axis2 Transport code, it became evident that maintaining
a shared connection pool is unnecessary.This is because for every deployed
Listener Proxy, a new ServiceTaskManager is instantiated through RabbitMQEndpoint.
So for each Proxy a unique instance of ServiceTaskManager is available
and the Connection is hold by ServiceTaskManager.
So parallelization of connections through a pool is not needed at this
level since parrellization is happen at MessageListenerTask (inner class of ServiceTaskManager)
Here also we no longer need to implement caching or pooling
since each MessageListenerTask has its own channel created on the connection
of ServiceTaskManager and RabbitMQ supports creating multiple channels over a
single connection. This is one of the design choices of the RabbitMQ protocol, AMQP.
Therefore, by this I changed the design to hand over connection management to reside within
the ServiceTaskManager rather than for each STM having a same shared connection pool.
Fixes: wso2#335
Description:
Found below issues in Axis2 RabbitMQ Transport,
Steps to reproduce:
Please follow the below steps to reproduce the above mentioned issues.
Expected behaviour:
Current behaviour:
Thank you,
Pasindu G.
The text was updated successfully, but these errors were encountered: