Skip to content

Allow use of @Transformer on void-returning methods [INT-635] #4646

Closed
@spring-operator

Description

@spring-operator

Dave Syer opened INT-635 and commented

Add @Enricher as a special @Transformer that just mutates its payload. E.g.

@Enricher
public void enrich(Trade trade) {
  trade.setISIN(getISINFromCode(trade.getCode()));
}

The signature is always void.


Affects: 1.0.2

Issue Links:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions