I am trying to get my service beans scoped as request
<bean id = "aFlexServiceBeanExported" class = "org.springframework.flex.messaging.remoting.FlexR emotingServiceExporter"
scope="request">
<property name = "messageBroker" ref = "mySpringManagedMessageBroker"/>
<property name = "service" ref = "aServiceBean"/>
</bean>
aServiceBeanscope is prototype.
If you don't use a scope spring will configure aFlexServiceBeanExported as a singleton. But for some reason i am not getting new objects from flex if call the service more than once. aServiceBean acting like a session based ojbect.
So i changed the aFlexServiceBeanExported to request based. Which nothing worked after that.
Any one know of a way to make the actual services that the exporter wraps to be request based?
thanks!


Reply With Quote
