[
https://issues.apache.org/jira/browse/TUSCANY-1496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simon Nash updated TUSCANY-1496:
--------------------------------
Attachment: patch1
I am attaching the first stage patch for this change. With this patch,
callbacks no longer use callback runtime wires that connect references on the
service client side to services on the service provider side, running in
parallel with regular runtime wire connections. Instead, callbacks are treated
like forward calls and are made using regular runtime wires connecting
pseudo-references on the service provider side to pseudo-services on the
service client side.
This change is compatible with existing bindings that support callbacks (the
SCA binding provider and the Web Service binding provider). Beacuse callback
wires have been eliminated from the runtime, only the forward call path through
these bindings is now executed. I had to make a one-line change to the Web
Service binding to make the new code path work.
This patch is not the final implementation but a base on which the final
implementation can be built. The following work is still needed to complete
the callback support:
1. Fix some limitations and bugs that are present in the current code.
2. Remove old code that is no longer needed now that callback wires have been
eliminated.
As soon as this patch is committed, I will continue with this further work.
> Simplify the callback handling in the core by treating the callback as a
> special service on the reference side and a special reference on the service
> side
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: TUSCANY-1496
> URL: https://issues.apache.org/jira/browse/TUSCANY-1496
> Project: Tuscany
> Issue Type: Improvement
> Components: Java SCA Core Runtime
> Affects Versions: Java-SCA-Next
> Reporter: Raymond Feng
> Attachments: patch1
>
>
> Please see the ML thread @
> http://www.mail-archive.com/[email protected]/msg20555.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]