The latest version of the Test Drive (included in the Spring BlazeDS 1.5.0.M2 distribution) shows an example of how this can be configured using a BeanPostProcessor. In particular, note this line in flex-servlet.xml:
Code:
<!-- This BeanPostProcessor adds the AmfHttpMessageConverter to the list of registered HttpMessageConverters -->
<bean id="amfInstaller" class="org.springframework.flex.samples.rest.HandlerAdapterPostProcessor"/>
and check out the source of HandlerAdapterPostProcessor. This saves you from having to manually provide full configuration for AnnotationMethodHandlerAdapter.
Jeremy Grelle
Staff Engineer, Web Products Team
SpringSource