Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

on-the-fly services and destinations?

Ray_Greenwell
Level 1
Level 1
Is it possible to create services and/or destinations on the
fly?



Specifically, I might want something where a client does a
RPC to create a new chat room. The name of the new destination is
returned from the RPC and then the client can start
producing/consuming on a destination id assigned at runtime.



I am just starting to look in to FDS and haven't been able to
determine this from the docs.
1 Accepted Solution
Ray_Greenwell
Correct answer by
Level 1
Level 1
3 Replies
Ray_Greenwell
Level 1
Level 1
Perhaps my question would be clearer in the reverse: is it
possible to have a data service that is not defined in the
appropriate service.xml file, but rather created by some server
class with a surprising name at runtime? Then it would also need to
be destroyed when I was done with it.
likn
Level 1
Level 1
I think someone discussed this on the flex coder mailing list



basically had to use the selector atribute in the messaging
classes to achieve something like what you want as all the
destinations had to be defined in the config xml files.
Ray_Greenwell
Correct answer by
Level 1
Level 1