Skip to content

Can not use method ReactiveElasticsearchTemplate.execute because ReactiveElasticsearchTemplate.ClientCallback is not public #2814

Closed
@kevinat

Description

@kevinat
org.springframework.data.elasticsearch.client.elc.ReactiveElasticsearchTemplate#execute(ReactiveElasticsearchTemplate.ClientCallback<Publisher<T>> callback)

Using this method cause compile error:

'org.springframework.data.elasticsearch.client.elc.ReactiveElasticsearchTemplate.ClientCallback' is not public in 'org.springframework.data.elasticsearch.client.elc.ReactiveElasticsearchTemplate'. Cannot be accessed from outside package

I noticed we move ClientCallback interface from interface ReactiveElasticsearchOperations into class ReactiveElasticsearchTemplate, but it seems we forgot adding the public modifier for the inner interface in class.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions