RE: Can application code and interceptor/handler code in Tuscany communicate with each other via some context? (UNCLASSIFIED)

2011-02-04 Thread Yang, Gang CTR US USA
Classification: UNCLASSIFIED Caveats: NONE Hi, Raymond, I assume you are talking about future enhancement, which is not yet available in 1.6.x, right? I can see this would allow handlers to pass information into component implementation using Message as the vehicle with the help of the injectio

Re: Can application code and interceptor/handler code in Tuscany communicate with each other via some context? (UNCLASSIFIED)

2011-02-04 Thread Raymond Feng
Another idea to explore: 1) SCA already has the @Context annotation which allows the application code to be injected with certain context. Tuscany could potentially extend that to allow pluggable contexts. This could be similar to what JAX-RS does. for example: @Context private MyContext myC

RE: Can application code and interceptor/handler code in Tuscany communicate with each other via some context? (UNCLASSIFIED)

2011-02-04 Thread Yang, Gang CTR US USA
Classification: UNCLASSIFIED Caveats: NONE Response follows. Gang > -Original Message- > From: Simon Nash [mailto:n...@apache.org] > Sent: Friday, February 04, 2011 12:00 PM > To: dev@tuscany.apache.org > Subject: Re: Can application code and interceptor/handler code in > Tuscany communi

RE: Can application code and interceptor/handler code in Tuscany communicate with each other via some context? (UNCLASSIFIED)

2011-02-04 Thread Yang, Gang CTR US USA
Classification: UNCLASSIFIED Caveats: NONE Response follows. Gang > -Original Message- > From: Simon Laws [mailto:simonsl...@googlemail.com] > Sent: Friday, February 04, 2011 12:00 PM > To: dev@tuscany.apache.org > Subject: Re: Can application code and interceptor/handler code in > Tusca

Re: Can application code and interceptor/handler code in Tuscany communicate with each other via some context? (UNCLASSIFIED)

2011-02-04 Thread Simon Laws
> > However, the Java ThreadLocal class should enable you to do what you need. > You can add an object to Java thead-local state in your inbound handler, > access or update this object (or add more objects) in your application > code, and use the results in your outbound handler. > >  Simon And ma

Re: Can application code and interceptor/handler code in Tuscany communicate with each other via some context? (UNCLASSIFIED)

2011-02-04 Thread Simon Laws
On Fri, Feb 4, 2011 at 4:49 PM, Yang, Gang CTR US USA wrote: > Classification: UNCLASSIFIED > Caveats: NONE > > Response follows. > > Gang > >> -Original Message- >> From: Simon Nash [mailto:n...@apache.org] >> Sent: Friday, February 04, 2011 10:32 AM >> To: dev@tuscany.apache.org >> Subje

Re: Can application code and interceptor/handler code in Tuscany communicate with each other via some context? (UNCLASSIFIED)

2011-02-04 Thread Simon Nash
Yang, Gang CTR US USA wrote: Classification: UNCLASSIFIED Caveats: NONE > (cut) Thanks! It's clear now. I looked up RequestContext (don't know why I missed it earlier). It does not seem to support general state propagation - I can set/get arbitrary objects. Can this be opened up to allow arbi

RE: Can application code and interceptor/handler code in Tuscany communicate with each other via some context? (UNCLASSIFIED)

2011-02-04 Thread Yang, Gang CTR US USA
Classification: UNCLASSIFIED Caveats: NONE Response follows. Gang > -Original Message- > From: Simon Nash [mailto:n...@apache.org] > Sent: Friday, February 04, 2011 10:32 AM > To: dev@tuscany.apache.org > Subject: Re: Can application code and interceptor/handler code in > Tuscany communi

RE: Can application code and interceptor/handler code in Tuscany communicate with each other via some context? (UNCLASSIFIED)

