I just recently started working with spring-flex and can't figure out this simple problem.
I have messagebroker and defaultTemplate defined as:
Now in my application i need 3 ways to communicate to flex. I need a general channel that polls every 10 seconds and is visible to everyone thats logged in. I also need a channel thats specific to a particular group (so only group members) which polls every 5 seconds and another channel that i can target specific users that polls every second.
<flex:message-service default-channels="amf-http-service" />
<bean id="defaultMessageTemplate" class="org.springframework.flex.messaging.MessageTemplate" />
Is this possible with MessageTemplate to redirect ouput to specific places like that? If so, can someone please explain. I have been searching everywhere but i cant figure out how to do this.