Bug 5928 - Future error after OutboundQueueEntry.java failed
In case that OutboundQueueEntry has failed and after that is called
commit again on the same "entry" (completed entry) with callback, on this
callback was never called onFailure.
- try to store last OutboundQueueErorr
- if commit called on completed entry and it has a callback send onFailure to the callback
- added test for entire class
Change-Id: Ie347811ac6dc2c95d58ad49bbf2aa4d69033b33c
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>