2011-02-04 Thread Yang, Gang CTR US USA
Classification: UNCLASSIFIED Caveats: NONE Response follows - liked the ">" prefix styling. Gang > -Original Message- > From: Simon Nash [mailto:n...@apache.org] > Sent: Friday, February 04, 2011 10:40 AM > To: dev@tuscany.apache.org > Subject: Re: Can application code and interceptor/ha

RE: Can application code and interceptor/handler code in Tuscany communicate with each other via some context? (UNCLASSIFIED)

2011-02-04 Thread Yang, Gang CTR US USA
Classification: UNCLASSIFIED Caveats: NONE Thanks, Simon L. To further clarify what exactly is available, from your description, am I right in saying that the SAME object of type Message, which can carry ARBITRARY headers and not just predefined Subject (because I do need to pass objects, such

Re: Tuscany Meetup in London

2011-02-04 Thread ant elder
On Fri, Feb 4, 2011 at 12:46 PM, Florian MOGA wrote: > Hi, > I'm planning to volunteer at QCon London next month in order to be able to > attend the sessions and tutorials. The conference and tutorials take place > between 7-11 March. It would be great if we can have a Tuscany meetup (pub > meetin

Re: Can application code and interceptor/handler code in Tuscany communicate with each other via some context? (UNCLASSIFIED)

2011-02-04 Thread Simon Nash
Yang, Gang CTR US USA wrote: Classification: UNCLASSIFIED Caveats: NONE Response preceded by "GY:". Gang -Original Message- From: Simon Nash [mailto:n...@apache.org] Sent: Friday, February 04, 2011 6:17 AM To: dev@tuscany.apache.org Subject: Re: Can application code and interceptor/h

Re: Can application code and interceptor/handler code in Tuscany communicate with each other via some context? (UNCLASSIFIED)

2011-02-04 Thread Simon Nash
Simon Laws wrote: On Fri, Feb 4, 2011 at 11:17 AM, Simon Nash wrote: See responses below. I've removed older discussion to make this easier to follow. Simon Yang, Gang CTR US USA wrote: Classification: UNCLASSIFIED Caveats: NONE (cut) GY: The use case applies to SCA well. When a new serv

Re: Can application code and interceptor/handler code in Tuscany communicate with each other via some context? (UNCLASSIFIED)

2011-02-04 Thread Simon Laws
On Fri, Feb 4, 2011 at 11:17 AM, Simon Nash wrote: > See responses below.  I've removed older discussion to make this > easier to follow. > >  Simon > > Yang, Gang CTR US USA wrote: >> >> Classification: UNCLASSIFIED >> Caveats: NONE >> >> (cut) >> >> GY: The use case applies to SCA well. When a n

RE: Can application code and interceptor/handler code in Tuscany communicate with each other via some context? (UNCLASSIFIED)

2011-02-04 Thread Yang, Gang CTR US USA
Classification: UNCLASSIFIED Caveats: NONE Response preceded by "GY:". Gang -Original Message- From: Simon Nash [mailto:n...@apache.org] Sent: Friday, February 04, 2011 6:17 AM To: dev@tuscany.apache.org Subject: Re: Can application code and interceptor/handler code in Tuscany communica

Re: An issue with PolicyHandler extension framework - a bug or design flaw? (UNCLASSIFIED)

2011-02-04 Thread Simon Nash
See responses below. I've removed older discussion to make this easier to follow. Simon Yang, Gang CTR US USA wrote: Classification: UNCLASSIFIED Caveats: NONE (cut) > Thinking about this some more, I believe it's also possible for the policy handler to get outMC from inMC for the in-out

Tuscany Meetup in London

2011-02-04 Thread Florian MOGA
Hi, I'm planning to volunteer at QCon London next month in order to be able to attend the sessions and tutorials. The conference and tutorials take place between 7-11 March. It would be great if we can have a Tuscany meetup (pub meeting or hacking session) in one of the two adjacent weekends (mayb

Re: [VOTE] Release Tuscany SCA 2.0 Beta2 RC2

2011-02-04 Thread Florian MOGA
Could you let me know in what consists your process of reviewing a release candidate? Until now, I've performed a full build, ran the samples, checked for license headers. Haven't found any guidelines on the website or wiki. Are there any other checks you're doing on the source distribution? What a

Re: 2.0 Beta2 samples (was: [VOTE] Release Tuscany SCA 2.0 Beta2 RC2)

2011-02-04 Thread Florian MOGA
Deciding how to launch samples is tricky. If we're trying to sort out which is the easiest way to fire up the runtime, probably the tuscany maven plugin and the shell have an advantage. However, I think we should take into consideration the fact that probably the first step that users do with a sam

Re: Can application code and interceptor/handler code in Tuscany communicate with each other via some context? (UNCLASSIFIED)

2011-02-04 Thread Simon Nash
See responses below. I've removed older discussion to make this easier to follow. Simon Yang, Gang CTR US USA wrote: Classification: UNCLASSIFIED Caveats: NONE > (cut) GY: The use case applies to SCA well. When a new service is developed referencing other existing services. The authoriza

Re: An issue with Axis2 WS binding dispatcher - the dispatching mechanism does not support SOAP message body encryption (UNCLASSIFIED)

2011-02-04 Thread Simon Nash
See responses below. I've removed older discussion to make this easier to follow. Simon Yang, Gang CTR US USA wrote: Classification: UNCLASSIFIED Caveats: NONE My response prefixed with "GY:". > (cut) > I think there's a fairly simple solution for this. The Axis2 MessageContext has a s

Re: 2.0 Beta2 samples (was: [VOTE] Release Tuscany SCA 2.0 Beta2 RC2)

2011-02-04 Thread Simon Laws
On Fri, Feb 4, 2011 at 10:36 AM, Florian MOGA wrote: > Hi, > I've decided to open a separate thread for this discussion as this topic is > big enough. I've tried all the samples from 2.0-beta2 rc2 and here are my > findings: > - sample-scdl-include-contribution (fails to load contribution when usi

[jira] Updated: (TUSCANY-3833) launcher-embedded-jse integration test hanging intermittently on RMI contribution

2011-02-04 Thread Florian Moga (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-3833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Florian Moga updated TUSCANY-3833: -- Fix Version/s: Java-SCA-2.x > launcher-embedded-jse integration test hanging intermittently o

[jira] Created: (TUSCANY-3833) launcher-embedded-jse integration test hanging intermittently on RMI contribution

2011-02-04 Thread Florian Moga (JIRA)
launcher-embedded-jse integration test hanging intermittently on RMI contribution - Key: TUSCANY-3833 URL: https://issues.apache.org/jira/browse/TUSCANY-3833 Project: Tus

2.0 Beta2 samples (was: [VOTE] Release Tuscany SCA 2.0 Beta2 RC2)

2011-02-04 Thread Florian MOGA
Hi, I've decided to open a separate thread for this discussion as this topic is big enough. I've tried all the samples from 2.0-beta2 rc2 and here are my findings: - sample-scdl-include-contribution (fails to load contribution when using mvn tuscany:run, is there another way to start the runtime

Re: [VOTE] Release Tuscany SCA 2.0 Beta2 RC2

2011-02-04 Thread Florian MOGA
Ok, then Iet's open a ticket so we can keep track of it. At the moment I'm receiving 502 Bad Gateway for https://issues.apache.org/jira/... On Fri, Feb 4, 2011 at 10:51 AM, ant elder wrote: > On Wed, Feb 2, 2011 at 6:42 PM, Florian MOGA wrote: > > I've done a full build with an empty maven repo

Re: [VOTE] Release Tuscany SCA 2.0 Beta2 RC2

2011-02-04 Thread ant elder
On Wed, Feb 2, 2011 at 6:42 PM, Florian MOGA wrote: > I've done a full build with an empty maven repo and I'm still able to > reproduce most of the time the hanging thread problem. I've also managed to > reproduce it in Eclipse in debug mode but couldn't find the root cause as > all I can see is t