[jbossts-issues] [JBoss JIRA] (JBTM-2458) Think of the possibility to improve Compensations API with lambdas

Gytis Trikleris (JIRA) issues at jboss.org
Fri Jul 31 05:47:04 EDT 2015

    [ https://issues.jboss.org/browse/JBTM-2458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13094555#comment-13094555 ] 

Gytis Trikleris commented on JBTM-2458:

One of the Tom's suggestions during the Narayana f2f:
BusinessLogic foo = () -> collectionWrapper.updateOne();

foo(); // annotations on it


> Think of the possibility to improve Compensations API with lambdas
> ------------------------------------------------------------------
>                 Key: JBTM-2458
>                 URL: https://issues.jboss.org/browse/JBTM-2458
>             Project: JBoss Transaction Manager
>          Issue Type: Task
>          Components: TXFramework
>            Reporter: Gytis Trikleris
>            Assignee: Gytis Trikleris
>            Priority: Minor
>             Fix For: 5.next
> Emmanuel suggested to reduce verbosity in Compensations API by making it possible to use lambdas for handler implementation.
> We should try to think of the best API changes to introduce that.
> We could rewrite MongoDB quickstart to make it easier to visualise the difference.

This message was sent by Atlassian JIRA

More information about the jbossts-issues mailing list