Skip to content

Conversation

cescoffier
Copy link
Member

  • Rework the emitter support
  • Update the Reactive Messaging version and Axle client version
  • Update documentation (ConsumeEvent.blocking, new axle method)

@cescoffier cescoffier added this to the 0.13.0 milestone Apr 4, 2019
@cescoffier cescoffier requested a review from mkouba April 4, 2019 07:26
@cescoffier
Copy link
Member Author

@mkouba Code updated.

@cescoffier cescoffier requested a review from mkouba April 4, 2019 09:29
.asClass()
.methods()) {
ClassInfo ci = bean.getTarget()
.orElseThrow(() -> new IllegalStateException("Target expected")).asClass();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If bean.isClassBean()==true the target is never empty.

}
}

for (FieldInfo field : ci.fields()) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, this means that we only support field injection. In fact, we can simply iterate over all injection points:

for (InjectionPointInfo injectionPoint : validationContext.get(Key.INJECTION_POINTS)) {
   // TODO
}

I'll try to update this PR in a moment...

@mkouba
Copy link
Contributor

mkouba commented Apr 4, 2019

@cescoffier Pls review my updates...

@cescoffier cescoffier merged commit 1815e8d into quarkusio:master Apr 4, 2019
@cescoffier cescoffier deleted the features/work-on-emitter branch April 4, 2019 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants