THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" targetNamespace="http://helloworld" xmlns:hw="http://helloworld" name="helloworld"> <component name="HelloWorldReferenceComponent"> <implementation.java class="org.apache.tuscany.sca.binding.jms.format.jmstextxml.helloworld.HelloWorldReferenceImpl" /> <reference name="helloWorldService1" > <binding.jms> <destination name="HelloWorldService1"/> <wireFormat.someCustomFormat interceptor="org.apache.tuscany.jms.MyMessageReferenceInterceptor"/> </binding.jms> </reference> </component> <component name="HelloWorldServiceComponent1"> <implementation.java class="org.apache.tuscany.sca.binding.jms.format.jmstextxml.helloworld.HelloWorldServiceImpl" /> <service name="HelloWorldService"> <binding.jms> <destination name="HelloWorldService1"/> <wireFormat.someCustomFormat interceptor="org.apache.tuscany.jms.MyMessageServiceInterceptor"/> </binding.jms> </service> </component> </composite> |
...
MyMessageReferenceInterceptor(Would be custom name)
Take OMElement service interface arguments from tuscany message and perform custom transformation to create JMSmessage
...
Take JMSTextMessage body and perform custom transformation create OMElement service interface arguments in tuscany message
Background Material
...