Scott Kurz wrote:
Hi Thiago,
I think your immediate problem would go away if you remove the
@EagerInit from the ServerImpl component impl.
It looks like our code injecting the callback proxy assumes it's on an
invocation path, while the @EagerInit causes this to be injected when
the ServerImpl component starts.
As far as whether this should be fixed or not.. I haven't given this
much thought, so would suggest you open a JIRA if you want to pursue
further.
Thanks,
Scott
The SCA 1.1 specs prohibit using callback injection with a COMPOSITE
scoped component. Instead, the SCA APIs must be used to obtain the
callback reference. Tuscany should raise an error in this case, and
it would be good to have a JIRA to track this.
Simon