| Currently, one has to define a custom annotation in order to apply a custom type/property/routingKey/marker binder. This is a bit cumbersome, especially for binders that will only be applied once (type binders are likely to be in that case). Let's add built-in annotations so that users can reference their binder directly from the annotation mapping, e.g.:
@TypeBinding(binder = @TypeBinderRef(type = MyTypeBinder.class))
public class MyEntity {
@PropertyBinding(binder = @PropertyBinderRef(type = MyPropertyBinder.class))
private String myProperty;
}
|