[ESBJAVA-4992] ESB RabbitMQ sender cause message loss when broker restarts Created: 09/Jan/17  Updated: 16/Jan/17  Resolved: 16/Jan/17

Status: Resolved
Project: WSO2 ESB
Component/s: None
Affects Version/s: 4.9.0
Fix Version/s: 5.1.0

Type: Bug Priority: Normal
Reporter: Vinod Kavinda Assignee: Vinod Kavinda
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes
Affects Docs:
Yes

 Description   

While ESB keeps sending messages to RabbitMQ there can be a message loss when RabbitMQ restarts. This is expected behaviour in the way currently ESB RabbitMQ sender implemented and this can be fixed using an improvement by using RabbitMQ Confirms concept.



 Comments   
Comment by Vinod Kavinda [ 16/Jan/17 ]

Fixed in commit adcc36faad5c221ff7c23fd1222edd7f0e2000a5 by introducing RabbitMQ confirms with a new url parameter "rabbitmq.confirm.delivery=true".

Comment by Vinod Kavinda [ 16/Jan/17 ]

Requires an update to the RabbitMQ docs to add new parameter if required to enable this.





[ESBJAVA-4971] Throttling Mediator issue when Prohibit Time Period is used Created: 09/Dec/16  Updated: 15/Jan/17  Resolved: 15/Jan/17

Status: Resolved
Project: WSO2 ESB
Component/s: None
Affects Version/s: 4.9.0
Fix Version/s: 5.0.0

Type: Bug Priority: Normal
Reporter: Rukshan Chathuranga Assignee: Kevin Ratnasekera
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Test cases added: Not-applicable

 Description   

Throttle mediator continues to accepts throttling requests without considering ProhibitTimePeriod time period. Within the ProhibitTimePeriod Throttle mediator should reject throttling requests since given caller has already consumed the allocated quota for that particular unit time period. it is because process cleaning method clean throttle caller map without considering ProhibitTimePeriod at the first throttle request.



 Comments   
Comment by Kevin Ratnasekera [ 15/Jan/17 ]

Please note RoleBasedAccessRateController.java changes with following PR [1]
[1] https://github.com/wso2/wso2-synapse/commit/49582132b6b0e30f9e2b66ff3f2c96b58f6dc29d





Generated at Sun Jan 22 17:43:42 IST 2017 using JIRA 7.2.2#72004-sha1:9d5132893cc8c728a3601a9034a1f8547ef5c7be.