Ticket #375 (closed defect: fixed)
groovy router config resource@ofClass brakes on autowiring of the 'onSent' property
| Reported by: | mpo | Owned by: | bruno |
|---|---|---|---|
| Priority: | major | Milestone: | 0.4 |
| Component: | modules/kauri-routing | Version: | |
| Keywords: | Cc: | kauri-discuss@… |
Description
For derivatives of the new ServerResource? class the instantiation of resources through will fail when attempting to fill the onSent property.
ServerResource#setOnSent(Uniform)
No clue on how to solve yet.
AFAICS The property doesn't seem to have any @Autowire annotation associated, still the property is assumed to be a candidate for auto-wiring by spring?
Related: it looks like the 'routing-sample' is affected by this as well: try
http://localhost:8888/user/mpo
Change History
Note: See
TracTickets for help on using
tickets.
(In [1725]) fixes #375
The autodetect mode for autowiring is much too aggressive for what kauri should support.
Wiring properties marked as @Autowired should largely suffice and works with this new mode.