Announcement Announcement Module
Collapse
No announcement yet.
MessagingTemplate Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • MessagingTemplate

    Hello,
    I just recently started working with spring-flex and can't figure out this simple problem.

    I have messagebroker and defaultTemplate defined as:
    Code:
    	<flex:message-broker>
    		<flex:message-service default-channels="amf-http-service" />
    	</flex:message-broker>
    	
    	<bean id="defaultMessageTemplate" class="org.springframework.flex.messaging.MessageTemplate" />
    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.

    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.

    Thanks!
Working...
X