0
我正在使用Spring Flex project 1.5。我希望創建一個具有會話範圍的服務。Spring-Flex會話範圍服務
@Service("storeService")
@Scope(value = "session", proxyMode = ScopedProxyMode.INTERFACES)
@RemotingDestination(channels = { "my-amf" })
public class StoreService implements IStoreService {
當我訪問該服務時,我得到No destination
錯誤。
org.springframework.flex.core.DefaultExceptionLogger - The following exception occurred during request processing by the BlazeDS MessageBroker and will be serialized back to the client:
flex.messaging.MessageException: No destination with id 'storeService' is registered with any service.
我沒有任何問題,如果我不@Scope註解,但它是單不範圍會話範圍。我錯過了什麼?