aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARIES-1880) Use builder instead of many parameters in subscribe
Date Fri, 04 Jan 2019 14:11:00 GMT

    [ https://issues.apache.org/jira/browse/ARIES-1880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16734161#comment-16734161
] 

Christian Schneider commented on ARIES-1880:
--------------------------------------------

[~alien11689] .. is this what you thought of ? https://github.com/apache/aries-journaled-events/pull/10

> Use builder instead of many parameters in subscribe
> ---------------------------------------------------
>
>                 Key: ARIES-1880
>                 URL: https://issues.apache.org/jira/browse/ARIES-1880
>             Project: Aries
>          Issue Type: Improvement
>          Components: Journaled Events
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Subscription subscribe(String topic, Position position, Seek seek, Consumer<Received>
callback);
> 4 Parameters which can partly be null is not a good idea. [~alien11689] proposed on the
list to use a DTO.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message