Thanks, I'll look into those suggestions. Regards Gary
On Wed, May 25, 2011 at 3:05 PM, Simon Laws <[email protected]> wrote: > Hi > > snip... > >> That worked great thanks. Only the store tutorial seems to be >> distributed with 1.6.2 - not sure if this was an oversight? > > The travel sample is distributed separately. See > http://tuscany.apache.org/sca-java-releases.html > >> >> Also one more quick question - is there a way to register interceptors >> with tuscany infrastructure, to be informed when messages are passed >> from bindings to components, components to components and back out >> again? Can't find any documentation on such a feature. >> > > There a couple of ways that come to mind immediately. You could write > policy to have interceptors inserted based on where the policy is > attached. See the logging policy as an example [1]. Or you could just > write a wire processor to add your interceptor to all wires. The > databinding framework uses this approach [2] > > [1] > http://svn.apache.org/repos/asf/tuscany/sca-java-1.x/trunk/modules/policy-logging/ > [2] > http://svn.apache.org/repos/asf/tuscany/sca-java-1.x/trunk/modules/core-databinding/src/main/java/org/apache/tuscany/sca/core/databinding/wire/DataBindingRuntimeWireProcessor.java > > Regards > > Simon > > -- > Apache Tuscany committer: tuscany.apache.org > Co-author of a book about Tuscany and SCA: tuscanyinaction.com >
