Ok...so GMail sent this before I was ready :-)

Let's try again.

There are two new receivers:
SpringInOnlyMessageReceiver
SpringInOutMessageReceiver

These use a simple services.xml like this:

<service name="springsample">
  <description>Sample Spring</description>
  <parameter name="SpringXmlURL" locked="false">spring.xml</parameter>
  <parameter name="SpringBeanName" locked="false">myBean1</parameter>
  <operation name="getComment">
    <messageReceiver  class="org.apache.axis2.receivers.SpringInOutMessageReceiver"/>
  </operation>
 </service>

The SpringXMLURL should probably be called something different. It points to a Spring XML file which is packaged in the AAR file.
The SpringBeanName points to the bean that is to be called.

I've attached the code which is just a scratch effort to look at, as well as a sample AAR file. I'll try and tidy it up if I get time :-)

Paul





On 10/7/05, Paul Fremantle <[EMAIL PROTECTED]> wrote:
Folks

I have prototyped some Spring support for Axis2. There are two new Receivers


Attachment: SpringMessageReceivers.jar
Description: application/java-archive

Attachment: springsample.aar
Description: Binary data

Reply via email to